Our project focuses on creating multiple-choice questions (MCQs) through machine learning and natural language processing (NLP) techniques. MCQs are commonly used in educational assessments to gauge students' grasp of specific subjects. Automating the MCQ generation process can help educators save time and effort, all while maintaining the quality and relevance of the questions.
Clone this project using the following command:
git clone https://github.com/nitinsomu/QuizGeneratorNLPInstall python from https://www.python.org/downloads/
Enter the folder and install the requirements by running the following command.
cd QuizGeneratorNLP
pip install -r requirements.txtDownload the language model en_core_web_sm
python -m spacy download en_core_web_smRun the app:
python app.pyHead over to http://localhost:5000/ to access the app
Install Jupyter Notebook: If you haven't already installed it, open a terminal and use the following command:
pip install jupyterOpen Terminal: Navigate to the directory where the .ipynb file is located. Start Jupyter Notebook:
jupyter notebookThis command will open Jupyter Notebook in your default web browser, showing a list of your files.
Select the Notebook: Find and click on your .pynb file to open it. Run the Code Cells: Click on each code cell and press Shift + Enter to execute it. Alternatively, use the “Run” button from the toolbar to execute each cell. You can also select Cell > Run All from the menu to run all cells sequentially.