Skip to content

nitinsomu/QuizGeneratorNLP

Repository files navigation

Quiz Generator

Introduction

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.

Project Set Up

Step 1: Clone the repository

Clone this project using the following command:

git clone https://github.com/nitinsomu/QuizGeneratorNLP

Step 2:

Install python from https://www.python.org/downloads/

Step 3:

Enter the folder and install the requirements by running the following command.

cd QuizGeneratorNLP
pip install -r requirements.txt

Step 4:

Download the language model en_core_web_sm

python -m spacy download en_core_web_sm

Step 5:

Run the app:

python app.py

Step 6:

Head over to http://localhost:5000/ to access the app

To run the QuizGenerator.ipynb file, follow these steps:

Step 1: Set Up Jupyter Notebook Environment

Install Jupyter Notebook: If you haven't already installed it, open a terminal and use the following command:

pip install jupyter

Step 2: Launch Jupyter Notebook

Open Terminal: Navigate to the directory where the .ipynb file is located. Start Jupyter Notebook:

jupyter notebook

This command will open Jupyter Notebook in your default web browser, showing a list of your files.

Step 3: Open and Run the Notebook

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published