/question_generator

An NLP system for generating reading comprehension questions

Primary LanguagePythonMIT LicenseMIT

question_generator

This repo is forked from https://github.com/AMontgomerie/question_generator

Requirements

Requirements

Setup

Run requirements.txt

pip -r requirements.txt

How to run

python main.py

Please be patient as invoking the model can take about 10-20s per row.

How to run original question answerer

python run_qg.py --text_file articles/product.txt

Approach

We are using the iarfmoose/t5-base-question-generator model from huggingface. We will be using a cleanup routine to format the text and then using the model to generate questions.