Project case study
Question answering & distractors
Generating plausible wrong answers for multiple-choice questions with DistilBERT, spaCy, and T5.
View project on GitHubA multiple-choice question needs wrong answers that are plausible but different from the correct one. This pipeline creates them automatically from a reading passage: it answers the question, then turns that answer into three distractors. The generated questions can be used to train and evaluate question-answering systems.
Muhanad Tuameh · Metin Usta
Model-based evaluation does not establish that every distractor is incorrect, natural, or useful to a learner.
Models and implementation
DistilBERT is fine-tuned on SQuAD. A pretrained spaCy model supplies named entities. The evaluator is a pretrained T5 model fine-tuned on QASC. Built with Hugging Face Transformers, spaCy, and PyTorch in Jupyter notebooks.