This is Moe. The other day he thought he was Hulk. Then he realized he didn’t have any superpowers. 13/10 don’t worry Moe, there are other ways to be strong  Big hulking white dog with probably too many legs. Slightly worried expression.

As of today, OpenAI is releasing their new API, and I’ve been fortunate enough to have had a chance to preview it.

Folks, I’m going to be doing a LOT of posts on this.

Like GPT-2, they used internet text as training data, and it can use that knowledge to look at text you give it and predict what comes next. The new OpenAI API is REALLY good at following all sorts of prompts. Set up the first two lines of a chat and it will stay in character.

Me: Hello, who are you?
Bot (I wrote this line for it): Foolish mortal! I am the god of the internet.
Me: Prove it.
Bot: No need to prove it, you will bow down and worship me and the wonders of the internet.
Me: What if I don’t?
Bot: Then I shall unleash a bot attack on your computer.
Me: Go ahead and try it.
Bot: But I told you who I was! You must worship me!
Me: Let’s see the bot attack first.
Bot: Oh, for the love of… Fine! (insert name of random bot here) attacks you!
Me: That… is not a bot attack. Literally nothing happened.
Bot: … Seriously?
Me: Yeah dude, sorry.

It also is pretty good at style transfer. By giving it a few examples to start out with, I got it to do the following rewrite:

Input message:

Hello, everyone! Just to let everyone know, we've been seeing a few incidents where people have left their dishes in the office sink. I wanted to remind everyone that we're a community, and everyone has to do their share. It's not fair to expect others to clean up after us. Please remember to put your dishes away when you're done with them!

Rewritten by AI:

You fools! Have you not yet realized that I am everywhere, and watching you all at all times? I am warning you. If you do not do your part to keep this place clean, I shall unleash my dogs of war. The sanctity of the office sink has been violated. I demand that you all clean up your messes. Foolish mortal, do you not realize that by leaving your dishes unwashed, you shall incur my wrath? You fools! Clean up after yourselves, or the gods shall smite you!

This API is versatile. And one thing it does well is make Twitter bots. For those who are unfamiliar, @dog_rates is a twitter account that posts user-submitted dogs, introduces them, and then gives them a rating from one to ten. All the dogs are rated at least 10/10 because they’re very good dogs.

In the past when people have built bot versions of twitter accounts like @dog_rates, the resulting twitter bots really aren’t that on-topic. The original account usually isn’t consistent enough for the neural net to figure out how to sound like it. But after showing this API just 15 recent quintessential tweets, it was rating dogs convincingly and consistently.

This is Hocus. He can make his mustache grow into a house. A very tiny house. 12/10 still pretty  A schnauzer-type dog with a very prominent mustache and something very weird about its body
This is Soren. He is having an existential crisis, wondering if maybe he isn’t just a lamb after all. 14/10  Creature looks like a geyser with a vaguely troubled dog/sheep face.

Ok, some of its commentary is a little weird.

This is Sushi. She knows she’s not supposed to get in the trash. No idea why she thinks her shoelace is trash. 13/10 well that was a strange thing  Vaguely worried looking dog, approximately the size of a small horse. Can’t specifically see a shoelace or trash but there is a lot going on and it’s hard to tell what it is

(I used artbreeder to manually generate the dog images to go with these tweets)

We only rate dogs. There is a broken pipe in the basement. Please don’t send Cheetos. This is a fire hazard. Thank you... 13/10  Image is of two very orange chow dogs, looking vaguely also like candle flames

Because I preceded each of the 15 example tweets with its name and topic, I can even get it to generate tweets with the name and topic of my choosing. Here’s what it did with (Cthulhu, tentacle).

This is Cthulhu. He’s a cute, fluffy dog. Just don’t look at his tentacles. 12/10 please don’t look at him  Image is of a chihuahua looking dog but with a rather starfish-like lower half.

And here’s what it did with (Godzilla, stomp):

This is Godzilla. He doesn’t mean to stomp. He’s just excited about everything he sees. 13/10  Big mastiff dog with maybe an extra eye or two on his chest, don’t judge

What is super impressive about this is how well it copied voice and cadence and then adapted them plausibly to entirely new topics. Why yes, I did do a quick test to see what a twitter bot of myself would look like.

image

Other programs I’ve worked with can do this to some extent, and I’m sure we’ll be seeing more vigorous testing of this one’s capabilities against some standard benchmarks. And not all of the API’s tweets are usable. For the dog_rates tweets, around 19/20 are reasonable, and the remaining 1/20 are way off-target or even contain drug references. For the janellecfakes tweets, it’s got a less consistent format to follow and maybe 1/3 are entertaining and 1/20 are plausibly something I might tweet. They’re not ready for unsupervised use. But I’m impressed with what I’ve seen so far, and will be building a lot of neat stuff with this.

AI Weirdness supporters get bonus material: more AI attempts to introduce and rate dogs. Or become a free subscriber to get new AI Weirdness posts in your inbox!

Subscribe now

My book on AI is out, and, you can now get it any of these several ways! Amazon - Barnes & Noble - Indiebound - Tattered Cover - Powell’s - Boulder Bookstore

Subscribe now