NLP library for question generation
Top 39.8% on sourcepulse
Questgen.ai is an open-source NLP library designed for easy-to-use question generation from text. It targets developers and researchers looking to automate the creation of educational materials, quizzes, or data augmentation sets, leveraging state-of-the-art transformer models.
How It Works
Questgen.ai utilizes multiple T5 transformer models, each fine-tuned for specific question generation tasks: boolean (Yes/No), multiple-choice questions (MCQs), general FAQs, paraphrasing, and question answering. For MCQs, it employs the sense2vec
library to generate plausible distractors (incorrect options) based on word embeddings, enhancing the quality of generated questions.
Quick Start & Requirements
pip install git+https://github.com/ramsrigouthamg/Questgen.ai
pip install git+https://github.com/boudinfl/pke.git
python -m nltk.downloader universal_tagset
python -m spacy download en
nltk
, spacy
, pke
, sense2vec
(requires downloading word vectors: s2v_reddit_2015_md.tar.gz
).Highlighted Details
sense2vec
for generating multiple-choice options.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
1 year ago
Inactive