Giter VIP home page Giter VIP logo

q_and_a's Introduction

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

q_and_a's People

Contributors

the-swapster avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.