Merge pull request #72 from AIDungeon/master

master -> develop
This commit is contained in:
Benjamin Bay
2019-12-09 14:12:22 -08:00
committed by GitHub
7 changed files with 80 additions and 12 deletions
+29
View File
@@ -0,0 +1,29 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG] "
labels: bug
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Additional context**
- OS, environment
- Game settings
- Add any other context about the problem here.
+20
View File
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[FEATURE] "
labels: enhancement
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
+20
View File
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[FEATURE] "
labels: enhancement
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
+9 -8
View File
@@ -27,22 +27,23 @@
"> AI Dungeon 2 is a completely AI generated text adventure built with OpenAI's largest GPT-2 model. It's a first of it's kind game that allows you to enter and will react to any action you can imagine.\n",
"\n",
"# Main mirrors of AI Dungeon 2 are currently down due to high download costs.\n",
"We are using bittorrent as a temporary solution to host game files and keep this game alive. It's not fast, but it's the best we've got right now.\n\n",
"If you want to help, best thing you can do is to **[download this torrent file with game files](https://github.com/nickwalton/AIDungeon/files/3935881/model_v5.torrent.zip)** and **seed it** indefinitely to the best of your ability. This will help new players download this game faster, and discover the vast worlds of AIDungeon2!\n\n",
"- <a href=\"https://twitter.com/nickwalton00?ref_src=twsrc%5Etfw\" class=\"twitter-follow-button\" data-show-count=\"false\">Follow @nickwalton00</a> on twitter for updates on when it will be available again.\n",
"- **[Support AI Dungeon 2 on Patreon to help get it back up!](https://www.patreon.com/posts/update-32193930)**\n",
"We are using bittorrent as a temporary solution to host game files and keep this game alive. It's not fast, but it's the best we've got right now.\n",
"\n",
"If you want to help, best thing you can do is to **[download this torrent file with game files](https://github.com/nickwalton/AIDungeon/files/3935881/model_v5.torrent.zip)** and **seed it** indefinitely to the best of your ability. This will help new players download this game faster, and discover the vast worlds of AIDungeon2!\n",
"\n",
"- <a href=\"https://twitter.com/nickwalton00?ref_src=twsrc%5Etfw\" class=\"twitter-follow-button\" data-show-count=\"false\">Follow @nickwalton00</a> on Twitter for updates on when it will be available again.\n",
"- **[Support AI Dungeon 2](https://www.patreon.com/posts/update-32193930) on Patreon**\n",
"\n",
"## How to play\n",
"1. Click \"Tools\"-> \"Settings...\" -> \"Theme\" -> \"Dark\" (optional but recommended)\n",
"2. Click \"Runtime\" -> \"Run all\"\n",
"3. Wait until all files are downloaded (only has to be one once, and it will take some time)\n",
"4. It will then take a couple minutes to boot up as the model is downloaded loaded onto the GPU. \n",
"5. If you have questions about getting it to work then please [go to github repo](https://github.com/AIDungeon/AIDungeon) to get help. \n",
"\n",
"## About\n",
"* While you wait you can [read adventures others have had](https://aidungeon.io/)\n",
"* [Read more](https://pcc.cs.byu.edu/2019/11/21/ai-dungeon-2-creating-infinitely-generated-text-adventures-with-deep-learning-language-models/) about how AI Dungeon 2 is made.\n",
"\n",
"* Please [support AI Dungeon 2](https://www.patreon.com/join/AIDungeon/) to help get it back up."
"* [Read more](https://pcc.cs.byu.edu/2019/11/21/ai-dungeon-2-creating-infinitely-generated-text-adventures-with-deep-learning-language-models/) about how AI Dungeon 2 is made."
]
},
{
@@ -79,4 +80,4 @@
"outputs": []
}
]
}
}
+1 -1
View File
@@ -12,7 +12,7 @@ To play the game locally, it is recommended that you have an nVidia GPU with 12
git clone https://github.com/AIDungeon/AIDungeon/
cd AIDungeon
./install.sh
python play.py
python3 play.py
```
+1 -2
View File
@@ -1,7 +1,6 @@
from story.story_manager import *
from generator.gpt2.gpt2_generator import *
from story.utils import *
from termios import tcflush, TCIFLUSH
import time, sys, os
os.environ["TF_CPP_MIN_LOG_LEVEL"] = "3"
@@ -113,7 +112,7 @@ def play_aidungeon_2():
print(result)
while True:
tcflush(sys.stdin, TCIFLUSH)
sys.stdin.flush()
action = input("> ")
if action == "restart":
rating = input("Please rate the story quality from 1-10: ")
-1
View File
@@ -2,7 +2,6 @@ from story.story_manager import *
from generator.human_dm import *
from generator.gpt2.gpt2_generator import *
from story.utils import *
from termios import tcflush, TCIFLUSH
from play import *
import time, sys, os
os.environ["TF_CPP_MIN_LOG_LEVEL"] = "3"