Pierce Maloney commited on
Commit
0425154
1 Parent(s): c5d86f3

lowering temp to 0.7

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -43,7 +43,7 @@ class EndpointHandler():
43
  input_ids,
44
  max_length=max_length, # 50 new tokens
45
  bad_words_ids=bad_words_ids,
46
- temperature=1,
47
  top_k=40,
48
  do_sample=True,
49
  stopping_criteria=self.stopping_criteria,
 
43
  input_ids,
44
  max_length=max_length, # 50 new tokens
45
  bad_words_ids=bad_words_ids,
46
+ temperature=0.7,
47
  top_k=40,
48
  do_sample=True,
49
  stopping_criteria=self.stopping_criteria,