QuizGen is a simple quiz generator that uses OpenAI's GPT-3 language model, fine-tuned on stack-exchange Q/As, to create unique questions and answers.
the complete pipeline for this project can be seen in this diagram
To get started with QuizGen, you can follow the steps below:
- Clone the QuizGen repository using the following command:
git clone [email protected]:Aymen311/QuizGen.git
- Install the required dependencies using the following commands:
cd QuizGen
pip install virtualenv
python3 -m venv
source /bin/activate
pip install -r requirements.txt
-
Create a profile on the OpenAI platform and generate an API key by following the following link here: https://platform.openai.com/account/api-keys
-
Export your API key as an environment variable using the following command:
export OPENAI_API_KEY="YOUR_KEY_HERE"
- Run the QuizGen application using the following command
cd app
streamlit run Main.py
Enjoy using QuizGen! If you have any questions or feedback, feel free to create an issue on the repository or reach out to the project owner.