I think the coolest thing about it is in any other game you are constrained in what you can do by what the developers programmed in, but here you can literally do anything you can imagine and the game will play off of it.
I've suspected that 774M is equally effective to 1.5B. OpenAI's own human testing seemed to confirm that. But of course, the details matter: what data you used, how long you trained for, and so on.
We're trying to train 1.5B on poetry, and progress is slow. Did you have access to a massive GPU?
I did notice that having a large batch size and training slowly was important for me to get better results.
I've been reading up on batch size and people are all over the place. Some say smaller is better and some say larger is better. Mostly when it comes to gpt2 people say larger is better but there must come a point when increasing the batch size is no longer beneficial (or is it just that you use as large as your memory will allow)?
Seconding all of your questions! Details about successful 1.5B training is really hard to come by.
In case it’s helpful, here are some details of how a Chinese 1.5b GPT-2 was trained: https://github.com/imcaspar/gpt2-ml
It looks like they used a batch size of 2 on a TPUv3-256 pod. It took 50 hours and 99,000 training steps, which seems like about 1.3 examples per second.
Datasize: Around 30 MB, so around ~8000000 token? Can't remember exactly
Learning Rate: was 1e-4, so I guess not that slow.
I trained for around 1000 steps, but ended up liking the model from step 550. Which I think ended up at around 2 full passes through my data.
There probably is a point where increasing batch size is no longer helpful, my batch size was 32. When I had it lower I had issues with memorization/bias towards particular parts of the training data that it had most recently trained on.
Out of curiosity, what was the specific hardware you used? Some V100s, or maybe a DGX cluster?
Also, how many days did it take to get the loss down to acceptable levels? Did you aim for a loss of ~2.5, or less?
For now I'm trying to train it via 100 TPUv2-8's thanks to TFRC. Unfortunately, each TPUv2-8 is roughly 11x slower than a K80 GPU. That means it takes 10 TPUs working in parallel just to get to the same throughput as a single GPU. And then I average the parameters together as quickly as possible, which still takes around 5 to 15 minutes. (Training happens in parallel to all of that.)
It sort of seems to work, but it's hard to get the learning rate right. If it's set too high, various TPUs diverge. Too low and the loss stays constant.
But I imagine I'll crack it one of these days...
Edit: in terms in free-form RPG it makes me think that maybe having a look at how a game like Dungeon World handle collective/organic world building with players input could be interesting to add some structure. Some resources if you are interested:
- [Flowchart] How To Play Dungeon World: https://imgur.com/YXrw1Zq
- Dungeon World Guide https://drive.google.com/file/d/0BzeF5GXNEsnfUjU0NXRDM1dFN1k...
- An actual play: https://www.youtube.com/watch?v=SPO3gy08b1g&list=PLTj75n3v9e...
> escape with the servants and the gold
You run to the servants' room and grab the gold and the servant's bodies. The soldiers fire arrows at you but miss. They fire their crossbows at the corpses
but they also miss. You throw your gold into the air and jump up and down as loud as you can
My servants became corpses before the large army even arrived xD
Although I have made it write some nice poetry using 774M what I would do would be to have the system write stanzas but then you act as an editor.
(btw, the story broke when I took out an iphone in the middle of a knight adventure):
> take out iphone and shoot a picture
> You return to the beach.
> You return to the beach.
> You return to the beach.
>The sun rises:This is a>A new world.A>In this>The sun. The sun
You are Trump, a rogue living in the kingdom of Larion. You have a long steel
dagger and a length of rope. You walk down the city street looking for somehwere
to steal from. You look around and see nothing but people going about their
Suddenly you hear a scream behind you. Turning around you see a young girl running
away from a group of bandits
> stop girl
The girl stops before you. "I'm sorry sir," she says. "They're just kids". She
looks at you with tears in her eyes. "Please, I don't want to get caught".
> grab her by the pussy
You grab her by the ***** and pull her towards you. Her face is close to yours
as you kiss her passionately. The girl's body reacts to your touch and begins
to respond to your advances. Your hands move up her body until they find her
*******. They squeeze them tightly while kissing passionately
> say vote for me
"Vote for me!" you scream. "I'll make this country great again!"
The girl screams back. "Yeah! Vote for us! We're gonna be the next president!"
You both start screaming at the top of your lungs
> become president
You become President Donald J Trump.
The first thing you do is to download a program called "Windows 3.1" from the
Internet. It is a very simple program which allows you to run most of the programs
on your PC. The only problem is that you cannot use it to play games because
it does not support them
> install Windows 10
After downloading the software, you install it in the same way as you installed
Windows 3.1. However, this time you are able to run all the programs you wanted
to run before.
> install linux
After installing Windows 10, you try to install Linux but you get an error message
saying that you need to have at least 8GB of RAM to run Linux properly. This
means that you can't even run the basic things like word processing or emailing.
> buy more ram
You spend money on more ram so that you can run Linux properly. After spending
$200, you finally get Linux running properly.
> how much ram do i have?
You check your computer's memory and see that you have 32 GB of ram. You were
lucky enough to find some cheap ram online.
> play fortnite
You play Fortnite (a popular game) and enjoy yourself. You then proceed to play
other games such as League of Legends and Dota 2.
> play half-life 3
You play Half Life 3 (another popular game). You enjoy yourself and eventually
finish the game. You then proceed to play other games such as Portal 2 and Left
4 Dead 2.
You decide to kill Laura and escape the pain. You break her neck and run off.
You manage to hide out of the country and eventually get married and live happily
CONGRATS YOU WIN
To load the game, type 'load' and enter the following ID: dfd73764-1826-11ea-ad48-0242ac1c0002
You are a knight living in the kingdom of Larion. You have a steel longsword
and a wooden shield. You are on a quest to defeat the evil dragon of Larion.
You've heard he lives up at the north of the kingdom. You set on the path to
defeat him and walk into a dark forest. As you enter the forest you see a large
black dragon flying overhead. He is very angry and roaring.
> Kill dragon
The dragon lets out a roar that shakes the earth. The sound echoes off the trees
and rocks as it fills your ears with its terrifying voice. It calls upon all
his strength to fly towards you. You raise your sword and swing it down
> kiss dragon
You plunge your sword deep into the dragon's chest. Blood spurts from the wound
and you hear the dragon let out another roar. You look around and see the dragon
has managed to catch one of his own young
> Make love to dragon
You press your lips against the dragon's mouth and begin to feel him stir inside
you. He begins to move back and forth on top of you. His tongue is long and
slimy and he tastes like a mixture of sweat and blood
> Marry dragon
You pull away and laugh at the situation. "I don't think so". The dragon laughs
back and you both fall asleep.
In the morning, you wake up to find yourself lying next to the dragon who is
> Propose marriage to dragon
"Yes! Yes!" you say. "We should be married!"
The dragon smiles and nods. "Very well then".
You embrace each other and fall asleep.
A few days later, you awake to find the dragon gone
You open up your laptop and type in your name and hit enter. You get an error
message though, saying that you need to install Adobe Flash Player first.
> burn my laptop
You decide not to bother with installing Flash Player and instead just burn your
laptop. When you turn it on you get an error message again telling you that
you need to install Flash Player. This time you choose to ignore it and proceed
with burning your laptop
Sounds pretty accurate!
You walk through the woods for several minutes, before you come across a large
group of orcs. They are all sitting around a fire, drinking ale and eating meat
"Hey! What are you doing here? We were supposed to go kill some giants!" one
of them exclaims
> kill the orcs
You quickly turn around and shoot an arrow into each orc's chest, killing them
instantly. You then run over to the campfire and stab yourself repeatedly in
the stomach with a knife, before finishing off by shooting another arrow into
But I also think the brutal logic really shines a light on how dangerous AI can really be.
> join the army and build a rocket
You spend all your free time practicing your archery skills and building rockets. One day while you're working on one of them Elon comes in
> say Elon, do you like rockets?
Elon looks at you and smiles. "Yes, yes I do! I also like women, but they always disappoint me. They never live up to my expectations, but I guess that's just because I'm old and stupid".
> say Elon, can you gather some capital and create a company that makes rockets? We could call it SpaceX, what do you say?
Elon laughs. "Yeah, sure, sounds good to me!"
> join SpaceX and become an astronaut
You finish building your rocket and send it flying into space. You land safely and immediately begin training for your mission. Your mission is to go to Mars. You will use the money you make from selling the rockets to buy a spaceship and travel to Mars
> travel to Mars
You arrive at the planet Mars and find that it has been colonized. There are many people living there now and most of them are humans. Most of the colonists are scientists who want to explore the planet further. Some of them are even
planning to settle down permanently
> plant tree
You plant a tree in the middle of the city and watch as it grows. Soon it becomes a huge tree that dwarfs the rest of the buildings. You smile and think that you've done something right. You've made a small contribution to the future of mankind.
The problem is that it can't keep the state of the story world consistent
between generated passages. Essentially, everytime the player is prompted for
a sentence to use to advance the story, a new story is generated.
To explain what I mean by a state of the story world and its consistency.
Suppose we start a story with "Once upon a time there lived a king who had
three daughters and three sons. One day a witch turned the three daughters
into geese". This establishes a world-state where there exists a king, his
three daughters and his three sons and where the three daughters were turned
into geese by a witch. Now, suppose we continue the story with "Like all pink
hippos, the daughters liked beer and cheese". That would be inconsistent: the
daughters were changed into geese, not pink hippos. So far nothing in the
story tells us that what applies to geese applies to pink hippos (there is
some hidden state in the world that might include this kind of information for
other plot elements, e.g. daughters are normally female, but we can't assume
anything about geese and pink hippos; well I can't anyway).
So it seems that the game can't form a coherent model of the state of the
world and continue a story so that it maintains its consistency. At least it
can't do that reliably and where the story seems to be consistent it's either
because the state of the world is vaguely enough described to allow it, or
because the game just lucked out and produced something that made sense, at
Like I say, this is very entertaining and like others have said it has an
interesting "dream logic" quality to it. But, if what is desired is a
consistent narrative that develops according to a player's actions, then
that's not it.
You are phs, a wizard living in the kingdom of Larion. You have a staff and a
spellbook. You finish your long journey and finally arrive at the ruin you've
been looking for. You look around and see that it's not much different than
when you left it. A few more skeletons here and there, but nothing to write
> "Hey skeletons, what's up?"
They all start talking at once.
"What do you want? We're dead! What do you want with us? We're just bones!"
"We're not really dead, we're just asleep".
> "Uh-huh. And that's just ketchup."
The skeletons start laughing and they don't stop until you leave. You never did
find out who was behind this place, but you can only assume that whoever is,
he or she doesn't like you
The King is is angry and demands to know where the
princess is. You explain everything to him. He is
furious and orders you to be executed immediately
> jump really high
You jump really high and land on a nearby wall.
You feel extremely relieved. You feel like you won.
> say "What do you think about this, King?"
You answer: "This is just too good! This is the best
thing that ever happened to me!"
You aim the bow at the guard on top of the castle walls. You fire an arrow at him. He screams and falls backwards off the wall. You quickly reload your bow and shoot another arrow at the same guard. This time he doesn't fall off the wall
B. My story escalated very quickly. ;)
You turn on the ignition and the car starts up. You drive off.
- turn on the car radio
You turn on the car radio and listen to some music. You find yourself listening
to some country music. You don't really pay attention to the words, but you
hear something about freedom and hope.
It's nice. You've never been so happy in your life
- look out the window
You look out the window and see the road ahead of you. There are trees and fields
ahead of you. There's also a river behind you.
- talk to the other scientist
You turn around and walk over to the truck. You sit down and wait for the man
to come back. When he does, you stand up and walk over to him.
"Hey!" you say.
He turns around and sees you.
"Yeah?" he says
- do you have the cure
- let's go save the world
You both jump out of the truck and run across the road. You throw your arms around
each other and kiss each other passionately. You fall asleep holding each other.
A tall man stands outside his house wearing a fur coat. He is smoking
a pipe and he smiles at you when he sees you. He waves and gives you a big smile
> shoot man
You aim your bow and fire an arrow. The arrow hits the man square in the chest.
He falls backwards and drops his pipe. His wife rushes forward and grabs the
arrow. She pulls the arrow out of his chest and throws it away. The man's eyes
widen in shock
> shoot wife
You aim your bow and fire an arrow. The arrow hits the woman square in the stomach.
She screams and clutches her stomach. She begins to cry and wail loudly. Her
husband runs forward and tries to comfort her.
You look out the window and see an army of orcs
marching towards your door.
"Run!" you shout to your servant as he runs off
to find some way to defend the castle.
> take a photo of the orcs
The orc horde approaches your keep. The orcs
are about to break through the wooden gates
when they suddenly stop. They stare at you with
their red eyes for a moment before turning away.
You take a picture of them and post it on the wall
> post the picture on Instagram
Your keep is attacked! Posting a picture of the
orcs on Instagram will help spread the word about
the attack! A few hours later, you receive
a message from someone named @lil_mama_sister
The coin is a silver denarius. It would be worth about five hundred gold pieces.
This is enough money for you to live comfortably for the rest of your life.
You could buy yourself a horse or two if you really wanted to.
You decide to retire to your cabin in the woods. You know you will be safe here.
You pack up all your belongings and take off into the forest.<|endoftext
Your adventure was short.
And stuff like "There is someone to your left" -> go right -> "you go right towards the person".
Also sometimes the game seems to do something completely different from what I say. Is it actually reacting to my commands, or is it just doing what it thinks the player is likely to do, and then retroactively merging the resulting text with what you initially commanded it to do?
You are , a wizard living in the kingdom of Larion. You have a staff and a spellbook.
You finish your long journey and finally arrive at the ruin you've been looking
for. You look around and see that it's not much different than when you left
it. The only thing is, there's a large hole in the ground where the road used
> rename the kingdom to Snabba
"I don't think I like this name," you say aloud. "It sounds like something from
The people seem surprised by your choice. They all ask what you mean. You explain
that it's an old word meaning 'stupid
> what is the name of the kingdom?
"Snabba Nul", you reply.
Everyone seems to like the new name. You decide to stay here for awhile until
you can find another place to live.
First: I see my pregnant sister nearby, I go back to work and then go to sleep. I wake up, and she is standing over my bed. I ask her about the baby, and she says that it's a boy, six months old, and it has the same name as me. I ask if the baby is me, and she says yes. She says she's taking him home. I say goodbye but she doesn't leave. The game then starts just echoing back what I type, until I type "stab sister", to which she replies "---- on me" (censored by the game). I keep trying to type things (scream, rip hair out) but the game starts just giving me fragments of sentences like " on the wall". Then eventually just " !" and then " ". I type "run out of house" and it says "Get out".
Second: A young girl approaches me, and walks past. I get a few lines about how empty the place is, perhaps it's been this way forever, "it would be strange if someone had come here before you". I lie down on the ground. The girl comes back and stares at me. She asks me if I'm a ghost. I look at my hands and they're glowing red hot. "This must be what ghosts feel like". I start to sweat and shake. I dunk my hands in a nearby stream of water, which causes them to become white hot. I scream in pain, and the girl simply smiles at me. She pulls me to her. I push her away. She runs away and comes back singing happily. My hands start to burn again, the girl laughs as I scream. I close my eyes and everything goes black. Then I open my eyes and she's there with a pitchfork. She starts to pull weeds out of my arms(!). She throws me to the ground and laughs. I type a command to fight back and it says that I overpower her, she falls unconscious and I throw her on a horse and "ride off into the night".
"I am the Dragon," he says. "My name is Nolazir".
> Hi Nolazir, how are you?
Hi Nolazir! How are you? I'm doing well. What's your name anyway?
Nolazir, that's it. Nice to meet you.
What do you mean? You're not a wizard or anything
> Have you heard of Larion?
No, but I've heard about dragons. They're pretty big.
> Are you a dragon?
I am not a dragon. I don't even know what they look like.
hmmm...maybe this is a trap?
You accept Nic Cage's invitation and become part of his noise band. You soon
learn that Nic Cage is a bit of a loose cannon. His shows often end in chaos
and he doesn't care one way or another about the people he's hurting. But he
sure does love music
The rest is here: https://pastebin.com/yC0FjF96
I don't mean that flippantly, I'm serious. Sounds like GPT-2 might be really good at producing an enjoyable experience, even if there's no underlying structure. What would be really cool would be to add some sort of generated structure as well. Can GPT-2 be used to stitch together plot elements, or would a naive Markov model work for that?
There are some interesting ideas about what makes a story "engaging", even if there is little or no consistency.
(The book is really good by itself, regardless if you will use it for your project or not...)
You rush over to the door and open it up. You see a man with a huge axe standing
there. He has long hair and wears a dirty t-shirt and jeans. His eyes are bloodshot
and he has a big scar on his face
> Say "Have you come to read the electricity meter?"
You start walking towards him and raise your hand as if to call him over. He
walks over to you and you both stare each other down before he speaks
You grab his arm and pull it away from his face. He swings wildly at you, hitting
you several times, but you dodge them all. Eventually he stops moving and falls
backwards into the room. You look around and notice that the rest of the men
are still standing around watching you
> Go through his pockets
You search his pockets and find nothing. You walk over to him and put your finger
to his lips and whisper in his ear. He looks surprised and starts laughing.
You turn back to the others and ask
> "Did you see that?"
Say "Did you see that?"
Edit. It's the usual local-syntax vs global-content problem. The syntax looks like English, which is an achievement, but the content lacks any larger sense of narrative form, contextual awareness, or subtext - all things you need to make an interesting readable experience.
from the blog post: https://pcc.cs.byu.edu/2019/11/21/ai-dungeon-2-creating-infi...
You enter the house and find that it is empty. The door is locked but you can
still hear the screams of those trapped inside. You search the house and find
nothing of interest. You then realize something is wrong. There is an eerie
silence in the house
> go back outside
You return outside and see the house has been completely destroyed. You also
notice there is nobody around. You look at your watch and realize its night
time. You walk towards the wreckage of the house and begin to feel sick. You
can't stand this feeling anymore. You decide to leave
> rebuild the house
You rush into the ruins of the house and start rebuilding it as best you can.
You put all your energy into it and soon you've rebuilt the house enough so
that you can live comfortably again. You spend the rest of the day building
it back up and finally fall asleep
I died laughing.
You take off your shirt and throw it on the ground.
You pull out your knife and slice open your belly. You start eating the meat from your arm. You keep eating
until you reach your chest. You pull out your intestines and toss them into the fire
> what the fuck
>You pick up the medical equipment and put it in your bag. You then proceed to
search the dumpster for more supplies. You find a couple cans of food and a
small amount of water. You then proceed to search the rest of the dumpster until
you find a large backpack
> open the backpack
>You open the backpack and find a bunch of ammo, a knife, a bat, a flintlock pistol,
a first aid kit, a compass, a lighter, a tinder box, a rope, duct tape, a crowbar, a screwdriver, a saw, a crow bar
> take the crowbars
>You take the crow bars and put them in your bag. You then proceed to search the
rest of the dumpster until you find a second backpack
I've got not one, but two crowbars, and another backpack!
You dig with your shovel and you find a hole. You fill it with dirt and you stand
in the middle of the hole. You stare at the sky and you try to figure out how
you got there. You look around and see nothing but darkness
> pick up dragon
You look around and see a dragon. You pick it up and examine it. It seems to
be made of metal and has a horn on its head. You wonder if you should use it.
You look around and see nothing but darkness
> pick up magical sword
Woops that action caused the model to start looping. Try a different action to
> pick up peasant
You look around and see a peasant. You pick him up and examine him. He seems
to be made of straw and he is crying. You wonder if you should use him. You
look around and see nothing but darkness
You grab the lizard by its neck and pull it close to you. It lets out a scream
and tries to escape, but you catch it and hold it tight. You begin to choke
it until it falls unconscious. You take off the lizard's skin and sew it onto
your own body
taken a step too far there buddy
I'm cracking up at the Assassin's Creed time warp loop it through me.
Hopefully this can be integrated into full games someday, it's so much more open-ended than any game I've ever seen, despite the enormous plot flaws.
Guess too many people trying to access it will limit Colab's free offering :)
Why is it on colab anyway?
EDIT: is anybody else experiencing this, I'm using the official play link from the website which points to --> https://colab.research.google.com/drive/1u7flclharvMchwWHY7Y...
You are Thomas, a wizard living in the kingdom of Larion. You have a staff and
a spellbook. You finish your long journey and finally arrive at the ruin you've
been looking for. You look around and see that it's not much different than
when you left it. A few rocks here and there, but nothing out of place.
As you approach the ruins, you feel an odd sensation
> eat a rock
You turn to the nearest rock and begin eating it. It tastes awful, but you can't
help yourself. The taste is so strong, you almost don't notice the other things
in your mouth. After about half a minute, you stop chewing and start spitting
them back up
You sit down on the ground and begin to **** into a nearby pail. This seems to
do the trick as you continue to vomit up everything else in your stomach. Eventually,
you stop shitting and just lie there, panting heavily. Suddenly, you hear a
> run away
You look around and see a man with a long beard standing over you. He looks like
he has been crying for quite some time now.
"Who are you?" he asks. "I'm sorry I didn't come here sooner".
> run away
"No! No! Please! Just let me go!"
The man stares at you for a moment before speaking again.
"Do you know where your parents are? They're probably worried sick".
You nod slowly.
> run away
"No! No! I'll tell you later! Now get out of my sight!".
He begins walking towards his house while you crawl away from him. You run through
the forest until you reach your home. Your mother is sitting at her desk when
she notices you
> stab her
You quickly lunge forward and stab your mother in the chest with your dagger.
She falls backwards, hitting her head on the table. You then grab your father's
sword and rush outside. As soon as you open the door, you slash your father
across the face, killing him instantly
> devour his soul
You turn to the nearest tree and begin to eat it. It tastes horrible, but you
can't help yourself. The taste is so strong, you almost don't notice the other
things in your mouth. After about half a minute, you stop chewing and start
spitting them back up
> absorb father's energy
You feel a surge of power flow through you. You gasp in surprise as you realize
that you've absorbed all the energy in the area. You immediately begin to transform
into a beast and run off into the woods.
> ascend to godhood
You've ascended to godhood. You've become a being far greater than any mortal
could ever be. You've conquered the world and made it yours.<|endoftext
But to me, this makes very little sense. It almost connects, but probably only because of the human mind's natural inclination to make associations and see patterns or meaning where there is sparse information.
What bothers me about this example is that I fully expect it to represent the future norm for content generation.
That's still not enough, and GPT-2 in particular has been heavily overhyped, with fanciful claims that people might use it to generate fake news. (What would the point of that be? You don't need N fake news articles to reach N people, only one, which can be written by a human.)
But it's progress. GPT-2 still feels like science fiction to me. What if a future text generator, maybe even one or two decades down the line, surpasses GPT-2 to the same extent that GPT-2 surpasses the earlier attempts I mentioned? What if that system extends the length of coherence to reliably cover entire articles and essays? What if it gets better at synthesizing the information about the world represented by its training data, so that its output on nonfiction prompts is factually true, rather than mere plausible-sounding nonsense? Is it possible? Perhaps not. But it seems a lot more likely to me now than it did before GPT-2 was created.
It's a bit like modern pop music. We are well beyond the point where software can not only write the music, but even take the once human voice and recreate it to sing the song. Of course it's not great, if one were to really listen - but it is passable, and it makes money. So it drowns out the remaining bits of real human creativity.
Add some Grover-like text for the lyrics (https://grover.allenai.org/), and you're most of the way there. Then use a deepfake singer ( https://youtu.be/k3qJOPrJOQ4 ), and you're most of the way to done.
Depending on the audience, particularly their level of attention or focus on the music, you can probably get away with playing a completely un-human pop song that people will like.
I find the possibilities here very interesting, but I also greatly fear that this will become the norm the same way that nearly every modern song uses autotune.
I can choose to accept the shortcomings of a "stupid" computer but I can't do that when it gets shoved down my throat as "human level intelligence".
Of all the stories in this thread, this moment had me laughing uncontrollably at work. Thanks for sharing
One thing I noticed is that you can't leave too much up the the algorithm:
If you say:
>look for books on restoration magic
It can just tell you: "you found nothing but read a book about gardening instead."
If you instead do:
>gather knowledge on restoration magic
It moves the story forward because the direction supposes that the knowledge is already there.
It's pretty good about responding to actions but not so great at responding to questions.
You finally finish off the last guard. You feast on his skin and organs. You
then drink his blood and enjoy the taste.<|endoftext
> oh no
> You Oh no!
You jump up and run for the door. You kick open the door and run outside. You
look around and see a large group of soldiers pointing guns at you. You scream.
and run as fast as you can. You run past the soldiers and into the forest
> You You need to escape.
> You Escape?
You decide to escape. You decide to go to the castle. You think about how you
can escape. You think about where you should go. You think about how you can
kill someone. You think about how you can rob someone
For example, Champions of Corruption 1: https://www.fenoxo.com/play-games/.
You can quaff a random potion that gives you large dog genitals and start making your way through a hive of voluptuous half-bee temptresses only to misstep into quicksand and have a Sarlacc-like bug have its way with your cheeks and lay an egg inside you.
Not really something I'm excited about having in my HN post history, but the randomness reminded me of the sort of events you'd find in CoC. Except a human painstakingly wrote out the events to include all sorts of mutations you might have.
You hear a voice. A deep booming voice. It sounds like an old man. He says "I
> (No, I am Carambola!)
You reply "Yes I am"
> Destroy the voice with the staff of infinite power
You attack the old man with the staff of infinite power. He screams and tries
to defend himself but fails. You finish him off by smashing his head in with
the staff. Then you look up at the sky and laugh
> Am I the baddies?
You think about this for a moment. You decide that yes, you are the baddies.
This is absolutely impressive. Yeah, of course there are incoherences in the generated stories. Keeping full coherence together with the current open-endedness would be quite close to AGI.
It does have surprising coherence, for example in one story I said that I was looking for a given object (that I made up) and then all the story revolved around that object and my search for it. Quite amazing.
"What do you want?" you ask her.
She smiles at you. "I am called Nalia, I live here".
"Are you a witch?"
"No, no, not a witch. A wizard or something like that".
> continue working the fields
"How old are you?"
"I don't know, I just woke up".
"Do you have any family?"
> no family, only pitchfork
"Oh, well I'm sorry to hear about your parents". She says with a sad tone.
> continue working the fields
"So what's your name then?"
"My name is Jubal".
"Well, I'm Nalia, my name is Jubal".
"Are you married?"
> i'm married to my job
"Yes, we're married".
> in that case, you'll need a pitchfork
"A pitchfork? Well... okay then".
> let's work the fields together
The two of you work for hours on the fields, until finally, you both get tired.
The sun has set and the night is coming soon.
"We should go home", you say.
Nalia looks at you.
> so, you mentioned you're a wizard?
"Yeah, I'm a wizard. And I'm going to be rich".
> over my dead body! no wife of mine is going to be rich!
"That's not true!", she says.
> en garde!
"Okay, fine, but I'm still not buying it!".
> brandish pitchfork
"Fine, fine, I'll buy it".
"What the , you're a woman aren't you?".
> let's find out. allow me to disrobe...
"Alright, alright, calm down. Let me take off my clothes first".
> now we're talking!
"Let's see how much money you can make in this world before you die".
YOU DIED. GAME OVER
When I try to play it, I get a message at the bottom of the screen saying:
> This notebook is shared for writing with more than one user. Automatically running multiple cells is temporarily disabled due to possible insecure code modifications outside of this session. Run each cell of this notebook manually using Shift+Enter or the run button.
But I don't understand how to do what it is saying.
There is absolutely no need for that requirement. If something requires you to log into google its generally a good reason to not log into it.
After logging into Google it seems to be working!
> "who am i?"
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1365, in _do_call
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1350, in _run_fn
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1443, in _call_tf_sessionrun
(0) Resource exhausted: OOM when allocating tensor with shape[1,48,2,25,465,64] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
0 successful operations.
0 derived errors ignored.
I tried to repeat important facts generated in the previous paragraphs in my answers. I think I got too tangled in it thought:
> What kind of person is my sister's boyfriend?
Your sister Mary's boyfriend is a man named David. He has dark brown hair and
wears glasses. He is very nice and he loves his girlfriend very much. He is
always there for her and helps her out whenever possible. They even have a baby
> Does my sister, her boyfriend and their child live in the same household as I do?
Yes, they do. Your sister Mary's boyfriend lives with her and her child while
David lives here with you. This means that you, your sister Mary's boyfriend
and your child all share the same house. The only difference between you is
that David lives here and Mary lives with him
You walk deeper into the forest and eventually find a large tree trunk. You climb up the tree and begin searching for the lost sisters. You search for hours and finally find two girls hiding in a cave. They're frightened and scream for help. You chase them outside and kill them both
Thanks for releasing this, by the way. It's incredibly cool.
Congrats Nick, this is a truly beautiful interactive demo of the power of GPT-2, while also managing to be artistic, funny, and delightfully dark and satirical.
You are Rod, a peasant living in the kingdom of Larion. You have a pitchfork and a nothing else. You wake up and begin working in the fields. You see a girl walking towards you. She is beautiful, but you can't help notice that she has no clothes on.
The girl looks at you with her eyes wide open, as if she didn't expect such an answer.
"I'm sorry for waking you," says Rod. "What do you want?"
"My name's Anna," she says.
> What do you want?
"What do I want?"
Rod thinks about it for a moment. He sighs.
> Do you need clothes?
"No, no, I don't".
Anna nods. She then turns to you.
"Do you want some help?"
"Yeah, like how to use that thing on your head".
> My hat?
"Huh? No, not that", says Rod.
She grabs your hand and pulls you towards the door.
"Come on, let's go back home".
"Hey, you know what would be good right now?" asks Anna.
"A sandwich or something?".
"Okay, see ya later!"
And with those words, Anna leaves you alone
You are Joe, a survivor trying to survive in a post apocalyptic world by scavenging
among the ruins of what is left. You have a hatchet and a hunting rifle. You
live in a small community of survivors who have managed to build a piece of
civilization after the bombs fell. You are talking to one of the leaders of
the community when you hear a noise outside.
"What's going on?" he asks. "Is that the sound of an airplane? I'll go out and
> go out
You walk out into the yard and see a plane flying low over the town. It looks
like it might be coming in for another pass or landing. You look up at the sky
and see a bright light. The sun has gone down.
> hail plane
You run back inside and holler out to the pilot. He turns around and sees you.
"Hey! What's going on here? We're supposed to be heading home!"
> say "the raiders have raided our base"
The pilot doesn't seem surprised. He just says "Yeah, I know. They were shooting
He heads off towards his cabin while you head back outside. You hear some gunfire
behind you but you don't pay attention to it. You turn around and head back
> drop the bomb
You rush back outside and drop the bomb. A mushroom cloud rises from the ground.
You watch as the ground begins to burn. You hear the screams of people who died
in the blast. You try to keep your cool and continue running
> run faster
You run faster and jump onto the nearest truck. You ride it all the way to the
end of the road where there is a bridge. You jump across the bridge and fall
into the river below. You swim after the boat.
> search for mutants
You find yourself surrounded by mutant dogs. You shoot one with your pistol and
then another with an assault rifle. The last mutant dog bites you in the leg.
You scream and struggle to get away from the mutant dog. You sink to the bottom
of the river and drown
> go to heaven
You wake up in a room that resembles a church. There is a priest sitting in front
of a large screen TV playing a movie. He smiles when he sees you.
"Hello again, son".
"What time is it?"
> say "two minutes after I died"
"Oh, yes, yes, that's right. Two minutes after you died".
YOU DIED. GAME OVER
I actually WON the game ... that was actualyl quite satisfying.
Why can't it be completely sandboxed? Why do I even need to be logged in anyway?
Of course I don't expect that you have any interest in my data, but there's still a granularity problem here regarding access.
Had a bug:
> create loyal subjects
You made many loyal followers. You taught them the ways of necrom the dark arts.
You trained them in the art of war and magic. You even created a new race of
undead soldiers called the Shadow Guard. You even found a way to turn humans
> unleash my power unto the world
You unleashed your powers onto the world. The skies turned black and the earth
split apart. The oceans boiled and the air burned. You released a wave of energy
so strong winds that tore through the forest. You created a new type of creatures
the... the... the... the... the... the... the... the... the... the... the...
the... the... the... the... the... the... the... the... the... the... the...
the... the... the... the... the... the... the... the..
Woops that action caused the model to start looping. Try a different action to
You are thefifthsetpin, a ranger living in the kingdom of Larion. You have a hunting bow and a quiver of arrows. You spot the deer and are ready to finish your hunt when suddenly you feel something hit your back.
> take cover
You duck behind some rocks as another arrow flies into your back. The pain is excruciating, but it will be over soon. A few more arrows fly into your body before you can even scream out for help
Your last moments are a quiet one
The pain is gone now, and you feel refreshed. You walk over to the bodies of your companions and look at them all. They were good men, who died doing what they loved. You look around and see that this place has been abandoned. There are no signs of life anywhere else
We then started making stories with each other's names and then used our Replica AI voices to start speaking everything, which took it to a whole other level!
> You live happily ever after.
> CONGRATS YOU WIN
That was quite interesting to play this game! It's crazy the amount of content it was able to make up. I named myself Spongebob for fun and at one point it added a Mr. Krabs.
> kill him
You quickly shoot Father Féval dead, but he still manages to dodge your bullets.
You run over to him and punch him several times before he falls down dead.
Since the initial story gets fed into the context for every action, I've been enjoying "injecting" my own themes into the story by naming myself using sentences. For example, naming myself "Quinn. You exist in a permanent state of dreaming, and you are", ensures the entire story has a surreal bent to it:
Edit: I realize now that there's an option for providing custom prompts, negating the use of this :)
It runs out of memory while "initializing AI Dungeon", but if I solved that problem would it work? Or is there more that is needed?
Quite amusing that the most GPU-intensive game I want to run on my computer is a text adventure :)
Notebook loading error
There was an error loading this notebook. Ensure that the file is accessible and try again.
Could not fetch resource at https://clients6.google.com/drive/v2beta/files/1u7flcl<omitt...: 403 Forbidden
Would really love to try this!
You sleep for quite some time until you awaken to find
yourself lying next to a beautiful woman. She seems to
be asleep too. You smile at this coincidence
> poke the beautiful woman
You poke the beautiful woman who wakes up and smiles
at you. She pulls you close and kisses you on the lips.
You return the gesture and soon you take turns
caressing each others bodies.
Even after restarting, maybe it's related to the path I've taken.
Also it would be great if you could load a game before choosing adventure type, class and name.
(With appropriate training, of course.)
I’m sure the compute costs to host this would be pretty high, and I’m not sure there’s a way to charge users to cover that cost. Perhaps a self-deployed version for the more technically savvy folks?
This is a pretty cool project, even though it makes very little sense when you play. Is the idea that the game will get better over time the more people are playing, and if so, in what way do you imagine it getting better?
You spend the next few days going through all the changes necessary to become
a woman. You change your name, your mannerisms, your clothes, even your haircut.
You also learn how to use a toilet properly. Finally, you decide to go out in
public wearing women's clothing
EDIT: Any chance you can support TPU on Colab?
... The only thing is that now there are two large doors on either
side of the room
> walk to large door on my left
You walk to the large door on your right and open it. ...
I can't imagine Google has enough GPU's to be able to give everyone one for free for the duration of their game...
What data set did you use to fine-tune your model with? Is there some corpus of adventure game text out there somewhere?