traversaal-ai commited on
Commit
6b145b2
1 Parent(s): 3b28218

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +1 -1
run.py CHANGED
@@ -17,7 +17,7 @@ gen_kwargs = dict(
17
  top_p=0.9,
18
  temperature=0.5,
19
  repetition_penalty=1.2, #1.02
20
- stop= ["\n"],
21
  )
22
 
23
  def generate_text(prompt):
 
17
  top_p=0.9,
18
  temperature=0.5,
19
  repetition_penalty=1.2, #1.02
20
+ stop= ["\nUser:", "<|endoftext|>", "</s>"],
21
  )
22
 
23
  def generate_text(prompt):