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:
Integrated a pre-trained model for distractor generation trained on the RACE dataset.
Utilized the ConceptNet API to fetch similar words to the answer based on the provided context.
Enabled the software to generate MCQs by leveraging the generated distractors and similar words from the API.
Attached a video demonstration showcasing the working of the feature.
Changes Made:
Added functionality for MCQ generation.
Integrated the pre-trained distractor generation model.
Implemented API calls to ConceptNet for obtaining additional distractors based on context.
Users can now download the model and the required Python script from here and place them in the models folder under the modelC folder. The models folder structure should look like this:
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:
Steps to Reproduce:
Expected Behavior:
Testing:
Video Demonstration:
[Link to the video demonstrating the working of the feature]