Spaces:
Build error
Build error
Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -16,7 +16,7 @@ def handler(event):
|
|
16 |
sampling_params=inp['sampling_params']
|
17 |
max=sampling_params['max_new_tokens']
|
18 |
temp=sampling_params['temperature']
|
19 |
-
return pipe(prompt,max_new_tokens=max,temperature=temp)
|
20 |
|
21 |
runpod.serverless.start({
|
22 |
"handler": handler
|
|
|
16 |
sampling_params=inp['sampling_params']
|
17 |
max=sampling_params['max_new_tokens']
|
18 |
temp=sampling_params['temperature']
|
19 |
+
return pipe(prompt,max_new_tokens=max,temperature=temp,pad_token_id = 50256,do_sample=True)
|
20 |
|
21 |
runpod.serverless.start({
|
22 |
"handler": handler
|