Spaces:
Runtime error
Runtime error
anas-awadalla
commited on
Commit
·
973d62e
1
Parent(s):
45883da
Update app.py
Browse files
app.py
CHANGED
@@ -157,9 +157,9 @@ def generate(
|
|
157 |
lang_x=input_ids,
|
158 |
attention_mask=attention_mask,
|
159 |
max_new_tokens=30,
|
160 |
-
num_beams=
|
161 |
do_sample=True,
|
162 |
-
temperature=0.
|
163 |
top_k=0,
|
164 |
)
|
165 |
|
|
|
157 |
lang_x=input_ids,
|
158 |
attention_mask=attention_mask,
|
159 |
max_new_tokens=30,
|
160 |
+
num_beams=1,
|
161 |
do_sample=True,
|
162 |
+
temperature=0.3,
|
163 |
top_k=0,
|
164 |
)
|
165 |
|