Views
No views yet
research-backup/t5-base-subjqa-vanilla-restaurants-qglmqg.lmqg1from lmqg import TransformersQG
2
3# initialize model
4model = TransformersQG(language="en", model="research-backup/t5-base-subjqa-vanilla-restaurants-qg")
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/t5-base-subjqa-vanilla-restaurants-qg")
4output = pipe("generate question: <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 | 80.29 | restaurants | lmqg/qg_subjqa |
| Bleu_1 | 2.76 | restaurants | lmqg/qg_subjqa |
| Bleu_2 | 0.65 | restaurants | lmqg/qg_subjqa |
| Bleu_3 | 0 | restaurants | lmqg/qg_subjqa |
| Bleu_4 | 0 | restaurants | lmqg/qg_subjqa |
| METEOR | 1.2 | restaurants | lmqg/qg_subjqa |
| MoverScore | 51.5 | restaurants | lmqg/qg_subjqa |
| ROUGE_L | 1.27 | restaurants | lmqg/qg_subjqa |
@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",
}