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