from lmqg import TransformersQG
# initialize model
model = TransformersQG(language="it", model="lmqg/mt5-small-itquad-ae")
# model prediction
answers = model.generate_a("Dopo il 1971 , l' OPEC ha tardato ad adeguare i prezzi per riflettere tale deprezzamento.")
With
transformers
from transformers import pipeline
pipe = pipeline("text2text-generation", "lmqg/mt5-small-itquad-ae")
output = pipe("<hl> Il 6 ottobre 1973 , la Siria e l' Egitto, con il sostegno di altre nazioni arabe, lanciarono un attacco a sorpresa su Israele, su Yom Kippur. <hl> Questo rinnovo delle ostilità nel conflitto arabo-israeliano ha liberato la pressione economica sottostante sui prezzi del petrolio. All' epoca, l' Iran era il secondo esportatore mondiale di petrolio e un vicino alleato degli Stati Uniti. Settimane più tardi, lo scià d' Iran ha detto in un' intervista: Naturalmente[il prezzo del petrolio] sta andando a salire Certamente! E come! Avete[Paesi occidentali] aumentato il prezzo del grano che ci vendete del 300 per cento, e lo stesso per zucchero e cemento.")
@inproceedings{ushio-etal-2022-generative,
title = "{G}enerative {L}anguage {M}odels for {P}aragraph-{L}evel {Q}uestion {G}eneration",
author = "Ushio, Asahi and
Alva-Manchego, Fernando and
Camacho-Collados, Jose",
booktitle = "Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing",
month = dec,
year = "2022",
address = "Abu Dhabi, U.A.E.",
publisher = "Association for Computational Linguistics",
}
Runs of lmqg mt5-small-itquad-ae on huggingface.co
17
Total runs
0
24-hour runs
-1
3-day runs
-2
7-day runs
4
30-day runs
More Information About mt5-small-itquad-ae huggingface.co Model
mt5-small-itquad-ae huggingface.co is an AI model on huggingface.co that provides mt5-small-itquad-ae's model effect (), which can be used instantly with this lmqg mt5-small-itquad-ae model. huggingface.co supports a free trial of the mt5-small-itquad-ae model, and also provides paid use of the mt5-small-itquad-ae. Support call mt5-small-itquad-ae model through api, including Node.js, Python, http.
mt5-small-itquad-ae huggingface.co is an online trial and call api platform, which integrates mt5-small-itquad-ae's modeling effects, including api services, and provides a free online trial of mt5-small-itquad-ae, you can try mt5-small-itquad-ae online for free by clicking the link below.
lmqg mt5-small-itquad-ae online free url in huggingface.co:
mt5-small-itquad-ae is an open source model from GitHub that offers a free installation service, and any user can find mt5-small-itquad-ae on GitHub to install. At the same time, huggingface.co provides the effect of mt5-small-itquad-ae install, users can directly use mt5-small-itquad-ae installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
mt5-small-itquad-ae install url in huggingface.co: