Views
No views yet
“If you enunciate it and make it more than one syllable—like ‘or-ange’—you can rhyme it with door hinge, storage, or porridge.”
— Eminem, 60 Minutes interview
gpt2-medium) on stylistically rich rap lyrics.This project is strictly educational. It does not aim to replicate or impersonate any artist, nor is it affiliated with, endorsed by, or commercialized in relation to Eminem or his estate. The lyrics used were publicly available and not redistributed in dataset form. All outputs are experimental and intended solely to showcase LLM fine-tuning capabilities.
(Prompt: "I ate three cupcakes". Generated sample from fine-tuned GPT-2 model with rhyme seed prompt)
1 from transformers import pipeline, set_seed
2
3 generator = pipeline("text-generation", model="Elida-Sensoy/gpt2-eminem-lyrics")
4 set_seed(52) # for reproducibility
5
6 prompt = "I ate three cupcakes." # starting line
7
8 results = generator(
9 prompt,
10 max_length=200,
11 num_return_sequences=3, # generate 3 completions
12 temperature=1.75, # higher = more creative
13 top_p=0.95, # nucleus sampling
14 do_sample=True,
15 truncation=True,
16 pad_token_id=50256 # prevents warnings with GPT-2
17 )
18
19 for i, res in enumerate(results):
20 print(f"\n🎵 Verse {i+1}:\n{res['generated_text']}")🎵 Verse 1: I ate three cupcakes but didn't get the fuckin' shit to drinkI've been goin' in deep, you need the "G" for me, so I said come get meThat shit ain't come with a rocket launcher in it itIt's an umbrella with a strap-onI said come, y'all gon' be fuckin' by in ten minutesI took it with both hands and used it to launchSpike your shoes and wear no underwear, now I don't fit in the storeOr maybe I should just run straight to the ERMy heart goes out to everybody, I'm 'bout to throw it awaySo stay clear my name 'fore you walk around with itI ain't smoking anything, just stay with the gist of itBut stay clear in my mind of why I am here tonightI know what you think'Cause at these funeral services, when it's rain[Chorus]There will always be a certain curse that will always befall a
🎵 Verse 2: I ate three cupcakes 'cause I was getting drunk Fuck the world 'cause I woke up with a brain tummy That's not my cause I'm not a fucking writer, I'm just an ass Fuck these things so damn hard I will just let these fags eat meAll they shit you say is shit because you don't give a fuck I did something a bit risky, changed the club too and went outThe way I sat it back and goof took off on your shit, fucked around with your equipment tooThey'd put a grenade in ya ass for fun Fuck it you fucked around a long time too Now you wanna blow up a flight from Toronto? I get up outta there You have one shot! Come and blow up a plane!No they ain't set at the start! They wanna know? They ain't ready when I shoot up that hotel ballroom full of gents!Fuck a fuckin' whore, I can fly away
🎵 Verse 3: I ate three cupcakes, then I heard they been taken awayI turned around and started going "Ha ha"Turned around and jumped back againGrabbed my camera in one hand and took a picture and I put it inside my heartJust to show you just how freaking insane my ex-wife (Maggie Ruess)Isn't that insane?Cause I don't need you being selfishAnd not even getting your respectBecause if there are things that you do that will benefit meEven the most basic necessities are necessitiesWhen a bitch who does not give a fuck, even comes up behindYou are selfishIf we did say somethin togetherThat if I went down in hell I might not be that personThere really should be some sort of warning sent outBut nobody wants to listenI need a father to hold me[Hook:]Pray I did something smart, so that when I passed life, it might not turnThis rhyme would be funny and be like "Yeah!"(Hmm)
(Prompt: "There is no fun. Of course I am joking.". Generated sample from fine-tuned GPT-2 model with rhyme seed prompt)
1 from transformers import pipeline, set_seed
2
3 generator = pipeline("text-generation", model="Elida-Sensoy/gpt2-eminem-lyrics")
4 set_seed(52) # for reproducibility
5
6 prompt = "There is no fun. Of course I am joking." # starting line
7
8 results = generator(
9 prompt,
10 max_length=200,
11 num_return_sequences=3, # generate 3 completions
12 temperature=1.75, # higher = more creative
13 top_p=0.95, # nucleus sampling
14 do_sample=True,
15 truncation=True,
16 pad_token_id=50256 # prevents warnings with GPT-2
17 )
18
19 for i, res in enumerate(results):
20 print(f"\n🎵 Verse {i+1}:\n{res['generated_text']}")There is no fun. Of course I am joking. But life's a game but your skill's on my line like no I don't know why so farI been in three lanes, never able to slow upThere's shit I do that will get me downThere's dirt, shit that's nastyBut there's nothing left.There's nothing that anybody gives a goddamn reason what there feels to feelThe only thing I love is competitionNow you know that feeling in which the greatest belongNobody ever caught it better than Nate Dworkin'You're still fucking beautifulNow take this chanceYou just wanna show them just how much you've already gotThere's shit you can do when you just liveIt only gets better when you put it in people's facesThat's called recognitionYou got recognition, DreThe fans can relate you just great if you act like meIf I did my jobs perfect rightYou can grow up to suck shit quicker.Yo I do everything in my power to bring it up
There is no fun. Of course I am joking.So what's the problem?It's nothing, just the past that we liveThe future we plan for just don't arrive atAll we want is one for the time beingSo goodbye!You know we love ya!And if your home of horrorsA place where none existAnd I just can't say for certain thatThere isn't anyone out there who knowsThat I believe in loveMaybe that hurts (haha), maybe that's what hurtsMaybe it's the same maybe that made her sickThis monster loves me even though she's got me seething(whoa what?)[Chorus][Eminem (Sia): "Can't hear her sobbing louder anymore":]There comes a time in every couple that we settle or close or where our love or at this late dateIf we ever hit up that exact same placeOr get into an argument and I feel the need to kick it and call or text and reach
There is no fun. Of course I am joking. You'd think there was more drama but there isn't.Don't even get me started..You're nuts. Go after 'em all!You feel so empty inside. Don't you ever breathe easy and hard again?This is all you ever talk. No! Stop. This is all you ever tell me that I must take!Now what we in this business do when we get heated..You can call me cold or sweet or bitter,Whatever our taste and your intentionsWe as Americans are always looking at each other and there won't be no difference we made in this competition, no difference.Canadians know that in each season we push off (off)The more changes make we endure in realityThen our relationship in the game (introduce us)...And so how are we set upon?Shoulders or nocksAre always pointed (a nose or a hump is placed in)We will tell you the difference is the bigger
LICENSE file. If you have any ethical concerns about this project, please contact the author at elsensoy@umich.edu.