Generate Boolean (Yes/No) Questions From Any Content
Question generation algorithm trained on the BoolQ dataset using T5 text-to-text transformer model.
question-generation transformers huggingface t5 pytorch natural-language-processing article code tutorial research

Generate boolean (yes/no) questions from any content using T5 text-to-text transformer model and BoolQ dataset

Pre-trained model and training script are provided


The input to our program will be any content/paragraph -

Months earlier, Coca-Cola had begun “Project Kansas.” It sounds like a nuclear experiment but it was just a testing project for the new flavor. In individual surveys, they’d found that more than 75% of respondents loved the taste, 15% were indifferent, and 10% had a strong aversion to the taste to the point that they were angry.


The output will be boolean (yes/no) questions generated from the above input.

Boolean (yes/no) questions generated from the T5 Model :

1: Does coca cola have a kansas flavor?

2: Is project kansas a new coca cola flavor?

3: Is project kansas the same as coca cola?

Don't forget to tag @ramsrigouthamg in your comment, otherwise they may not be notified.

Authors original post
Lead Data Scientist at Right-Hand Cybersecurity || BITS Pilani || Ex Co-Founder & CTO of a funded AI startup
Share this project
Similar projects
Paraphrase Any Question with T5 (Text-To-Text Transformer)
Given a question, generate paraphrased versions of the question with T5 transformer. Pretrained model and training script provided.
Live demo : State-of-the-art MCQ Generator from any content
Demo for state-of-the-art MCQ (Multiple Choice Questions) generator from any content built using T5 transformer, HuggingFace, and Sense2vec
Paraphrase Generation Using T5 model
Simple application using T5 base model fine tuned in Quora Question Pairs to generate paraphrased questions.
Agents that build knowledge graphs and explore textual worlds by asking questions.
Top collections