Spaces:
Sleeping
Sleeping
Commit ·
02f04dd
1
Parent(s): 00ccd59
Updated
Browse files
main.py
CHANGED
|
@@ -45,11 +45,11 @@ try:
|
|
| 45 |
"text2text-generation",
|
| 46 |
model=MODEL_NAME,
|
| 47 |
device=DEVICE,
|
| 48 |
-
max_new_tokens=1024,
|
| 49 |
-
temperature=0.7,
|
| 50 |
-
do_sample=True,
|
| 51 |
-
top_p=0.9,
|
| 52 |
-
repetition_penalty=1.2
|
| 53 |
)
|
| 54 |
|
| 55 |
|
|
|
|
| 45 |
"text2text-generation",
|
| 46 |
model=MODEL_NAME,
|
| 47 |
device=DEVICE,
|
| 48 |
+
max_new_tokens=1024,
|
| 49 |
+
temperature=0.7,
|
| 50 |
+
do_sample=True,
|
| 51 |
+
top_p=0.9,
|
| 52 |
+
repetition_penalty=1.2
|
| 53 |
)
|
| 54 |
|
| 55 |
|