Skip to content

The-Swapster/Q_and_A

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Introduction

This system uses Questgen for predicting Questions and Answers. Questgen uses T5, BERT, and OpenAI GPT-2 for predicting questions and answers.

Required Libraries

  1. Flask
pip install Flask
  1. PyPDF2
pip install PyPDF2
  1. docx
pip install python-docx
  1. nltk
pip install nltk
  1. Questgen
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 em
  1. sense2vec
wget https://github.com/explosion/sense2vec/releases/download/v1.0.0/s2v_reddit_2015_md.tar.gz
tar -xvf  s2v_reddit_2015_md.tar.gz
  1. fpdf
pip install fpdf
  1. os
pip install os

Change the directories and files

  1. Line 11, changing the location of Sense2Vec
  2. Line 14, change the line of UPLOAD_FOLDER
  3. Line 146, change the location of the folder where the questions.pdf is saved

Types of Questions

Our system generates the following types of questions

  1. Boolean Questions
  2. One word answers
  3. Multiple Choice Questions
  4. True and False
  5. Breif Answer Questuons

Types of Inputs

  1. Text Input
  2. Upload PDF
  3. Upload Word Document

Types of Output

  1. Questions and Answers
  2. Download pdf

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published