from transformers import pipeline
context = "A kedd hajnalban elhunyt Somló Tamásról emlékezett meg zenésztársa, Presser Gábor. Somló Tamás nagyszerű egyénisége, énekhangja és éneklési stílusa egészen egyedülálló volt' – fogalmazott. '1968 lehetett, amikor először találkoztunk, gyakorlatilag váltottuk egymást az Omega együttesben. Tamás akkor indult el az artista pályán, miközben zenélt is. Az Omegában csak néhányszor játszottunk együtt, miután én beléptem, ő éveket töltött külföldön artistaként, aztán összefutottunk az LGT-ben, ennek már 43 éve' - idézte fel Presser Gábor. Somló Tamás színpadi jelenléte nagy húzóerőt jelentett a zenekar számára és zenészi képességeit mutatta az is, hogy amikor Frenreisz Károly helyett belépett az LGT-be, néhány hét alatt megtanult basszusgitározni."
question = "'Nem ismerek olyan embert, aki <mask> haragudott volna. Életét úgy fejezte be, ahogyan élt: utolsó fellépésére, amely talán egy hónappal ezelőtt lehetett, már nagyon nehezen tudott csak elmenni, de nem mondta le, mert Pécsett egy jótékonysági koncerten játszott beteg gyerekeknek' - mondta Presser Gábor."
text2text_generator = pipeline(task="text2text-generation", model="NYTK/reading-comprehension-hurc-mt5-hungarian")
print(text2text_generator(f"question: {question} context: {context}")[0]["generated_text"])
Citation
If you use this model, please cite the following paper:
@article {yang-ligeti-rc,
title = {Building machine reading comprehension model from scratch},
journal = {Annales Mathematicae et Informaticae},
year = {2023},
author = {Yang, Zijian Győző and Ligeti-Nagy, Noémi},
volume = {57},
pages = {107–-123},
doi = {10.33039/ami.2023.03.001}
}
Runs of NYTK reading-comprehension-hurc-mt5-hungarian on huggingface.co
19
Total runs
0
24-hour runs
-1
3-day runs
-4
7-day runs
5
30-day runs
More Information About reading-comprehension-hurc-mt5-hungarian huggingface.co Model
More reading-comprehension-hurc-mt5-hungarian license Visit here:
reading-comprehension-hurc-mt5-hungarian huggingface.co is an AI model on huggingface.co that provides reading-comprehension-hurc-mt5-hungarian's model effect (), which can be used instantly with this NYTK reading-comprehension-hurc-mt5-hungarian model. huggingface.co supports a free trial of the reading-comprehension-hurc-mt5-hungarian model, and also provides paid use of the reading-comprehension-hurc-mt5-hungarian. Support call reading-comprehension-hurc-mt5-hungarian model through api, including Node.js, Python, http.
reading-comprehension-hurc-mt5-hungarian huggingface.co is an online trial and call api platform, which integrates reading-comprehension-hurc-mt5-hungarian's modeling effects, including api services, and provides a free online trial of reading-comprehension-hurc-mt5-hungarian, you can try reading-comprehension-hurc-mt5-hungarian online for free by clicking the link below.
NYTK reading-comprehension-hurc-mt5-hungarian online free url in huggingface.co:
reading-comprehension-hurc-mt5-hungarian is an open source model from GitHub that offers a free installation service, and any user can find reading-comprehension-hurc-mt5-hungarian on GitHub to install. At the same time, huggingface.co provides the effect of reading-comprehension-hurc-mt5-hungarian install, users can directly use reading-comprehension-hurc-mt5-hungarian installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
reading-comprehension-hurc-mt5-hungarian install url in huggingface.co: