This NLP-based project is a Text to Poetry Generator which takes any definition, fact, etc. related to chemistry, physics and biology as input and generate a poetry according to given input as output. The aim of this project is to make learning science concepts for students interesting so that the students are able to remember these concepts for a long time. Sometimes, it becomes difficult for students to remember these complex science concepts which results in burden on them. This project would help students to learn science in a funny way and reduce their stress. The implementation has done using pre-trained GPT-2 model along with development of suitable API.
Steps involved in implementation of this project are -:
- Data Collection
- Data Cleaning
- Data Preprocessing
- Model Training
- Evaluation
- API development
Tools and Technologies used -:
- YouData.ai - For dataset
The dataset contains two columns - one for concept/theory and other for corresponding Poetry.
- Pandas - Exploratory Data Analysis and cleaning
- GPT-2 Tokenizer - For tokenization
- GPT-2 Language Model - For model training
- Streamlit - For User Interface development