Spaces:
Runtime error
Runtime error
Commit
·
1bbc4ff
1
Parent(s):
25a21df
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ def generate(prompt,history):
|
|
| 20 |
temperature=0.9,
|
| 21 |
max_new_tokens=1024,
|
| 22 |
top_p=0.95,
|
| 23 |
-
repetition_penalty=
|
| 24 |
do_sample=True,
|
| 25 |
seed=seed,
|
| 26 |
)
|
|
|
|
| 20 |
temperature=0.9,
|
| 21 |
max_new_tokens=1024,
|
| 22 |
top_p=0.95,
|
| 23 |
+
repetition_penalty=1.0,
|
| 24 |
do_sample=True,
|
| 25 |
seed=seed,
|
| 26 |
)
|