Live data from Hacker News

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

aidungeon.io

141–150 of 227 posts

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

#141
You are Jubal, 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 woman with long blonde hair walking towards you. She is beautiful, but also very strange looking > work the fields

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

"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

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

#142
This is incredible!

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:

https://gist.githubusercontent.com/QuinnWilton/a40282990cad2...

Edit: I realize now that there's an option for providing custom prompts, negating the use of this :)

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

#144

This is a project I've been working on for the past several months and it has blown me away with what it can do. Definitely recommend trying it out. 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.

The idea is good. But when I tried playing it, the story generated doesn't make sense. Looks like it still needs more work to be realistic. Is the AI keeping track of the story as it goes? Because the bird which attacked me with an evil grin and stole my fork asked me not to kill it when I asked him to help me working in the fields... https://gist.github.com/AdrienLemaire/33663e9100c009b8ec3409...

From what I understand about GPT-2 you shouldn't expect the story to make coherent sense. It can produce individual responses that are surprisingly appropriate but it doesn't actually have an understanding of anything that is happening.

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

#145

What would be the system requirements if I wanted to run this on my own hardware instead of in the Google UI? 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?

You'd need a GPU as good as the ones google colab offers which is a 12GB NVIDIA Tesla K80. You'd also need cuda and tensorflow installed.

Do you by any chance have instructions on how to set this up locally (tensorflow and cuda)? Or could you recommend some material I could look to figure this out? Thank you and amazing work by the way!

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

#146

This is a project I've been working on for the past several months and it has blown me away with what it can do. Definitely recommend trying it out. 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.

This is scarily realistic:

  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
   daily lives.
  
  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 en

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

#147
My colleagues and I where playing around with it for a while in the afternoon and couldn't stop laughing. It's definitely very entertaining :)

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!

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

#148
I'm getting the following error:

Notebook loading error There was an error loading this notebook. Ensure that the file is accessible and try again. Could not fetch resource at " rel="nofollow">https://clients6.google.com/drive/v2beta/files/1u7flcl: 403 Forbidden

Would really love to try this!

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

#150
post #148

I'm getting the following error: Notebook loading error There was an error loading this notebook. Ensure that the file is accessible and try again. Could not fetch resource at " rel="nofollow">https://clients6.google.com/drive/v2beta/files/1u7flcl : 403 Forbidden Would really love to try this!

The game froze for me about 30 minutes before your comment at a total cliffhanger.

  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.
Eagerly waiting for the service to be restored.
Post reply on HN