Earlier quoted context omitted.
Can you share how large your dataset (how many tokens) and batch size was and how many epochs you used? By training slowly, do you mean that you used a small learning rate? If so, what was it? 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 increasin…
Had to go check my training file to remember. 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…
Show HN: AI Dungeon 2 – AI-generated text adventure built with 1.5B param GPT-2
41–50 of 227 posts
Re: Show HN: AI Dungeon 2 – AI-generated text adventure built with 1.5B param GPT-2
#42Earlier quoted context omitted.
Can you share how large your dataset (how many tokens) and batch size was and how many epochs you used? By training slowly, do you mean that you used a small learning rate? If so, what was it? 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 increasin…
In fact, it’s an open question whether larger batch sizes are better. https://twitter.com/jeremyphoward/status/1189643170377658369... 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 t…
Re: Show HN: AI Dungeon 2 – AI-generated text adventure built with 1.5B param GPT-2
#43What 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.
Quite amusing that the most GPU-intensive game I want to run on my computer is a text adventure :)
Re: Show HN: AI Dungeon 2 – AI-generated text adventure built with 1.5B param GPT-2
#44That’s really fascinating, but also really lonely sounding since you know the text is being generated in response to what you say, not actually progressing you through the game’s internal state that someone carefully crafted for you
Re: Show HN: AI Dungeon 2 – AI-generated text adventure built with 1.5B param GPT-2
#45You 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…
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.
Re: Show HN: AI Dungeon 2 – AI-generated text adventure built with 1.5B param GPT-2
#46Why can't it be completely sandboxed? Why do I even need to be logged in anyway?
Re: Show HN: AI Dungeon 2 – AI-generated text adventure built with 1.5B param GPT-2
#47You 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…
Re: Show HN: AI Dungeon 2 – AI-generated text adventure built with 1.5B param GPT-2
#48With the warning that it will be able to read any of my Google data, I don't think it's worth trying. Why can't it be completely sandboxed? Why do I even need to be logged in anyway?
Re: Show HN: AI Dungeon 2 – AI-generated text adventure built with 1.5B param GPT-2
#49> dig with shovel 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 a…
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
Re: Show HN: AI Dungeon 2 – AI-generated text adventure built with 1.5B param GPT-2
#50That’s really fascinating, but also really lonely sounding since you know the text is being generated in response to what you say, not actually progressing you through the game’s internal state that someone carefully crafted for you
I actually like the lack of progression, someone once described it like a dreamworld and that's somehow comforting.