Commit
·
e718166
1
Parent(s):
f3c1668
Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -19,7 +19,7 @@ class EndpointHandler:
|
|
19 |
max_length=1024,
|
20 |
max_new_tokens=250, do_sample=True, top_k=50,
|
21 |
temperature=0.8, pad_token_id=2, num_return_sequences=1,
|
22 |
-
min_new_tokens=30, repetition_penalty=1.2, return_full_text
|
23 |
)
|
24 |
|
25 |
output = self.pipeline(inputs, **generation_config.to_dict())
|
|
|
19 |
max_length=1024,
|
20 |
max_new_tokens=250, do_sample=True, top_k=50,
|
21 |
temperature=0.8, pad_token_id=2, num_return_sequences=1,
|
22 |
+
min_new_tokens=30, repetition_penalty=1.2, return_full_text=False
|
23 |
)
|
24 |
|
25 |
output = self.pipeline(inputs, **generation_config.to_dict())
|