Skip to content

AKILSADIK/vervathon-2023

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 

Repository files navigation

Vervathon-2023

Team Name: Weefy

Problem Statement: Developing an AI-based application for generating questions from a given text document.

Team Leader Email: akilsadik1234@gmail.com

A Brief of the Prototype: The prototype is a Python application that uses the Transformers library to generate questions from a given text document. It reads a DOCX file, extracts the text content, and generates a specified number of questions based on the content. The generated questions are then categorized into 2, 5, and 7 mark questions and saved into a new DOCX file.

UML Diagrams: image

Tech Stack:

  • Python
  • docx library for reading and writing DOCX files
  • PyPDF2 library for readinf and writin pdf files
  • Transformers library for question generation
  • T5Tokenizer and T5ForConditionalGeneration for tokenizing the text and generating the questions

Step-by-Step Code Execution Instructions:

  1. Install the necessary libraries (docx, transformers).
  2. Place the input DOCX file in the specified path.
  3. Run the Python script.
  4. The script will read the input DOCX file, generate the questions, and save them into a new DOCX file.

What I Learned: While developing this prototype, I learned how to use the Transformers library for question generation. I also learned how to read and write DOCX files using Python. This project helped me understand the practical applications of AI in education, specifically in automating the process of question paper generation. It was a great learning experience working with NLP models and seeing how they can be used to generate meaningful questions from a given text.

About

Upload your submission to this repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 65.7%
  • HTML 31.6%
  • Python 2.6%
  • CSS 0.1%