Live data from Hacker News

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

aidungeon.io

81–90 of 227 posts

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

#81
post #45

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

Since it seems the general population is becoming less and less able to read stories or information consisting of more than one thought or layer of abstraction, grammatically reasonable strings of words like these may satisfy plenty of people. Indeed, modern television and televised "news" seems to be no more impressive than this. But to me, this makes very little sense. It almost connects, but probably only because…

It doesn't make much sense. But compare it to the past state of the art – starting with Markov chains, proceeding to things like [1]. They were only able to maintain coherence for a handful of words. Full sentences were almost always nonsensical; you might be able to make sense out of them, but only with heavy application of "the human mind's natural inclination to make associations". Now compare that to GPT-2, which generates not only sentences but entire paragraphs that are most often fully self-coherent; most of the examples in this thread only start to break down across multiple paragraphs.

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.

[1] http://karpathy.github.io/2015/05/21/rnn-effectiveness/

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

#82

I turned this into a Nicolas Cage simulator very quickly: 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

"Suddenly Nic Cage grabs you by the arm and throws you into the wall. You hit the ground hard and scream." made me laugh out loud

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

#83
You are Markus, 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 through the sky. He looks down upon you as you approach.

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

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

#84

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

So technically "kill all the orcs" was interpreted correctly

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

#86
Something went wrong here.

    You finally finish off the last guard. You feast on his skin and organs. You
     then drink his blood and enjoy the taste.  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

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

#88

Earlier quoted context omitted.

Hmmm... I haven't seen that before there should be enough memory on the GPU to hold the model.

Can corroborate, same problem of OOMs. Regardless, this is excellent work. Thank you for sharing.

If it's any help, I restarted the notebook and haven't been getting crashes for a while now.

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

#89
post #87

https://news.ycombinator.com/item?id=21711808 is related and was posted earlier today.

Yep! Nathan did an earlier experiment of this, but it was the smallest gpt model trained on a small dataset of Zork adventures.
Post reply on HN