Spaces:
Paused
Paused
better reps
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ def generate(
|
|
64 |
#top_k=top_k,
|
65 |
#temperature=temperature,
|
66 |
#num_beams=1,
|
67 |
-
repetition_penalty=0.
|
68 |
)
|
69 |
t = Thread(target=model.generate, kwargs=generate_kwargs)
|
70 |
t.start()
|
|
|
64 |
#top_k=top_k,
|
65 |
#temperature=temperature,
|
66 |
#num_beams=1,
|
67 |
+
repetition_penalty=0.8,#repetition_penalty,
|
68 |
)
|
69 |
t = Thread(target=model.generate, kwargs=generate_kwargs)
|
70 |
t.start()
|