A Practical Toolkit for Multilingual Question and Answer Generation

Asahi Ushio, Fernando Alva-Manchego, Jose Camacho-Collados


Abstract
Generating questions along with associated answers from a text has applications in several domains, such as creating reading comprehension tests for students, or improving document search by providing auxiliary questions and answers based on the query. Training models for question and answer generation (QAG) is not straightforward due to the expected structured output (i.e. a list of question and answer pairs), as it requires more than generating a single sentence. This results in a small number of publicly accessible QAG models. In this paper, we introduce AutoQG, an online service for multilingual QAG along with lmqg, an all-in-one python package for model fine-tuning, generation, and evaluation. We also release QAG models in eight languages fine-tuned on a few variants of pre-trained encoder-decoder language models, which can be used online via AutoQG or locally via lmqg. With these resources, practitioners of any level can benefit from a toolkit that includes a web interface for end users, and easy-to-use code for developers who require custom models or fine-grained controls for generation.
Anthology ID:
2023.acl-demo.8
Volume:
Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 3: System Demonstrations)
Month:
July
Year:
2023
Address:
Toronto, Canada
Editors:
Danushka Bollegala, Ruihong Huang, Alan Ritter
Venue:
ACL
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
86–94
Language:
URL:
https://aclanthology.org/2023.acl-demo.8
DOI:
10.18653/v1/2023.acl-demo.8
Bibkey:
Cite (ACL):
Asahi Ushio, Fernando Alva-Manchego, and Jose Camacho-Collados. 2023. A Practical Toolkit for Multilingual Question and Answer Generation. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 3: System Demonstrations), pages 86–94, Toronto, Canada. Association for Computational Linguistics.
Cite (Informal):
A Practical Toolkit for Multilingual Question and Answer Generation (Ushio et al., ACL 2023)
Copy Citation:
PDF:
https://aclanthology.org/2023.acl-demo.8.pdf
Video:
 https://aclanthology.org/2023.acl-demo.8.mp4