rovi27 commited on
Commit
0452f9c
·
verified ·
1 Parent(s): 072e662

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def generate_text(prompt, context, max_length=2100):
55
  max_new_tokens=max_length
56
  generation_config = GenerationConfig(
57
  max_new_tokens=max_new_tokens,
58
- temperature=0.32, #top_p=0.9, top_k=50, # 45
59
  repetition_penalty=1.3, # 1.04, #1.1
60
  do_sample=True,
61
  )
 
55
  max_new_tokens=max_length
56
  generation_config = GenerationConfig(
57
  max_new_tokens=max_new_tokens,
58
+ temperature=0.1, #top_p=0.9, top_k=50, # 45
59
  repetition_penalty=1.3, # 1.04, #1.1
60
  do_sample=True,
61
  )