This project generates new song lyrics using 2-gram, 5-gram, and 7-gram models, then feeds the result into the GPT-3.5 API, and post-processes the generated lyrics to make them rhyme and have a specific rhythm.
Install the required packages by running:
Sign up for an OpenAI account and get your API key.
Replace 'your-api-key'
in the script with your actual API key.
Place your dataset in a CSV file named CharliePuth.csv
with a column Lyrics
that contains the song lyrics.
Run the script: python lyrics_generator.py
The script will generate lyrics, feed them into the GPT-3.5 API, and then make the generated lyrics rhyme and have a specific rhythm.
This project is licensed under the MIT License - see the LICENSE
file for details.