SOTAVerified

Downstream Transformer Generation of Question-Answer Pairs with Preprocessing and Postprocessing Pipelines

2022-05-15Code Available1· sign in to hype

Cheng Zhang, Hao Zhang, Jie Wang

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

We present a system called TP3 to perform a downstream task of transformers on generating question-answer pairs (QAPs) from a given article. TP3 first finetunes pretrained transformers on QAP datasets, then uses a preprocessing pipeline to select appropriate answers, feeds the relevant sentences and the answer to the finetuned transformer to generate candidate QAPs, and finally uses a postprocessing pipeline to filter inadequate QAPs. In particular, using pretrained T5 models as transformers and the SQuAD dataset as the finetruning dataset, we show that TP3 generates satisfactory number of QAPs with high qualities on the Gaokao-EN dataset.

Reproductions