If you use this model, please cite the following paper:
@inproceedings {yang-puli,
title = {Jönnek a nagyok! BERT-Large, GPT-2 és GPT-3 nyelvmodellek magyar nyelvre},
booktitle = {XIX. Magyar Számítógépes Nyelvészeti Konferencia (MSZNY 2023)},
year = {2023},
publisher = {Szegedi Tudományegyetem, Informatikai Intézet},
address = {Szeged, Hungary},
author = {Yang, Zijian Győző and Dodé, Réka and Ferenczi, Gergő and Héja, Enikő and Jelencsik-Mátyus, Kinga and Kőrös, Ádám and Laki, László János and Ligeti-Nagy, Noémi and Vadász, Noémi and Váradi, Tamás},
pages = {247--262}
}
Usage
from transformers import GPT2Tokenizer, GPT2Model
tokenizer = GPT2Tokenizer.from_pretrained('NYTK/PULI-GPT-2')
model = GPT2Model.from_pretrained('NYTK/PULI-GPT-2')
text = "Replace me by any text you'd like."
encoded_input = tokenizer(text, return_tensors='pt')
output = model(**encoded_input)
Usage with pipeline
from transformers import pipeline
prompt = "Elmesélek egy történetet a nyelvtechnológiáról."
generator = pipeline(task="text-generation", model="NYTK/PULI-GPT-2")
print(generator(prompt)[0]["generated_text"])
Runs of NYTK PULI-GPT-2 on huggingface.co
457
Total runs
0
24-hour runs
8
3-day runs
14
7-day runs
222
30-day runs
More Information About PULI-GPT-2 huggingface.co Model
PULI-GPT-2 huggingface.co is an AI model on huggingface.co that provides PULI-GPT-2's model effect (), which can be used instantly with this NYTK PULI-GPT-2 model. huggingface.co supports a free trial of the PULI-GPT-2 model, and also provides paid use of the PULI-GPT-2. Support call PULI-GPT-2 model through api, including Node.js, Python, http.
PULI-GPT-2 huggingface.co is an online trial and call api platform, which integrates PULI-GPT-2's modeling effects, including api services, and provides a free online trial of PULI-GPT-2, you can try PULI-GPT-2 online for free by clicking the link below.
NYTK PULI-GPT-2 online free url in huggingface.co:
PULI-GPT-2 is an open source model from GitHub that offers a free installation service, and any user can find PULI-GPT-2 on GitHub to install. At the same time, huggingface.co provides the effect of PULI-GPT-2 install, users can directly use PULI-GPT-2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.