“Okay, Let’s begin. First, you must know that the sun is actually a cat. Also, you must know that the sun is actually not a cat. But it’s also not a piece of cheese, or an orange.”
GPT-3
Over the past couple of weeks, the ML community had their handsful discussing and displaying the wide range of utilities of GPT-3. Many developers, both professionals and amateurs, have expressed their surprise saying how most of the demos generated using GPT-3 in a few minutes would usually require significant engineering effort and machine learning expertise.
In the next section, we list 15 exciting ways in which GPT-3 has been leveraged. (h/t to Aditya Joshi for a curated list at GPT3 examples).
1| One Stop Tool
After struggling to prime GPT-3 and spending hours coding a basic demo, @sh_reya and I wrote https://t.co/g3nU5pdJAJ, a tool that takes care of all the web dev details and provides a convenient priming interface. Here I create a recipe generator with just ~30 lines of python. pic.twitter.com/ijwYt0wJL5
— Bora Uyumazturk (@notsleepingturk) July 23, 2020
Shreya Shankar and Bora Uyumazturk created the GPT-3 Sandbox. This project is designed to enable users to create cool web demos using the newly released OpenAI GPT-3 API with just a few lines of Python.
Requirements to use:
- API key from the OpenAI API beta invite
- Python 3
- yarn
This sandbox project has also led to many other demos and applications, which are listed below.
Check more details here.
2| For Mock Up Websites
Words → website ✨
— Jordan Singer (@jsngr) July 25, 2020
A GPT-3 × Figma plugin that takes a URL and a description to mock up a website for you. pic.twitter.com/UsJz0ClGA7
Developer Jordan Singer used GPT-3 × Figma plugin that takes a URL and a description to generate a website. Something as simple as typing, ‘an apple.com like website for Twitter’, would result in the following:
3| For ML Code
AI INCEPTION!
— Matt Shumer (@mattshumer_) July 25, 2020
I just used GPT-3 to generate code for a machine learning model, just by describing the dataset and required output.
This is the start of no-code AI. pic.twitter.com/AWX5mZB6SK
Matt Schumer, CEO of OthersideAI, has used GPT-3 to generate code for a machine learning model, just by describing the dataset and required output.
4| For Writing Creative Fiction
The blog, which goes by the name gwern.net has used GPT-3 for the most creative purposes. Here’s an excerpt where AI plays the role of a grandma:
Human: I am feeling bored today. Grandma, tell me a story about the time the Cat stole the sun.
AI: Okay, Let’s begin. First, you must know that the sun is actually a cat. Also, you must know that the sun is actually not a cat. But it’s also not a piece of cheese, or an orange, or even a gold ring. Now, take a bite of the orange to refresh yourself. (human eats a bite). Ok. The sun used to live at the top of a green mountain. One day, a hungry cat came to the mountain and climbed up to get the sun. But when the cat got to the top, there was no sun there. There was only a hole, that went straight into the sky. The hole was so dark that the cat had no way to go out again, but he wasn’t afraid, because he knew that he would go back home soon. (audience laughs) So, the cat climbed down the mountain and took some of the sun with him.
5| GPT-3 As A Layout Generator
This is mind blowing.
— Sharif Shameem (@sharifshameem) July 13, 2020
With GPT-3, I built a layout generator where you just describe any layout you want, and it generates the JSX code for you.
W H A T pic.twitter.com/w8JkrZO4lk
Sharif Shameem has leveraged GPT-3 to generate code. All he had to do was write a couple of samples to give some context to GPT-3.
Shareen tweeted that If he wanted to write output plain HTML/CSS instead of JSX, all he would have to do would be to rewrite the two initial samples in HTML/CSS. Then all of GPT-3’s outputs would be in plain HTML/CSS.
6| For Writing Podcast
Tinkered Thinking is a podcast that presents the audience with a wide variety of topics in both audio and text format. For their latest podcast, they invited GPT-3. To make the conversation interesting, Tinkered Thinking took their intro paragraph and fed it to GPT-3. On submitting this, GPT-3 generated a continuation of this text given specific parameters like word count. After GPT-3 generated the paragraph, Tinkered Thinking picked up from there and again added a paragraph. This went on back and forth throughout the episode. Here are few excerpts from the podcast with GPT-3:
Input: As the main creator for Tinkered Thinking, I’m somewhat relieved to know this, because Tinkered Thinking is almost always painfully lacking in humor.
GPT-3 continues: “So far, after many thousands of iterations, we have figured out that the best way to get GPT-3 to understand what we want it to do is by giving it examples of our work. In the first phase of the collaboration, Tinkered Thinking gave GPT-3 2 examples of its writing….”
7| For JavaScript API
I managed to develop a GPT-3 demo that produces generative code snippets of the #threejs JavaScript API by textually describing the elements and their parameters needed to create a #webgl 3D scene. pic.twitter.com/jQFwdh0G03
— Antonio Gómez (@Antonio_GomezM) July 28, 2020
Antonio Gomez, a senior engineer at Apple, used GPT-3 to produce generative code snippets of the JavaScript API by textually describing the elements and their parameters needed to create a WebGL 3D scene.
8| For Meme Creation
Tired: Making your own memes
— Mrinal Mohit (@wowitsmrinal) July 25, 2020
Wired: Asking @OpenAI's #gpt3 to make memes.
Amazed to see how much of cultural subtext and nuance language models can pick up on. cc: @gwern @gdb pic.twitter.com/eBrFAWiZhA
Mrinal Mohit, an ML practitioner, used GPT-3 to generate memes that are contextual and in touch with trends.
9| For Legal Documents
Michael taught GPT-3 how to turn legalese into simple plain English. All he did was to feed the model with two examples, and it generated the text.
10| For Generating Resumes
Using GPT-3, one just has to enter where they have worked and what did they work and the API dishes out a decent resume!
11| Creating Search Engines
I made a fully functioning search engine on top of GPT3.
— Paras Chopra (@paraschopra) July 19, 2020
For any arbitrary query, it returns the exact answer AND the corresponding URL.
Look at the entire video. It's MIND BLOWINGLY good.
cc: @gdb @npew @gwern pic.twitter.com/9ismj62w6l
Paras Chopra, the founder of Wingify, used GPT-3 to create a search engine ‘Ask me anything’, that functions smoothly as shown in the demo above.
12| For Generating Financial Statements
Yash, an undergrad at the University of Waterloo, Built a GPT-3 bot that lets people with no accounting knowledge generate financial statements. This demo shows how he has created balance sheets by turning everyday language into Python code.
13| For Understanding Code
Amjad Masad, CEO of Replit, built an application where one can type queries about the code on the go and learn information about the functionality of each item in the code.
14| For Text Completion
Text completion and the combination of style rewriting and text completion. What else should I add to round out the writing tools? GPT-3 #gpt3 pic.twitter.com/XSc6n1hqE2
— Carlos E. Perez (@IntuitMachine) July 25, 2020
Carlos E Perez, an ML practitioner, made GPT-3 perform text completion and the combination of style rewriting and text completion. The styles range from clickbait to neurotic to legalese.
15| For Tweeting
Mind-blowing AI-generated tweets
— Sushant Kumar (@sushant_kumar) July 15, 2020
With @OpenAI's GPT-3 model (thanks to @gdb), I built an app that generates its own tweet given any word.
Also, these AI tweets are indistinguishable from human tweets.
Try for yourself (replace 'word' below with yours):https://t.co/LZN7RkTbE1
Sushant Kumar, the co-founder at Azuro, used GPT-3 to generate tweets that are indistinguishable from those by humans. Though bots on Twitter is nothing new, the tweets, however, can be identified. Since GPT-3 scraped almost everything on the internet, a bot that sits on GPT-3 can fool the humans relatively better.