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