Skip to main content

The one where Chandler is in a muffin — Computer writes new Friends episodes

Friends fans, there is something out there to hold you over until the cast reunion next month. Webcomic artist Andy Herd has caused something of a beautiful disaster, which perfectly describes the best episodes of the greatest sitcoms in television history. Herd has taken the script writing job out of the hands of humans and given them to a computer. The results are nothing short of ridiculous. And amazing.

Herd loaded every single Friends script into a recurrent neural network (RNN), which he briefly defined in an interview with The Daily Beast. “It works by predicting the next letter to follow a given sequence of letters, and the predictions are determined by what it learned about language from the Friends dialogue provided.” Basically, it learned to write an episode of Friends using just the information provided, which in this case, was episodes of Friends.

Recommended Videos

The “recurrent” part of an RNN defines the basic function of the process. To predict the next letter or word, the system relies on what came before it. It builds on what it learned in the previous few steps, and continues this pattern throughout the sequence. An RNN can also be “trained” for more predictable and fitting results, but is also limited by long spaces between dependencies, among other factors. Training is not easy and can include teaching the program to scan deeper, and also make predictions for future sentences, rather than just relying on current and previous data.

Herd’s computer initially spouted nonsense, but eventually some gold was struck. After running his program for 12 hours, Herd’s computer produced scenes that shows an inkling of what an RNN process is capable of in this type of application. Herd tweeted some screenshots of this bizarro Friends episode, and we’ve included some of our favorite lines below:

“Joey: Seriously give me a clown on the table that’s all.”

“Chandler: (in a muffin) (Runs to the girls to cry) Can I get some presents.”

“Monica: Happy Gandolf.”

Herd used Google’s artificial intelligence engine TensorFlow, which became open source in November. “I’ve been reading up about machine learning in my spare time lately because it’s really fascinating,” said Herd. “I honestly don’t understand a lot of the underlying mathematics, but I’m trying! Also, Satan helped a bit.”

Herd plans to further develop his Friends bot to make more sense, after which he may release it to the public. He hopes that his efforts can get people interested in learning new things.

Albert Khoury
Former Weekend Editor
Al started his career at a downtown Manhattan publisher, and has since worked with digital and print publications. He's…
3 rom-coms on Netflix you need to watch in July 2025
A woman and a man stand next to each other.

The romance section on Netflix has some heavy hitters in July. What's more romantic than The Notebook? The beautiful drama starring Ryan Gosling and Rachel McAdams has not aged one bit. Trust me, crying remains mandatory, especially at the end. Speaking of tears, A Star Is Born will have you riding the entire wave of emotions from start to finish.

While those two movies are undoubtedly charming, they will leave you in a puddle. This article features three rom-coms that should put you in a better mood. Check out our picks and their streaming information below. 

Read more
3 underrated HBO Max movies you should watch this weekend (July 11-13)
A group of people stand in a line and look.

Last week marked the arrival of Sinners, which is in the running for the movie event of 2025. Ryan Coogler's vampiric horror stars Michael Jordan as twin brothers who return to their hometown to open a juke joint. The opening night transforms into a nightmare with the arrival of a supernatural creature with sinister intentions.

Sinners is now available to stream on the newly named HBO Max. Beyond Sinners, the streamer has an abundance of underrated movies waiting to be streamed. One of our picks is The Suicide Squad, James Gunn's first crack at a DC story. View all three selections below.

Read more
3 underrated Amazon Prime Video movies you should watch this weekend (July 11-13)
Kirk Douglas in Paths of Glory.

Finding a movie to watch on a hot July weekend can be difficult, especially when you feel like you've watched everything obvious. If you're sick of scrolling through Amazon Prime Video and spending more time looking at titles than actually watching one, then we've got you covered.

We've pulled together a list of three underrated movies that are all available on Prime Video. While these movies might have made an impact upon their release, they aren't as well remembered as they should be. Here's why you should check them out.

Read more