Skip to main content

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

computer writes ridiculous new friends scripts
Image used with permission by copyright holder
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.

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.

Editors' Recommendations

Albert Khoury
Former Digital Trends Contributor
Al started his career at a downtown Manhattan publisher, and has since worked with digital and print publications. He's…
Arsenal vs Chelsea live stream: Can you watch for free?
top tech stories 08 04 2017 weekly rewind soccer goal getty8 4 17

Locked in an impossibly tight three-team battle for the Premier League title, Arsenal face Chelsea in an important mid-week fixture today at Emirates Stadium. Though the Blues are in the midst of a disappointing season, they still certainly have the talent to play spoiler as the Gunners chase their first league title in 20 years.

This one is starting very soon, at 3:00 p.m. ET, and will be televised on USA Network in the U.S. But if you don't have cable or don't have that channel, we've put together all the different ways you can watch a live stream of Arsenal vs Chelsea for free or cheap.
The Best Way to Watch Arsenal vs Chelsea Live Stream

Read more
The best sci-fi movies on Hulu right now
Caesar rides with a grim expression on his face in War for the Planet of the Apes.

Among the new movies on Hulu in April, the only prominent additions to the lineup of sci-fi movies were The Fifth Element and Pacific Rim, both of which have been on Hulu before. But as long as Hulu has top-tier titles like War for the Planet of the Apes and the 2021 remake of Dune, then sci-fi fans should be very happy with their options.

You can find the rest of our picks for the best sci-fi movies on Hulu below. They include the original Alien, Blade Runner 2049, and more. Not all of these films on this list are owned by Disney or 20th Century Studios, so catch them while you can. They won't be around forever.

Read more
The best hidden gems on Netflix right now
Ahn Eun-jin in Goodbye Earth.

Have you ever come across a show on Netflix that was so particular to your taste that it felt like the series was made for you? If so, chances are good that it only got a single season on Netflix. No one has enough time to watch every series on Netflix, and the vast majority of them come and go with such speed that it's almost like they were never there at all.

This roundup of the best hidden gems on Netflix is dedicated to finding shows that deserve a second look, or at least an elevated push on Netflix's algorithm. This month, we're putting the spotlight on Goodbye Earth, a new Korean drama that dropped this week, as well as a nature documentary called Our Living World and a sitcom that was one of Netflix's one-season wonders: The Good Cop. You can find these three and more below in our roundup of the best hidden gems on Netflix.

Read more