Live data from Hacker News

Show HN: AI Dungeon 2 – AI-generated text adventure built with 1.5B param GPT-2

aidungeon.io

111–120 of 227 posts

Re: Show HN: AI Dungeon 2 – AI-generated text adventure built with 1.5B param GPT-2

#111
I keep getting surreal hells.

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".

Re: Show HN: AI Dungeon 2 – AI-generated text adventure built with 1.5B param GPT-2

#112
This is insane!

  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.
  > retire

  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.
Welp, guess I'm not an adventuring spirit.

Re: Show HN: AI Dungeon 2 – AI-generated text adventure built with 1.5B param GPT-2

#113
post #31

I wonder what could be done to combine this with the structure of a typical game, to allow for more persistence over time.

Yeah I've thought a lot about that. It's not too difficult to go from game data -> model output, but it's not as clear how to go from model output -> game data.

Ask it “what is the game data now?” in the background, obviously.

(With appropriate training, of course.)

Re: Show HN: AI Dungeon 2 – AI-generated text adventure built with 1.5B param GPT-2

#114

This is insane! 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. > retire 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. Welp, guess I'm not an adventuri…

Find an expensive rare coin and retire.

Your adventure was short.

Re: Show HN: AI Dungeon 2 – AI-generated text adventure built with 1.5B param GPT-2

#115

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 strips. "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 r…

You were an orc yourself all along...

Bruce Willis was an orc the entire movie.

Re: Show HN: AI Dungeon 2 – AI-generated text adventure built with 1.5B param GPT-2

#116

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 > shoo…

I guess the AI does not know what shock means.

Re: Show HN: AI Dungeon 2 – AI-generated text adventure built with 1.5B param GPT-2

#117
You turn around and see Father Féval standing behind you. He looks very old and frail. He doesn't even have any teeth left.

> 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.

Re: Show HN: AI Dungeon 2 – AI-generated text adventure built with 1.5B param GPT-2

#118

This is fun, but it seems to always start breaking really horrifically after about 20 steps. The responses always start being prefixed with a ">" too, and often get repeated many times each time I take an action. Eventually it's just garbled nonsense and I have to restart it.

Yeah sometimes the model can get off track and it can be hard to get it back. The best way is just to revert a few actions back by typing "revert"

Re: Show HN: AI Dungeon 2 – AI-generated text adventure built with 1.5B param GPT-2

#119
post #4

A plot that sounds really neat while you're in the middle of it, but afterwards doesn't really make any sense — sounds a bit like a J.J. Abrams production. 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 t…

Yeah that's a really good future/research question. I've thought some about how you could do more structured generation. Maybe you could do some kind of reverse summarization, where you take a plot outline and expand out the details would be really interesting to try out? It's still not clear the best way to do structured text generation.

Question, have you read this? https://www.goodreads.com/book/show/306940.Impro

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...)

Re: Show HN: AI Dungeon 2 – AI-generated text adventure built with 1.5B param GPT-2

#120
This is a little too realistic...

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 still sleeping > 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

Post reply on HN