Views
No views yet
vocabtrimmer/mbart-large-cc25-trimmed-it-itquad-qglmqg.lmqg1from lmqg import TransformersQG
2
3# initialize model
4model = TransformersQG(language="it", model="vocabtrimmer/mbart-large-cc25-trimmed-it-itquad-qg")
5
6# model prediction
7questions = model.generate_q(list_context="Dopo il 1971 , l' OPEC ha tardato ad adeguare i prezzi per riflettere tale deprezzamento.", list_answer="Dopo il 1971")
8transformers1from transformers import pipeline
2
3pipe = pipeline("text2text-generation", "vocabtrimmer/mbart-large-cc25-trimmed-it-itquad-qg")
4output = pipe("<hl> Dopo il 1971 <hl> , l' OPEC ha tardato ad adeguare i prezzi per riflettere tale deprezzamento.")
5| Score | Type | Dataset | |
|---|---|---|---|
| BERTScore | 81.06 | default | lmqg/qg_itquad |
| Bleu_1 | 22.99 | default | lmqg/qg_itquad |
| Bleu_2 | 15.06 | default | lmqg/qg_itquad |
| Bleu_3 | 10.41 | default | lmqg/qg_itquad |
| Bleu_4 | 7.4 | default | lmqg/qg_itquad |
| METEOR | 18.94 | default | lmqg/qg_itquad |
| MoverScore | 57.38 | default | lmqg/qg_itquad |
| ROUGE_L | 22.57 | default | lmqg/qg_itquad |
@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",
}