mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-09-09 11:13:26 +08:00
update
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user