[Improvement] Revamped Question Generator Model #32
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is associated with the issue #31 and focuses on generating an entirely Revamped Question Generator Model that focuses on incorporating a Revamped Model which can satisfy all the requirements associated with the Question Generator Model which are being mentioned in the issue.
Installation Procedure:
The Installation of the Model and testing in the local environment requires some external repositories and libraries to be installed and the procedure is mentioned inside the
README.md
file inside theInstallation of Generator Model
portionDescription of the Methods:
1.
/get_mcq
which is much better than what other methods proposed by other (ususally take more than a minute)
get_mcq.webm
2.
/get_boolq
get_boolq.webm
3.
/get_shortq
get_shortq.webm
4.
/get_problems
Description:
The
/get_problems
endpoint automates quiz generation by producing a diverse range of educational problems from a single input text. It generates multiple-choice questions (MCQs), boolean questions, and short answer questions tailored to the input content.Through sophisticated algorithms, MCQs are created using abstractive summarization and co-hyponym generation, ensuring well-structured questions and distractors. Boolean questions offer true/false statements derived from the input text, encouraging critical thinking. Short answer questions are crafted through paraphrasing and sentence restructuring techniques.
Request Body:
Expected Time: The generation process for boolean questions takes approximately 10-20 seconds,
Attached ScreenCast:
get_problems.webm
5.
/get_answerkey
Description:
The
/get_answerkey
endpoint generates the answer key for the previously generated questions. It utilizes advanced natural language processing techniques, including the T5 transformer model for abstractive summarization, to condense input text into concise summaries suitable for study materials. Multi-Partite Ranking is employed to rank the generated summaries based on relevance and importance.In the answer key generation process, the summarized notes serve a dual purpose: aiding in formulating problem statements and serving as the solution key for each specific problem. By utilizing these summaries as the foundation for both question generation and solution derivation, alignment between the posed problems and their correct solutions is ensured.
Request Body:
Attached ScreenCast:
get_answerkey.webm