Pierce Maloney
commited on
Commit
•
e1040a6
1
Parent(s):
26070b4
testing high temperature
Browse files- handler.py +2 -2
handler.py
CHANGED
@@ -29,8 +29,8 @@ class EndpointHandler():
|
|
29 |
max_new_tokens=50,
|
30 |
return_full_text=False,
|
31 |
bad_words_ids=[[3070], [313, 334]],
|
32 |
-
temperature=0.
|
33 |
-
top_k=
|
34 |
)
|
35 |
return prediction
|
36 |
|
|
|
29 |
max_new_tokens=50,
|
30 |
return_full_text=False,
|
31 |
bad_words_ids=[[3070], [313, 334]],
|
32 |
+
temperature=0.99,
|
33 |
+
top_k=40,
|
34 |
)
|
35 |
return prediction
|
36 |
|