Views
No views yet
research-backup/bart-large-squad-qg-defaultlmqg.
This model is fine-tuned without parameter search (default configuration is taken from ERNIE-GEN).lmqg1from lmqg import TransformersQG
2
3# initialize model
4model = TransformersQG(language="en", model="research-backup/bart-large-squad-qg-default")
5
6# model prediction
7questions = model.generate_q(list_context="William Turner was an English painter who specialised in watercolour landscapes", list_answer="William Turner")
8transformers1from transformers import pipeline
2
3pipe = pipeline("text2text-generation", "research-backup/bart-large-squad-qg-default")
4output = pipe("<hl> Beyonce <hl> further expanded her acting career, starring as blues singer Etta James in the 2008 musical biopic, Cadillac Records.")
5| Score | Type | Dataset | |
|---|---|---|---|
| BERTScore | 90.95 | default | lmqg/qg_squad |
| Bleu_1 | 56.25 | default | lmqg/qg_squad |
| Bleu_2 | 40.27 | default | lmqg/qg_squad |
| Bleu_3 | 30.71 | default | lmqg/qg_squad |
| Bleu_4 | 23.94 | default | lmqg/qg_squad |
| METEOR | 25.91 | default | lmqg/qg_squad |
| MoverScore | 64.42 | default | lmqg/qg_squad |
| ROUGE_L | 52.2 | default | lmqg/qg_squad |
@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",
}