This repository contains code for a text generation model implemented in a Jupyter notebook (lyricsGenerator.ipynb
). The model utilizes Gated Recurrent Units (GRU) to generate lyrics based on patterns learned from a dataset of song lyrics.
The dataset used in this project comprises song lyrics sourced from a diverse range of artists and genres. The dataset can be accessed from Kaggle.
Due to the computational reasons only a small portion of original dataset from kaggle has been utilized in this project.
This project utilizes various Python libraries for tasks such as data analysis, model building, and text generation:
- Pandas
- Matplotlib
- TextBlob
- WordCloud
- Scikit-learn
- NLTK
- TensorFlow
Make sure to have these libraries installed before running the code.
- Clone the repository to your local machine.
- Ensure you have all dependencies installed.
- Open and run the
lyricsGenerator.ipynb
notebook in Jupyter environment. - Follow the instructions within the notebook to analyze the dataset, preprocess the data, build the model, train it, and generate lyrics.
- You can change the model parameters to improve the performance.
This project was inspired by the following resources:
- Text Generation with GRU: Medium Article
- Lyrics Generator RNN: Kaggle
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or issues, feel free to contact me.