Hacker News new | past | comments | ask | show | jobs | submit login

I've been using AIDungeon (and its successors like NovelAI which are more for advanced users) for years now and have been involved in a lot of the community around it. You are definitely using it wrong, but you are forgiven because AI Dungeon is terribly falsely advertised.

Your main mistake is not writing proper sentences. AI Dungeon is not a Zork simulation where you type truncated commands like "get torch" and receive a response from the computer. It is more like a Choose Your Own Adventure novel generator.

You need to write proper sentences, so instead of "You inventory", try "You double check what items you have in your rucksack." Instead of "You get longsword and bow", you should be typing "You pick up the longsword and the bow." Instead of "You health", you...just don't do that. Maybe try something like "You look down at your body and survey your wounds." If you're really feeling confident, try switching from "Do" mode to "Story" mode, and just start writing a fantasy novel and see what it generates with its next output.

For reference, this is a snippet of an old story of mine I saved:

----

As I approached the kobold stealthily, it looked up with its beady, reptilian eyes. It could not see me yet, but I knew it was only a matter of time before it sensed my presence.

I decided to act first. "Let's go!" I shouted to my companions, before rushing towards the small monster with my dagger drawn.

The kobold yelped in surprise before pulling back its bow and firing an arrow at me. I moved to dodge it and barely managed to avoid it. Now in melee range, I raised my dagger into the air before plunging it towards the kobold's torso.

It struck the monster's heart, and blood spurt out of the wound as it struggled, before going still.

---

Nearly every sentence there was partially AI-generated in AI Dungeon, retried a few times, edited, and truncated to fit the story. This is how most people in the community actually use this sort of software. It's more like having a buddy suggesting the next sentence in your personal story than a virtual dungeon master. Those who expect it to be the latter generally don't understand it, while those who see it as the former immediately understand what the hype is about and get really passionate about it.

AI dungeon might advertise itself as a game, but in practice it's used as a more general storytelling aide. And it should be noted that it has been rendered obsolete by competitors made by disgruntled fans like NovelAI for a while now (which is a whole other story).




...so you're saying NovelAI is better for story generation? Hot damn. I was having a good time with AI Dungeon (to the point where I was considering writing short stories using it as a guide), I might have to give that a try too.

Here's a snippet from my AI dungeon story recently. Mine never seems to get into actual dungeon crawling. The only parts that aren't A.I. generated in this section are the lines that have --me-- before them:

Veronica sits down on a stone bench. She says "Well, I guess we should talk."

Jesus sits down next to her and asks her, "What is the worst thing you've ever done in your life?"

Veronica says "I killed my first husband."

Jesus asks "Why did you do that?"

Veronica says "He was going to take everything from me."

Jesus says "How so?"

Veronica says "He knew where I hid all of my money, and he was going to take it. I would have been broke forever."

Jesus says "That's sad."

--me--: You say "Wait, you killed your first husband? I'm your new husband! Are you going to kill me too?"

Veronica looks away from Jesus. "No. I didn't mean to kill him. He was just... so mean to me. I just wanted to stop him. I didn't..." Veronica finishes by saying "I didn't mean to kill him."

Jesus says "Alright, I forgive you."

--me--: Veronica says "Does that mean I get to go to heaven now?"

Jesus says "I'll let you make that decision as soon as we finish our meal. It will have both heaven and hell as options, and that's all you'll ever get out of me."

Veronica smiles.


NovelAI is literally built by disgruntled AI Dungeon fans after the censorship scandal who wanted a better, more privacy-focused AI Dungeon for story generation. If you think AI dungeon has some cool features, you ain't seen nothing yet. There's a prompt tuning system called "modules" which basically primes the AI to write in a certain style, like a certain author or genre, etc (there are dozens of default modules, plus an included API to train your own, and you can share them and import other people's modules freely. Want a module trained on all of Harry Potter, or trained specifically on a particular genre of erotica? Someone's probably already made one). That's only one of the cool features it has, there are plenty others.

General upsides: There's a billion different settings and dials and output customization. The context limit is 2048 tokens is almost 3 times larger than AI Dungeon's. Everything is extremely transparent as far as inputs and outputs go, and the UI is really clean and functional, it's more like a word processor than anything. There's no crappy energy system like AI Dungeon either. Everything is run on private servers and encrypted so the devs couldn't snoop on your stories even if they wanted to (which was the main reason it was created, after it came out the AI Dungeon devs were reading and censoring private stories) and there's no risk of Google or Microsoft butting in and forcing them to change their business model like AI Dungeon. It's even got a legacy DO/SAY/STORY choose-your-own-adventure mode/module for people nostalgic about the AI Dungeon aesthetic. The base AI is finetuned on a large, curated collection of novels, rather than on a bunch of garbage CYOA stories written by 10-year-olds like AI Dungeon.

General downsides: It's paid subscription only, though I think there's actually a free trial nowadays. It uses eleutherAI's GPT-J-6B, which is about 1/40th the size of GPT-3's largest model which is 275B. It definitely punches above its weight class though and subjectively has comparable or higher output quality to AI Dungeon's "Griffin" which used a smaller GPT-3. And they're coming out with a 20B model too in like...a week or two.


Do you know how much you can paste from an existing story in NovelAI (like number of words) to continue off of? Like I've got some 2500 word stories I never got around to writing an ending (I struggle with endings in general), that maybe I could paste into NovelAI and see where it goes from there. Might help me finally finish the damn things, they've been sitting in a folder for a couple of years now.


I don't think there's any practical limit (I could probably paste in the entire text of the Bible and see what it generates next), but for the most part you want to use it as a writing companion, not an auto-writer. The general strategy is to have it generate some text (a few sentences), and then generally edit or retry it. The fun part is seeing the novel (ha) ideas that the AI comes up with and then working from there. There are some people who actually do try to use the AI to write the whole thing with not editing, with limited success (usually it involves a very meticulous and nebulous combination of tricks and techniques, and a lot of retrying).

As far as the context limit (how many lines back it can actually use), I believe it's 2048 tokens for novelAI, which is about 3 times higher than AI Dungeon uses, but likely not enough for the AI to have all of the story in memory. For important details or characters that aren't repeated except at the start, you may need to do some priming techniques with memory, author's note, or world info.

Though with 2500 words one advantage is that you have a very large amount of text in your writing style for the AI to try to mimic. One disadvantage of NovelAI over AI Dungeon is that AI dungeon seems a lot better at working off a small, limited prompt with very little context, while NovelAI prefer much longer prompts with plenty of descriptive detail. Having a large prompt that is entirely your own words definitely helps.


Okay cool. Yeah I didn't mean generate it all for me, just come up with some responses and maybe a few ideas of where it could go. I did end up experimenting with it last night briefly and it did help me write a few more paragraphs to one of my stories.

One thing I did notice is it doesn't seem to know when to move on to something else, and will just keep trying to do what's been working, so I need to be able to tell it "Stop that conversation, let's talk about this now", although admittedly it's from very limited interaction with it. Still pretty neat.


You mobbed a little cobold and killed it and now you feel all big and proud of yourself? Well done >:(


Actually that story was really funny, the AI constantly kept having my character have this irrational hatred of kobolds, like "they're pests to be exterminated" even though I included descriptions of their vibrant art and tapestries and language and culture. Which was funny because it was a story about traveling with an intelligent slime buddy who all the humans thought was a "monster to be exterminated". I was ultimately planning on having us escape to the monster kingdom where we learned that not all monsters are evil, and find a bunch of friendly kobolds, but I never got that far before the site went to shit.


Hah. A great example of social biases in machine learning :P




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: