Some of my time today was taken up by story edits, so I thought I could use a bit of help on the blog post today.
You may have heard the fuss around OpenAI’s GPT-3, a new AI that can generate impressive results with text and code. (Here’s an explainer, or you can think of it as the world’s most sophisticated auto-complete.) I decided to test out an open-source version called GPT-J by asking it to create a list of ten speculative fiction books.
* Disclaimer: I am an untrained hack playing with a system that (in some hands, at least) is giving the Turing Test a run for its money. Cue hilarity.
My new assistant was happy to help, if sometimes a bit, um, off base. After tweaking the prompt, settings, and iterating several many times to get around the length limitations, here is the result:
Original Prompt (My comments in brackets and bold, all else from GPT-J):
List 10 speculative fiction books:
1. The Lord of the Rings by J.R.R. Tolkien
Result:
List 10 speculative fiction books:
1. The Lord of the Rings by J.R.R. Tolkien
2. 1984 by George Orwell
3. A Clockwork Orange by Anthony Burgess
4. The Shining by Stephen King
5. The Stand by Stephen King
6. The Handmaid’s Tale by Margaret Atwood
7. The Time Machine by H.G. Wells
8. The Lord of the Rings by J.R.R. Tolkien
9. The Girl With the Dragon Tattoo by Stieg Larsson
10. The Hunger Games by Suzanne Collins
I’ve been reading a lot of speculative fiction lately, mostly dystopian and post-apocalyptic, so I decided to put together a list of ten of my favorites. It’s probably a bit more of a guilty pleasure than an accurate reflection of my reading habits, but these are all books that I’ve really enjoyed and can’t wait to reread. I’ll probably be back to add some more to the list.
1. The Lord of the Rings by J.R.R. Tolkien
The first fantasy book I ever read and it’s still one of my favorites. I picked it up when I was 14 or 15, and I’ve read it a few times since. It’s a story of good versus evil, with good triumphing over evil. [geesh, spoiler alert] I read the trilogy in order, though I’d recommend reading the prequel, The Hobbit, first if you haven’t already.
2. 1984 by George Orwell
Orwell’s dystopian novel about a future where the government has full control over the citizens. It’s written in the form of a diary entry by an unnamed character, so you don’t really know who it’s talking about. It’s probably my favorite dystopian novel and the one I’ve read most often. I’ve been meaning to reread it for a while, but I haven’t found the time yet.
3. A Clockwork Orange by Anthony Burgess
This book is about a teenage boy named Alex who is doped up on hallucinogenic drugs. He gets in trouble with the police, and when the drugs wear off he goes berserk and starts brutally attacking people. He’s a classic anti-hero. [I saw the movie. don’t want to see/read it again]
4. The Shining by Stephen King
I haven’t read this one in a while, but I remember enjoying it. It’s about a writer who gets trapped in a hotel during a blizzard, with an evil presence in the hotel. It’s got a great story and a lot of twists and turns, but it’s also very scary.
5. The Stand by Stephen King
Another Stephen King book I haven’t read in a while, but I remember enjoying it. It’s about a virus that’s being spread by a zombie-like virus, and the only way to stop it is to kill every single person. [admission: haven’t read it, but even I know this isn’t quite on the money]
6. The Handmaid’s Tale by Margaret Atwood
This is a dystopian novel about a future where women are subjugated to the men. The story revolves around a woman named June, who becomes pregnant and has to go through an arranged marriage with a man named Nick. [I mean, sort of? on the money about “the men” though]
7. The Time Machine by H.G. Wells
This is one of my favorite science fiction novels. [I can tell, see below] It’s about a time traveler from the future who is stuck in the past, and the only way he can get back to the future is to find the way to his home world. [eehhhh, close enough]
8. The Lord of the Rings by J.R.R. Tolkien
I’ve read this one before, and I loved it. It’s about a group of hobbits and elves [um, kind of?] who go on a quest to destroy an evil ring. It’s not just a simple story about good and evil, but a story about friendship and loyalty. It’s a great fantasy novel. [truth]
9. The Girl With the Dragon Tattoo by Stieg Larsson
[not speculative, but at this point we’re just going with it]
This is a bestseller in Sweden [and everywhere else], and it’s the first in a trilogy. It’s about a journalist who is hired to investigate a crime in Sweden, and the story is told from the perspective of the journalist, Mikael Blomkvist.
10. The Hunger Games by Suzanne Collins
This is the second in a trilogy, and it’s about a girl named Katniss Everdeen who gets sent to the Hunger Games to be a tribute, where she has to fight and kill other contestants in a fight to the death.
I’m a big fan of both dystopian and post-apocalyptic fiction, so I was excited when I found this book at a used book store. I’d been wanting to read it for a while, and I was happy to find it for a reasonable price.
[So, errors but it’s really not terrible so far, although it’s often almost right enough to be problematic if you’re not careful; now here’s where it goes off the rails]
The story is told from the perspective of a 14 year old girl named Charlie who has to survive in a post-apocalyptic wasteland.
I’m not a big fan of the Hunger Games series, but I did enjoy this book. It’s a story about the dangers of technology, and it’s one of the few dystopian novels I’ve read that I actually enjoyed. It’s about a man named Anthony, who has a terminal illness and is given the chance to be frozen in a cryogenic chamber and wake up later.
The story is told in the form of a journal entry by the protagonist, Richard. He has a wife and son, and he’s trying to cope with his son’s death, as well as his own imminent death. The story revolves around Richard trying to make sense of what has happened, and trying to cope with the loss of his son.
I read this book in one sitting, and I’m still thinking about it. [me too, GPT-J, me too]
I’m sure there’s a tech explanation for what happened there, but for now I’ll just be amused.
* * *
In earlier tests, GPT-J did a pretty good job of identifying both science fiction and more generally speculative fiction, but did get a few things wrong.
Examples:
9. Snow Crash by Neal Stephenson
This is a novel set in a virtual reality world called the Matrix. It’s a world in which you can literally “hack” reality.
It’s a brilliant book. It’s set in a future where virtual reality is the new reality. But it’s a bit like the movie Snowpiercer. Snow Crash is a bit like a cross between Snowpiercer and Snow Crash.
It’s really, really, really good. I can’t recommend it enough.
[just, yeah]
…
7. The Stainless Steel Rat by John Creasey [nope, that was Harry Harrison; it didn’t know that Joe Haldeman wrote The Forever War either]
Also, from some of the earlier versions of this experiment GPT-J seems to have a serious thing for H.G. Wells’ The Time Machine. Here’s an example:
Prompt:
Complete this list of 10 speculative fiction books:
1. The Left Hand of Darkness by Ursula K. Le Guin
Result:
2. The Dispossessed by Ursula K. Le Guin
3. The City and the City by China Miéville
4. The Iron Heel by Jack London
5. The Time Machine by H.G. Wells
6. The Time Machine by H.G. Wells
7. The Time Machine by H.G. Wells
8. The Time Machine by H.G. Wells
9. The Time Machine by H.G. Wells
10. The Time Machine by H.G. Wells
Ok, then!
* * *
I will say that all of this took a great deal more time than actually, I don’t know, writing the list myself. That said, even this tiny glimpse shows off the system’s enormous potential.
So (aside from “Generative Pretrained Transformer”) what does GPT stand for?
GPT-J has thoughts:
A: GPT stands for Genuine Personal Testimony.
A: GPT stands for GNU Parted Table. It’s the name of the backend to which I’m referring to when I say that I’m talking about the “system” and not the “table.”
A: GPT stands for “grandparents’ primary teacher”. I created the term to describe those teachers who start a conversation with students and parents as if they are a student’s grandparent. It’s a term I use to describe teachers who have the experience of a parent.
Me, I say it stands for generate, proof, and for the love of The Time Machine, please think.
* * *
Read Full Post »
You must be logged in to post a comment.