Spaces:
Sleeping
Sleeping
edit model params
Browse files
app.py
CHANGED
|
@@ -37,9 +37,9 @@ def summarize(text):
|
|
| 37 |
# Generate summary
|
| 38 |
output = pipe(
|
| 39 |
formatted_input,
|
| 40 |
-
max_new_tokens=
|
| 41 |
do_sample=True,
|
| 42 |
-
temperature=0.
|
| 43 |
top_p=0.9,
|
| 44 |
return_full_text=False
|
| 45 |
)
|
|
|
|
| 37 |
# Generate summary
|
| 38 |
output = pipe(
|
| 39 |
formatted_input,
|
| 40 |
+
max_new_tokens=2000,
|
| 41 |
do_sample=True,
|
| 42 |
+
temperature=0.3,
|
| 43 |
top_p=0.9,
|
| 44 |
return_full_text=False
|
| 45 |
)
|