diff --git a/data/aclist b/data/aclist new file mode 100644 index 0000000..58e63b9 --- /dev/null +++ b/data/aclist @@ -0,0 +1,210 @@ +Howard Is Bald +Bald To The Bone +A Conversation With Howard Wulkan +Ballad Of Baldness +Howard Wulkan Is Bald (Acoustic & Jazz Versions) +Night On Bald Moutain +You Should Be Balding +If I Can't Have Hair +Howard Wulkan (Wesley Willis Version) +Shut Up Mike, Pt.2 +Art Fag +It, You're A Metal Band +Punching Joe Bonni's Face In +Kill Women +Steroids Guy +Everyone In Allston Should Be Killed +I Noticed That You're Gay +Dead, Gay And Dropped +You Look Divorced +I Hope You Get Deported +Mike Mahan Has Gingivitis +Trapped +You're A Fucking Cunt +Phyllis Is An Old Annoying Cunt +A1 Stankus Is Always On The Phone With His Bookie +Bill Scott's Dumb +Harvey Korman Is Gay +You Fucking Break +Theme From Three Company +Jeanine Jizm Is A Freak +Everyone In Anal Cunt Is Dumb +I Just Saw The Gayest Guy On Earth +Johnny Violent Getting His Ann Kicked By Morrisey +Metamorphosis +I'm Sick Of You +Howard Wulkan's Bald +You're A Tready Fucking Pussy +Tom Arnold +I Got Athletes Foot Showering At Mike's +Big Pasts. Bigger Loser +Marc Payson Is A Drunk +Your Family Is Dumb +Furnace +You're Dumb +Van Full Of Retards +Deche Charge Are A Bunch Of Fucking Losers +Everyone In The Underground Music Scene Is Stupid +Dumb, Fat and Gross +I'm Not Stubborn +Mike Manan's Story +02657 +Gloves Of Metal +Bonus Track +Jack Kevorkian Is Cool +Valujet +You've Got No Friends +You Keep A Diary +You Own A Store +You Got Date Raped +Recycling Is Gay +You're A Cop +You Can't Shut Up +You've Got Cancer +We Just Disagree +Hungry Hungry Hippos +You Are An Interior Decorator +Pottery's Gay +Rich Goyette Is Gay +Branscombe Richmond +You Live In Allston +You Are A Good Food Critic +Just The Two Of Us +Your Band's In The Cut-Out Bin +You're Gay +You Look Adopted +Your Cousin Is George Lynch +You Have Goals +You Drive An Iroc +You Play On A Softball Team +Because You're Old +You Sell Cologne +Being A Cobbler Is Dumb +You Live In A Houseboat +Richard Butler +311 Sucks +Your Kid Is Deformed +You Are An Orphan +You're Old (Fuck You) +You Go To Art School +You're Best Friend Is You +You're In A Coma +Windchimes Are Gay +No, We Don't Want To Do A Split 7" With Your Stupid Fucking Band +Reni Auberjonois +Internet Is Gay +Ha, Ha Your Wife Left You +Hootie And The Blowfish +You Went To See Dishwalla And Everclear (You're Gay) +Locking Drop Dead In McDonalds +Technology's Gay +Your Favorite Band Is Supertramp +I'm In Anal Cunt +You (Fill In The Blank) +Kyle From Incantation Has A Mustache +Bonus Track #3 +Picnic Of Love +I Respect Your Feelings As A Woman And A Human +I Wanna Grow Old With You +Saving Ourselves For Marriage +Greed Is Something That We Don't Need +I'm Not That Kind Of Boy +I Couldn't Afford To Buy You A Present (So I Wrote You This Song) +I'd Love To Have Your Daughter's Hand In Marriage +My Woman, My Lover, My Friend +Waterfall Wishes +In My Heart There's A Star Named After You +I Became A Counselor So I Could Tell Rape Victims They Asked For It +Easy E. Got A.I.D.S. From F. Mercury +I Like Drugs And Child Abuse +Laughing When Leonard Peltier Gets Raped In Jail +I Convinced You To Beat Your Wife On A Daily Basis +I Sent Concentration Camp Footage To Americas Funniest Home Videos +Rancid Sucks (And The Clash Sucked Too) +I Paid J. Howell To Rape You +I Pushed Your Wife In Front Of The Subway +Extreme Noise Terror Is Afraid Of Us +You Rollerblading Faggot +I Sent A Thankyou Card To The Guy That Raped You +I Lit Your Baby On Fire +Body By Auschwitz +I Intentionally Ran Over Your Dog +Sweatshops Are Cool +Woman, Nature's Punching Bag +I Snuck A Retard In To A Sperm Bank +Your Kid Committed Suicide Because You Suck +I Ate Your Horse +Hitler Was A Sensitive Man +You Robbed A Sperm Bank Because You're A Cum Guzzling Fag +I Made Your Kid Get AIDS, So You Could Watch It Die +I Fucked Your Wife +Into The Oven +I Gave Nambla Pictures Of You Kid +The Only Reason Men Talk To You Is Because They Want To Get Laid, You Stupid Fucking Cunt +I Made Fun Of You Because Your Kid Just Died +Domestic Violence Is Really Really Really Funny +Dictators Are Cool +Deadbeat Dads Are Cool +I'm Really Excited About The Upcoming David Buskin Concert +Being Ignorant Is Awesome +You're Pregnant, So I Kicked You In The Stomach +Chris Barnes Is A Pussy +Tim Is Gay +B.T./A.C. +I Sold Your Dog To A Chinese Restaurant +I Got An Office Job For The Sole Purpose Of Sexually Harassing Women +split: "ANAL CUNT / THE RAUNCHOUS BROTHERS" (2000) +The Guy Who Shot His Kid Up With A.I.D.S. Is Awesome +I Went Back In Time A Voted For Hitler +Hogging Up The Holocaust +I'm Hitler +split: "ANAL CUNT / FLACHENBRAND" (2001) +Anyone Who Likes The Dillinger Escape Plan Is A Faggot +I'm Glad You Got Breast Cancer, Cunt +The South Won't Rise Again +I'm Glad Jazz Faggots Don't Like Us Anymore +Bonus Track #5 +7": "Defenders Of The Hate" (2001) +All Our Fans Are Gay +Limp Bizkit Think They're Black, But They're Just Gay +You Were Too Ugly To Rape, So I Just Beat The Shit Out Of You +Hebosaurus +Even Though You're Culture Oppresses Women, You Sill Suck You Fucking Towelhead +If You Don't Like The Village People, You're Fucking Gay +Obviously Adopted +Walker, Texas Corpse +The Word Homophobic Is Gay +You Converted To Judaism So A Guy Would Touch Your Dick +Bonus Track #4 +You Quit Doing Heroin, You Pussy +Fred Shitbreath +Beating Up Hippies For Their Drugs At A Phish Concert +Anyone Who Likes The Dillinger Escape Plan Is A Faggot +I’m Glad You Got Breast Cancer, Cunt +The South Won’t Rise Again +I’m Glad Jazz Faggots Don’t Like Us Anymore +Bonus Track #5 +Ha Ha Holocaust +We’re Not ‘In Da House’ You Fucking Wigger +Fuck Yeah! +Cranking My Band's Demo On A Box At The Beach +Loudest Stereo +Kicking Your Ass And Fuckin' Your Bitch +Hot Girls On The Road +Whiskey, Coke And Sluts +All I Give A Fuck About Is Sex +I'm Gonna Give You A.I.D.S. +Yay! It's Pink! +I Wish My Dealer Was Open +EP: "Wearing Out Our Welcome" (2011) +Beating Up Niggers That Sell Fake Crack +One Man Ghetto +Cop Calling Faggot +Tsunasum +Get On Your Knees, Cunt +Don't Offer Me Weak Drugs Or I'll Kick Your Fucking Ass +Wearing Out Our Welcome +Nothings Offensive Anymore +Wasting Time Writing Anal Cunt Songs +Caring About Anything Is Gay +We Are Anal Cunt diff --git a/lulzbot.py b/lulzbot.py index 2b2f858..3b04e98 100644 --- a/lulzbot.py +++ b/lulzbot.py @@ -22,7 +22,7 @@ import discord, datetime import numpy as np from fortune import fortune from src.twitter import get_tweet -#from src.cartman import cartman_speak +from src.cartman import cartman_speak chuck_quotes = open('data/chuck_quotes').read().split('\n%\n') ligma_list = open('data/ligma_list').read().split('\n') @@ -86,12 +86,12 @@ async def on_message(message): elif message.channel.name == 'cartman': async with message.channel.typing(): - #await message.channel.send(cartman_speak(user_message)) - await message.channel.send("I'm broken, come back later.") + await message.channel.send(cartman_speak(user_message)) + #await message.channel.send("I'm broken, come back later.") elif message.channel.name == 'shitposting': - if user_message in message_handler: - await message.channel.send(message_handler[user_message]()) + if user_message.lower() in message_handler: + await message.channel.send(message_handler[user_message.lower()]()) return client.run(TOKEN) diff --git a/src/cartman.py b/src/cartman.py index 09a1539..45035c3 100644 --- a/src/cartman.py +++ b/src/cartman.py @@ -2,8 +2,11 @@ from transformers.models.auto.tokenization_auto import AutoTokenizer from transformers.models.auto.modeling_auto import AutoModelForCausalLM import torch -tokenizer = AutoTokenizer.from_pretrained('microsoft/DialoGPT-large') -model = AutoModelForCausalLM.from_pretrained('../southpark/output-medium') +#tokenizer = AutoTokenizer.from_pretrained('microsoft/DialoGPT-large') +#model = AutoModelForCausalLM.from_pretrained('../southpark/output-medium') + +tokenizer = AutoTokenizer.from_pretrained('google/flan-t5-xxl') +model = AutoModelForCausalLM.from_pretrained('google/flan-t5-xxl') def cartman_speak(user_message): new_user_input_ids = tokenizer.encode(user_message + tokenizer.eos_token, return_tensors='pt')