Spaces:
Sleeping
Sleeping
Arturo Jiménez de los Galanes Reguillos
commited on
Commit
•
7dfeb8a
1
Parent(s):
31bbafb
Set do_sample=True
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def translate(python):
|
|
35 |
input_ids=inputs,
|
36 |
streamer=streamer,
|
37 |
max_new_tokens=512,
|
38 |
-
do_sample=
|
39 |
top_k=50,
|
40 |
top_p=0.95,
|
41 |
num_return_sequences=1,
|
|
|
35 |
input_ids=inputs,
|
36 |
streamer=streamer,
|
37 |
max_new_tokens=512,
|
38 |
+
do_sample=True,
|
39 |
top_k=50,
|
40 |
top_p=0.95,
|
41 |
num_return_sequences=1,
|