This commit is contained in:
nickwalton
2019-10-31 12:08:29 -06:00
parent e9c05c89bd
commit 6b09c9fe00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ def loss(labels, logits):
class CTRLGenerator():
def __init__(self, control_code="Apocalypse ", generate_num=28, temperature=0.6, topk=40, nucleus_prob=0):
def __init__(self, control_code="Apocalypse ", generate_num=28, temperature=0.5, topk=40, nucleus_prob=0):
self.generate_num=generate_num
model_dir = "generator/ctrl/training_utils/seqlen256_v1.ckpt/"
+1 -1
View File
@@ -7,7 +7,7 @@ prompts:
vague_police: "You are a police officer. You get to work and "
apocalypse: "You are "
apocalypse: "You walk for two hours and take a break. You've left the town you were in and are now in a more rural area. You look around you and see "
zombies: "You're on top of a building. You look over the city and see roaming undead everywhere. "