Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ def predict(message, history):
|
|
64 |
num_beams=1,
|
65 |
use_cache=False,
|
66 |
temperature=0.4,
|
67 |
-
repetition_penalty=
|
68 |
stopping_criteria=StoppingCriteriaList([stop])
|
69 |
)
|
70 |
t = Thread(target=model.generate, kwargs=generate_kwargs)
|
|
|
64 |
num_beams=1,
|
65 |
use_cache=False,
|
66 |
temperature=0.4,
|
67 |
+
repetition_penalty=1.2,
|
68 |
stopping_criteria=StoppingCriteriaList([stop])
|
69 |
)
|
70 |
t = Thread(target=model.generate, kwargs=generate_kwargs)
|