This commit is contained in:
Nick Walton
2019-09-26 13:58:07 -06:00
parent e1d76c3f78
commit b71089e511
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ def play_unconstrained():
while(action == ""):
action = input("> ")
action = "You " + action + "."
action = " You " + action + ". "
action = first_to_second_person(action)
result = story_manager.act(action)
console_print("\n\n" + action + result)
+1 -1
View File
@@ -20,7 +20,7 @@ def loss(labels, logits):
class CTRLGenerator():
def __init__(self, control_code="Horror Text: ", generate_num=100, temperature=0.7):
def __init__(self, control_code="Horror Text: ", generate_num=100, temperature=0.45):
self.generate_num=generate_num
model_dir = "generator/ctrl/model/seqlen256_v1.ckpt/"