mcqt / README.md
Nikhil2904's picture
Update README.md
1cf081e verified

PDF to Quiz

Upload a multiple page PDF and generate a quiz with multiple options. For each page 2 questions will be generated.

This leverage Langchain library to abstract the LLM (Large Language Model) calls.

The UI is based on Streamlit

Here is an exemple PDF (sorry in french but you can get the idea...)

PDF sample

Will generate the following interractive quiz questions:

PDF sample

Pre-requisite

You need a GPU to run the 13B model locally or you need to deploy it on HuggingFace by exemple (it's not free!)

You can find the model on HuggingFace

The training dataset is also available on HuggingFace

A video explaining the process is also available (in french sorry)

Instructions

To install:

pip install -r requirements.txt

Run

To run:

streamlit run app.py