A TensorFlow Model that Generates Lyrics.
Natural Language Processing Project.
This is a mini project which tries to generate lyrics. Accuracy may vary by artists. You are welcome to reproduce our work, until you give us the shoutout on your code, of the original idea.
First we scrape all the lyrics from azlyrics.com
Then we will try to implement it in a python file.
- First we run coldplay_test.py
- It will save a file with the name coldplay.html
- Then we run coldplay_scrape.py
- We save the generated links in the console in an array in another python file.
- Now we will try to append all of these to a certain file.
- Create a new .txt file and write its name in the last python file with the array, to open it.
- After the script completes running you will have all the lyrics in the .txt file.
- Scroll through it. Remove any mistakes.
- Then just input the file into the python notebook and it should probably be easy.
After all is done the one thing that has a big room for improvement that is the hyper parameters selection. Once you generate lyrics dataset of any artist, everything will work fine and the model will also return to you, gibberish that will actually sound like the specified artist. But the main concern still is that it is gibberish. This one phase will take time. Once we get to the correct hyper parameters. The outputs will actually make good sense.