Views
No views yet
lmqg/mbart-large-cc25-itquad-qaglmqg.lmqg1from lmqg import TransformersQG
2
3# initialize model
4model = TransformersQG(language="it", model="lmqg/mbart-large-cc25-itquad-qag")
5
6# model prediction
7question_answer_pairs = model.generate_qa("Dopo il 1971 , l' OPEC ha tardato ad adeguare i prezzi per riflettere tale deprezzamento.")
8transformers1from transformers import pipeline
2
3pipe = pipeline("text2text-generation", "lmqg/mbart-large-cc25-itquad-qag")
4output = pipe("Dopo il 1971 , l' OPEC ha tardato ad adeguare i prezzi per riflettere tale deprezzamento.")
5| Score | Type | Dataset | |
|---|---|---|---|
| QAAlignedF1Score (BERTScore) | 72.96 | default | lmqg/qag_itquad |
| QAAlignedF1Score (MoverScore) | 51.25 | default | lmqg/qag_itquad |
| QAAlignedPrecision (BERTScore) | 74.2 | default | lmqg/qag_itquad |
| QAAlignedPrecision (MoverScore) | 52.44 | default | lmqg/qag_itquad |
| QAAlignedRecall (BERTScore) | 71.83 | default | lmqg/qag_itquad |
| QAAlignedRecall (MoverScore) | 50.21 | default | lmqg/qag_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",
}