traversaal-ai commited on
Commit
7ff78a5
1 Parent(s): bc3374a

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +2 -2
run.py CHANGED
@@ -15,9 +15,9 @@ gen_kwargs = dict(
15
  max_new_tokens=1024,
16
  top_k=30,
17
  top_p=0.9,
18
- temperature=0.2,
19
  repetition_penalty=1.05, #1.02
20
- stop=["\nUser:", "<|endoftext|>", "</s>"],
21
  )
22
 
23
  def generate_text(prompt):
 
15
  max_new_tokens=1024,
16
  top_k=30,
17
  top_p=0.9,
18
+ temperature=0.8,
19
  repetition_penalty=1.05, #1.02
20
+ stop= ["\n"],
21
  )
22
 
23
  def generate_text(prompt):