2019-11-01 16:24:53 -06:00
2019-11-01 12:51:25 -06:00
fix
2019-10-31 12:41:51 -06:00
2019-11-01 18:56:16 +00:00
2019-09-24 14:33:58 -06:00
2019-11-01 12:51:25 -06:00
2019-04-06 15:16:18 -06:00
2019-09-24 14:33:58 -06:00
2019-05-29 18:59:58 -06:00
2019-04-12 04:22:57 -06:00
2019-11-01 12:54:28 -06:00
2019-11-01 13:04:37 -06:00
2019-10-23 22:36:44 -06:00
2019-11-01 16:24:53 -06:00
2019-09-24 12:51:54 -06:00
2019-04-09 01:27:42 +00:00

AIDungeon

This is the repo for AI Dungeon including the new version AI Dungeon 2 built with the 1.6B parameter CTRL model and fine tuned on post-apocalyptic fiction and crowd sourced text adventure samples. I'm currently working on a way to host it, but you can download and run the model yourself.

Requirements

  • GPU with 32GB of memory (though it could be quantized down. See https://github.com/salesforce/ctrl)
  • Python3
  • Relies on Tensorflow 1.14 which can be installed with pip install tensorflow[-gpu]==1.14
  • gsuti

Installation

If you have the massive GPU to run it then you can install it by following the below instructions:

  1. Clone the repo git clone https://github.com/nickwalton/AIDungeon.git
  2. cd AIDungeon
  3. pip install -r requirements.txt
  4. cd generator/ctrl
  5. ./install_ctrl_py3.sh
  6. ./download_model.sh

To Play

python console_play.py

If you want to change the game in interesting ways you can change the context and initial prompt in console_play.py. There's also more finetuned control code in generator/ctrl/ctrl_generator.py you can play around with.

S
Description
State of the art AI plays dungeon master to your adventures.
Readme MIT
27 MiB
Languages
Python 86.9%
Jupyter Notebook 9.5%
Shell 3.6%