AOSSIE-Org / EduAid

A tool that can auto-generate short quizzes on the basis of the content provided.
7 stars 25 forks source link

[Feature] Multiple Choice type questions #21

Open Aditya062003 opened 5 months ago

Aditya062003 commented 5 months ago

Feature: Multiple Choice Question Generation

Description:

Resolves Issue #20 Introduce a new feature to enable the generation of multiple choice questions (MCQs) within the software. This feature utilizes a pre-trained model for distractor generation, trained on the RACE dataset. Additionally, it incorporates the ConceptNet API to expand the pool of distractors by providing similar words to the answer based on the context.

Implementation Details:

Changes Made:

+---models
ª   +---modelA
ª          config.json
ª          generation_config.json
ª          pytorch_model.bin
ª   
ª   +---modelB
ª           config.json
ª           generation_config.json
ª           pytorch_model.bin
ª   
ª   +---modelC
ª           modelC.ckpt
ª           distractor_generator.py

Steps to Reproduce:

  1. Provide context and correct answer.
  2. Utilize the software's MCQ generation feature.
  3. Verify the generated MCQ options and their relevance to the context and answer.

Expected Behavior:

Testing:

Video Demonstration:

[Link to the video demonstrating the working of the feature]