AIDungeon2
Clover Edition
Pytorch Edition
Coming: Soon.
In 2016, Donald Trump ran for president on a campaign of Making Anime Real. Four years later this promise is finally being fullfilled. Behold AIDungeon(no space): Clover Edition. The only video game where you can truly Do Anything:
--insert screenshots here--
A fork of AIDungeon2, now with huggingface's transformers repo using pytorch gpt2.
Features:
- Half precision floating point using half as much GPU memory
- Complete rewrite of the user interface
- Color text output
- Console Bell when AI finishes
- Much improved prompt selection
- Ability to save custom prompts
- A much larger library of fan made starting prompts
- Better config file
- Eventually hope to improve the AI itself, but this will take some time
Installation Instructions:
--insert colab instructions/guide here--
To play with GPU, you need an NVIDA GPU with >4 GB of memory (exact minimum requirements still very untested), and CUDA installed. On CPU response times vary from 30 to 90 seconds, which is slow but usable.
Windows Installer is hopefully coming someday. I'm not 100% sure how to do it. In the meantime you can manually install pretty easily:
Install python, pytorch, numpy, and regex (e.g. pip install numpy (or pip3) from the command line, after installing python. Windows users may need to add it to their PATH. Look up how to do these things if you don't know, it's not too hard). Windows users may want to install another module called "colorama", if it is not already installed. See color support section. Then:
#git clone "https://github.com/cloveranon/Clover-Edition/"
git clone <THIS_URL>
cd Clover-Edition
python play.py
(You don't actually need git, just a fast way to clone this repo instead of manually downloading it)
(If that doesn't work try python3 instead of python. This also assumes git is installed, but you can download a zip file from github and extract it yourself if you don't want to install git.)
Then you will need to download the model and put it in the models folder. The current magnet torrent linke is here:
magnet:?xt=urn:btih:17dcfe3d12849db04a3f64070489e6ff5fc6f63f&dn=model_v5_pytorch&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&tr=udp%3a%2f%2fopen.stealth.si%3a80%2fannounce&tr=udp%3a%2f%2fp4p.arenabg.com%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.cyberia.is%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.moeking.me%3a6969%2fannounce&tr=udp%3a%2f%2f9.rarbg.me%3a2710%2fannounce&tr=udp%3a%2f%2ftracker3.itzmx.com%3a6961%2fannounce
Color support on Windows (All methods untested. Please report if they do or do not work.):
- Install a python package called
coloramaand it should work. This may already be installed by pip. Which I believe is installed automatically with python. Tell me if color works out of the box on windows now. - Install a windows program called "ansi.sys"
- Windows 10 users can edit a registry key (look up
Registry Editor) atHKEY_CURRENT_USER\Console\VirtualTerminalLevelto1to permanently enable color support - user a bat program to enable the
ENABLE_VIRTUAL_TERMINAL_PROCESSINGflag via theSetConsoleModeAPI (not sure what the exact .bat command would be), then run the python script. (If someone figures this out I can put it in the repo and windows users can just run it without doing anything.) - use the new "Windows Terminal" which allegedly supports color by default and is in beta. You currently have to install it from the windows store until it is officially released
Datasets and retraining the AI
I threw together a quick page of some tips here. I plan to throw any links to interesting datasets or guides for training and finetuing the AI there.
Community
See that github issues page? Post any questions, requests, or problems there if you are willing to create a github account. Unless MicroAndSoft deletes us. Otherwise see:
- Website: 4chan Discussion
- Email: cloveranon@nuke.africa
Contributing
Contributions are more than welcome. You can fork the thing and send a pull request from your fork. Or you can possibly just edit the files from the github page if it lets you. If not fork the thing and try to edit your fork and submit it back.

