This commit is contained in:
Nick Walton
2019-11-18 23:30:27 -07:00
parent a4f9dfbc10
commit e82dbea03d
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import numpy as np
class GPT2Generator:
def __init__(self, generate_num=42, temperature=0.3, top_k=40, top_p=0.9):
def __init__(self, generate_num=48, temperature=0.3, top_k=40, top_p=0.9):
self.generate_num=generate_num
self.temp = temperature
self.top_k = top_k
+2 -2
View File
@@ -41,8 +41,8 @@ def select_game():
def instructions():
text = "AI Dungeon 2 Instructions:"
text += '\n* Enter actions starting with a verb ex. "go to the place" or "attack the orc"'
text += '\n* If you want to say something then enter \'say "(thing you want to say)"\''
text += '\n* Enter actions starting with a verb ex. "go to the tavern" or "attack the orc."'
text += '\n* If you want to say something then enter \'say "(thing you want to say)"\'.'
text += '\n* You can also just press enter with no action if you want to let the story continue.'
text += '\n* Finally if you want to end your game and start a new one just enter "restart" for any action. '
return text