This GitHub repository contains a tool that leverages Hugging Face models, LangChain, Streamlit, and FAISS to generate quizzes based on imported class notes. This project was initiated as a personal challenge to learn and apply skills in natural language processing (NLP) and understand how to work with big datasets provided by Hugging Face.
-
Hugging Face Models: The project utilizes state-of-the-art natural language processing models from Hugging Face, allowing for sophisticated question generation based on class notes.
-
LangChain Integration: LangChain is integrated to process and understand the language in class notes, enabling the generation of contextually relevant quiz questions.
-
Streamlit UI: The user interface is built using Streamlit, providing a user-friendly experience for importing class notes, configuring quiz parameters, and generating quizzes.
-
FAISS Indexing: FAISS is employed for efficient similarity search, enhancing the speed of question generation by quickly identifying relevant sections in the class notes.
-
Clone this repository:
git clone https://github.com/miguelarmada/QuizNotes.git
-
Change directory:
cd QuizNotes
-
Install dependencies:
pip install -r requirements.txt
-
Run the Streamlit app:
streamlit run app.py
-
Access the web interface by opening your browser and navigating to http://localhost:8501.
-
Follow the instructions on the interface to import your class notes and generate quizzes.
Contributions are welcome! If you have ideas for improvements, bug fixes, or new features, please open an issue or submit a pull request.