Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -173,8 +173,8 @@ You must not use external knowledge. If the provided context does not contain th
|
|
| 173 |
# 4. Generate the response
|
| 174 |
response = generator(
|
| 175 |
prompt,
|
| 176 |
-
max_new_tokens=
|
| 177 |
-
temperature=0.
|
| 178 |
top_p=0.9,
|
| 179 |
do_sample=True,
|
| 180 |
# Crucial to ensure the output only contains the generated answer text
|
|
|
|
| 173 |
# 4. Generate the response
|
| 174 |
response = generator(
|
| 175 |
prompt,
|
| 176 |
+
max_new_tokens=400,
|
| 177 |
+
temperature=0.4,
|
| 178 |
top_p=0.9,
|
| 179 |
do_sample=True,
|
| 180 |
# Crucial to ensure the output only contains the generated answer text
|