orzhan commited on
Commit
fe044cd
·
1 Parent(s): 1fe7ac7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def infer(input_ids):
22
  num_beams=8,
23
  length_penalty=1.0,
24
  #no_repeat_ngram_size=4,
25
- # do_sample=True, top_p=0.9, temperature=0.9
26
  )
27
 
28
  return output_sequences
 
22
  num_beams=8,
23
  length_penalty=1.0,
24
  #no_repeat_ngram_size=4,
25
+ do_sample=True, top_p=0.9, temperature=0.7
26
  )
27
 
28
  return output_sequences