[Teachable NLP] Generate song lyrics AI model

Teachable NLP : Ainize | Launchpad for open-source AI projects
TabTab : TabTab!
korean version : "I miss you ๐ŸŽถ", ์ธ๊ณต์ง€๋Šฅ์ด ์ž‘์‚ฌ๋ฅผ ํ•œ๋‹ค๊ณ ? | Knock AI (No-code AI)


What are your favorite song lyrics? You can also be a songwriter with Teachable NLP!

Today we will introduce how to make song lyrics generation AI model using Teachable NLP.

Letโ€™s get start!

1.Collect data

We can get data in kaggle for make song lyrics generation model.

When collecting data, it is important to verify the license of the dataset. This dataset is under CC0 Public Domain license with no copyright.

Teachable NLP can directly use this dataset since it is configured as a text(.txt) file. (Teachable NLP only supports text files)

The dataset is made up of many different text files, so we combined them into one single file. As a result, we generated a new text file of 6.8 MB in size.

Eighteen years eighteen years
She got one of your kids got you for eighteen years
I know somebody paying child support for one of his kids
His baby mama car and crib is bigger than his
You will see him on TV any given Sunday
Win the Super Bowl and drive off in a Hyundai
She was supposed to buy your shorty Tyco with your money
She went to the doctor got lipo with your money
She walking around looking like Michael with your money
Shouldve got that insured Geico for your money
If you aint no punk
Holla We want prenup We want prenup Yeah
Its something that you need to have
Cause when she leave your ass she gon leave with half
Eighteen years eighteen years
And on the the birthday he found out it wasnt his
Now I aint saying you a gold digger you got needs
You dont want a dude to smoke but he cant buy weed
You go out to eat and he cant pay yall cant leave
Theres dishes in the back he gotta roll up your sleeves
But while yall washin watch him
He gone make it into a Benz out of that Datsun
He got that ambition baby look in his eyes
This week he mopping floors next week its the fries
So stick by his side
I know theres dudes ballin and yeah thats nice
And they gonna keep calling and trying but you stay right girl
And when you get on hell leave your ass for a white girl
Let the suicide doors up
...

The generated text data looks like the above. And itโ€™s ready to upload to Teachable NLP.

2. Train model using Teachable NLP

Upload the text file and set the options like this.

modelType : gpt2-small

epochs : 5

and click the train button!

3. Test and enjoy your model

Click on test model button to test and enjoy your model.
Input is My love is.

 (My love is) you and me

 Yeah... Love is you and me baby, love me forever

 Love is you

 And me forever, love me with you

 Love me forever, love me with you

 Love me

Try model : TabTab

How is it?

It may not create perfect song lyrics, but it can be a good guide. Like this, why donโ€™t you make your own model that can assist you when you write a novel or poem? :writing_hand:


4 Likes

[Korean ver.]
ํ•œ๊ธ€ ๋ฒ„์ „์˜ ๊ธ€์€ ์—ฌ๊ธฐ์„œ ํ™•์ธํ•ด๋ณด์„ธ์š”! :point_down:

2 Likes