mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-09-09 11:13:26 +08:00
update
This commit is contained in:
+17
-29
@@ -4,8 +4,7 @@
|
||||
"metadata": {
|
||||
"colab": {
|
||||
"name": "AIDungeon 2.ipynb",
|
||||
"provenance": [],
|
||||
"toc_visible": true
|
||||
"provenance": []
|
||||
},
|
||||
"kernelspec": {
|
||||
"name": "python3",
|
||||
@@ -22,18 +21,20 @@
|
||||
},
|
||||
"source": [
|
||||
"# AI Dungeon 2\n",
|
||||
"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",
|
||||
"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",
|
||||
"[Read more about how AI Dungeon 2 is made.](https://pcc.cs.byu.edu/2019/11/21/ai-dungeon-2-creating-infinitely-generated-text-adventures-with-deep-learning-language-models/)\n",
|
||||
"\n",
|
||||
"## How to play\n",
|
||||
"1. Click \"Open in playground mode\"\n",
|
||||
"2. Click \"Tools\"-> \"Settings...\" -> \"Theme\" -> \"Dark\" (optional but recommended)\n",
|
||||
"3. Click \"Runtime\" -> \"Run all\"\n",
|
||||
"1. Click \"Tools\"-> \"Settings...\" -> \"Theme\" -> \"Dark\" (optional but recommended)\n",
|
||||
"2. Click \"Runtime\" -> \"Run all\"\n",
|
||||
"\n",
|
||||
"##Links:\n",
|
||||
"* Read stories from AIDungeon2 at [aidungeon.io](https://www.aidungeon.io)\n",
|
||||
"* Read more about how AIDungeon2 was made [here](https://pcc.cs.byu.edu/2019/11/21/ai-dungeon-2-creating-infinitely-generated-text-adventures-with-deep-learning-language-models/)\n",
|
||||
"* If you like playing then please consider [supporting](https://www.patreon.com/join/AIDungeon/) me to allow future improvements to AI Dungeon. \n",
|
||||
"\n"
|
||||
"3. It will then take a couple minutes to boot up as the model is downloaded loaded onto the GPU. \n",
|
||||
"\n",
|
||||
"## Links\n",
|
||||
"* While you wait you can [read adventures others have had](https://aidungeon.io/).\n",
|
||||
"* If you have any questions or issues feel free to contact me on twitter https://twitter.com/nickwalton00\n",
|
||||
"* If you like playing then please consider [supporting](https://www.patreon.com/join/AIDungeon/) me to allow future improvements to AI Dungeon. "
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -41,30 +42,18 @@
|
||||
"metadata": {
|
||||
"id": "FKqlSCrpS9dH",
|
||||
"colab_type": "code",
|
||||
"outputId": "ec4f9bd8-79c3-4548-c96b-61bb70530a7d",
|
||||
"colab": {
|
||||
"base_uri": "https://localhost:8080/",
|
||||
"height": 34
|
||||
}
|
||||
"colab": {}
|
||||
},
|
||||
"source": [
|
||||
"!git clone https://github.com/nickwalton/AIDungeon/ \n",
|
||||
"!git clone https://github.com/nickwalton/AIDungeon/\n",
|
||||
"%cd AIDungeon\n",
|
||||
"!./install.sh\n",
|
||||
"from IPython.display import clear_output\n",
|
||||
"from IPython.display import clear_output \n",
|
||||
"clear_output()\n",
|
||||
"print(\"Download Complete!\")"
|
||||
],
|
||||
"execution_count": 0,
|
||||
"outputs": [
|
||||
{
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Download Complete!\n"
|
||||
],
|
||||
"name": "stdout"
|
||||
}
|
||||
]
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
@@ -74,9 +63,8 @@
|
||||
"colab": {}
|
||||
},
|
||||
"source": [
|
||||
"%cd AIDungeon\n",
|
||||
"from IPython.display import Javascript\n",
|
||||
"display(Javascript('''google.colab.output.setIframeHeight(0, true, {maxHeight: 10000})'''))\n",
|
||||
"display(Javascript('''google.colab.output.setIframeHeight(0, true, {maxHeight: 5000})'''))\n",
|
||||
"!python play.py"
|
||||
],
|
||||
"execution_count": 0,
|
||||
|
||||
Reference in New Issue
Block a user