Generative Language Models for Paragraph-Level Question Generation
Paper
•
2210.03992
•
Published
research-backup/bart-base-squadshifts-vanilla-reddit-qg
This model is fine-tuned version of facebook/bart-base for question generation task on the lmqg/qg_squadshifts (dataset_name: reddit) via lmqg.
lmqgfrom lmqg import TransformersQG
# initialize model
model = TransformersQG(language="en", model="research-backup/bart-base-squadshifts-vanilla-reddit-qg")
# model prediction
questions = model.generate_q(list_context="William Turner was an English painter who specialised in watercolour landscapes", list_answer="William Turner")
transformersfrom transformers import pipeline
pipe = pipeline("text2text-generation", "research-backup/bart-base-squadshifts-vanilla-reddit-qg")
output = pipe("<hl> Beyonce <hl> further expanded her acting career, starring as blues singer Etta James in the 2008 musical biopic, Cadillac Records.")
| Score | Type | Dataset | |
|---|---|---|---|
| BERTScore | 91.89 | lmqg/qg_squadshifts | |
| Bleu_1 | 25.35 | lmqg/qg_squadshifts | |
| Bleu_2 | 16.53 | lmqg/qg_squadshifts | |
| Bleu_3 | 10.97 | lmqg/qg_squadshifts | |
| Bleu_4 | 7.52 | lmqg/qg_squadshifts | |
| METEOR | 21.32 | lmqg/qg_squadshifts | |
| MoverScore | 61.44 | lmqg/qg_squadshifts | |
| ROUGE_L | 24.67 | lmqg/qg_squadshifts |
The following hyperparameters were used during fine-tuning:
The full configuration can be found at fine-tuning config file.
@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",
}