mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-09-20 12:20:53 +08:00
Got it to a solid state. Still can work on past tense to present tense conversion and splititng action words at and and but, but making good progress.
This commit is contained in:
@@ -22,7 +22,7 @@ def loss(labels, logits):
|
||||
|
||||
class CTRLGenerator():
|
||||
|
||||
def __init__(self, control_code="Horror Text: ", generate_num=64, temperature=0.3):
|
||||
def __init__(self, control_code="Horror Text: ", generate_num=100, temperature=0.3):
|
||||
|
||||
self.generate_num=generate_num
|
||||
model_dir = "generator/ctrl/model/seqlen256_v1.ckpt/"
|
||||
|
||||
Reference in New Issue
Block a user