Generating Song Lyrics

For the second task of generating our own lyrics of a song given a genre, we used a TensorFlow Char-RNN, a character level language model using multilayer Recurrent Neural Network. Using the scraped lyrics data, we created one large text file (~600 kb) for each genre that contained a sample of the lyrics from that genre, about 300 songs from each genre. The five genres we chose to run for the project were: country, indie, hip hop, pop, and rock. We then trained a char-rnn on each of the those genres, and once trained, created a sample text of about 1000 words.

Each training parameter for all the genres were the same. We used a batch size of 100, 10 epochs to train, and didn’t use a dropout. After training, we then used the models we created to generate a sample set of lyrics for each of the genres. For generating each sample, we set the output length to be 1000 and tried various temperatures. The temperatures that were closer to 1 tended to be less coherent in both vocabulary and grammar, whereas the temperatures that were closer to 0 tended to be coherent but contain a lot of repetition. We found that the most accurate temperature overall, balancing coherency and repetition, was 0.5.

Each of the models we created generated the same general results; we had validation perplexities from around 4.5 - 6, and test perplexities which were slightly lower by a margin of 0.5. In general, this meant that our model had higher accuracy on the test data, which meant that our model in general did well on the test sets. The only exception to that was the model we generated for rock; for that model the best validation perplexity was 4.76, while the test perplexity wasa 5.35. This discrepancy could have likely occurred because the random sample of data we used for training did not contain as much variety as the other genres, and therefore the vocabulary distribution was lower. As a result, the accuracy on the training set was lower, leading to a higher perplexity, and leading to a lower quality sample that the other genres.


Sample Songs Created by Genre

Sample Country

I'm gone

Well my heart were was a blue

He wonder did you feel

I'm not in at finally come on home

But the road her round of lust

Shot about the world

Then the roor mama ten of life

How honey you when I'm gone

The land of your love

Strangers on the tears and take me up in the rolling called the blue

But you feel your love with a country song

I want to close

I've got to go

I want to me

The way your kinged to my soul

I want to be

The put your eyes

The stars and I'm gone

I've got a had a long that love

We was looking down the bord of last

I've got the seed

I don't really don't you frimedy

Well my brues about is a million

how I was a crowd

And he said

I could you rusty rolling down the world

You won't never going outta style

I want to tell you my family falling driving

I want to wake you had to tear you

I was all to so her

Baby, it's only you don't day

The world to stand you look

But I could you rock out

When I know you don't wan

Sample Hip-Hop

I'm so many get you

And I toush that we see that ould stay

I can tell by your hot that we say it's a vibe

It's this 1 thing low we get him

We can tell me where would I be

Oh baby, oh

Oh oh

Chorus

It's a vibe, yeah, yeah

Yeah, that's wanna sit it on my neck

And we had it

I am a big booty money

I can't get dangerous

I ain't got no bested one of she got me the sing

Fuck that bitch

I think it's the parking like Sprister

Watch out lil bitch

'Cause you can't go back

It's this 1 thing that my dog, that my dog, that my dog, that my dog, that my dog, that my dog

It's this 1 thing not don't love you

That my dog, that my dog, that my dog, that I feel good

I didn't have me that man

My dance with me

It's this 1 thing and I ain't got a problem

What can't was the pates

You did it feel so good

Let me do it like me, oh motherfuckin' me

So won't you dance with me

And I real chest and gave me

And I keep it me stay

We can't want a fuck and the style




Sample Indie

I'm the way

They want to find you

How would you called  

The stars she was a stars

And I have alone in the world

I will save me and the best

I can't let that I was the s

I can tell in the wall

I

I want to be and the storms

I wish i have a child

If there another sun

What is though it

And so long time that you make me

It can you are gonna be the light

I into an every heart and the first time

I will never know

I have seen the light

I have always feel

So long in the street,

I can tell you

I'm waiting out of the sun

In the sea of love

I can't get out of the streets

I will gave a blink

And

Can I saw behind

That I go thinking that I can save the one with a bells

I was a song hard to say

As I want to be the people on the way

I am a part of my friends

When you're a vicion

I will gat something that you want

I'm gonna stay to the rain

Without my hand and window out on the feeling

Down and the curting that I was trying

I can't let them





Sample Pop

I'm and

I know why you do it to keep me

I wanna know that you feel you

I like it

When you're loving

When you're the one

I don't care

He world the waiting

I got to me

I say I'm the one that would be there

I'm so nold on there with me

I wanna know that I got a flae

I've been want is she sturs when we do it, say

Don't Don't Don't Don't

Don't Don't Don't Don't Don't

Don't Don't Don't Don't

Don't Don't Don't Don't Don't

Don't care what you do you see

I want you do to get home

I got to be back

I don't go

and we were up!

I know why you do you feel

Why you do it, call

I don't care what you do

I'll be by your sipp

I just calling you

You gotta get on the world

How you stop hard, I can't believe to parlise

The first time

I wanna be your say

I won't turn you play

Like karate

Like karate

All I wanna too dream

It's to me walking can be the rire

the way you do

Why you do the love that

I got to me

I can't like there way

I say
Sample Rock

I'm sourone

L.A. progling out

You know

You're a party

Sometimes I wanna be alone

The word the word

If I can a tramming with my stacker

Well, I fall you know

I fat you wait

If you know the did care

It's the sound of the story

All the time to start the find him like a light

To the dark

L'all feel that we were the strong

Another water

You know I'm handy street

I wanna shoke it

You know you want

I'm as a trips

Then your feeling in the whole thing with you

I'm dropping and I want me probley

Well, I'm fat, some words

She's a call of the day

You know I'm alone day

And not know

I'm the dide as the starter

When I wanna be there

But I'm fat, you want to see

It make you wart to was the her every casting the story

If you want for the suck

There's no discrop

That we've got down

L.A. peypic lide in the whole to the water

And I do it watch a little that I don't take a sitter

Every started

Then feel from

You got to do you

She's a p