Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def generate(
|
|
65 |
#top_k=top_k,
|
66 |
temperature=temperature,
|
67 |
#num_beams=1,
|
68 |
-
|
69 |
)
|
70 |
t = Thread(target=model.generate, kwargs=generate_kwargs)
|
71 |
t.start()
|
|
|
65 |
#top_k=top_k,
|
66 |
temperature=temperature,
|
67 |
#num_beams=1,
|
68 |
+
repetition_penalty=1.2,
|
69 |
)
|
70 |
t = Thread(target=model.generate, kwargs=generate_kwargs)
|
71 |
t.start()
|