Skip to content

vallimangai/Quick-Study

Repository files navigation

Quick-Study

It is NLP model for Question and Answer based on text

Introduction

QuickStudy is an educational tool designed to help people grasp concepts quickly while avoiding getting stuck. Users can upload pdfs, images or give the text and receive summarised text, allowing them to understand the concept by reading a few sentences rather than a pool of sentences from the original text. Users can also get short and long answers to their text-related questions by simply typing them in. QuickStudy can also generate MCQs and questions along with corresponding short and long answers to assist users in assessing their knowledge of the topic.

Features:

QuickStudy contains multiple features which are listed below

Summarisation

Text summarization is the process of creating a short, coherent, and fluent summary of a longer text document and involves the outlining of the text’s major points. Extracted text from pdf, image or the text given by the user is taken as input for the model and the summarised text is the expected output of the model.

Short answer

Given a question by the user, the model in this module must be able to generate corresponding short answer from the text.

Long answer

Given a question by the user, the model in this module must be able to generate corrsponding long answer from the text.

Short question and answer

In this module question and answer generation is automated. It takes text as input for the model and generates both question and short answer.

Long question and answer

In this module question and answer generation is automated. It takes text as input for the model and generates both question and long answer.

MCQ

The model for MCQ generation takes original text and summarised text as input and process to display questions, distractors, correct answer as output.

Text extraction

The text is extracted from the uploaded pdf and the image.

Pre-requisite:

Fast internet to download the model that is available in hugging face

Tesseract To download

How to run it

Clone the repository to your local directory

git clone https://github.com/vallimangai/Quick-Study

Activate your virtual environment. Follow steps in this link to create your virtual environment : Click here

pip install virtualenv

virtualenv env

env\Scripts\activate

Install packages from req.txt

pip install -r req.txt

Run app.py file

streamlit run "Quick Study.py"

Now you can see our app running on http://localhost:8501/! Register with an account and try it out for yourself.

Outputs:

uploading the image to get the text

image

uploading the pdf to get the text

image

summarisation

image

Short answer for questions

image

Long answer for questions

image

Long question and answer generations

image image

Short question and answer generations

image image

MCQ generation

image image

About

It is NLP model for Question and Answer based on text

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages