I miss The Office. So I made an AI write me new scripts.

Hitesh Nair
Jul 10 · 4 min read
A screenshot from The Guardian’s news report

“We’ve trained a large-scale unsupervised language model which generates coherent paragraphs of text, achieves state-of-the-art performance on many language modelling benchmarks, and performs rudimentary reading comprehension, machine translation, question answering, and summarization — all without task-specific training.”

Screenshot from the OpenAI website

Which means if I fed this model a dataset containing every single line from every single episode of The Office, I could theoretically have an AI “buddy” who could keep generating imaginary scenarios containing the people we’ve come to know and love, from the Dunder Mifflin Paper Company Inc, Scranton.

The dataset in csv format.
Is this what they call nostalgia?

Results

Some good ol’ Michael Scott advice.
Proud Mike face.
The model seems to have learned the talking style of the characters.
Seems like a pretty fun episode.
If they ever shot a scene in which Andy and Erin got married, this would probably be the script.
An excerpt from ‘Somehow I Manage’.
Life has come full circle.

Conclusion

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade