Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -97,7 +97,7 @@ def generate(
|
|
97 |
temperature: float = 0.001,
|
98 |
top_p: float = 1.0,
|
99 |
top_k: int = 50,
|
100 |
-
repetition_penalty: float = 1.
|
101 |
) -> Iterator[str]:
|
102 |
conversation = [{"role": "system", "content": system_message}]
|
103 |
for user, assistant in chat_history:
|
|
|
97 |
temperature: float = 0.001,
|
98 |
top_p: float = 1.0,
|
99 |
top_k: int = 50,
|
100 |
+
repetition_penalty: float = 1.05,
|
101 |
) -> Iterator[str]:
|
102 |
conversation = [{"role": "system", "content": system_message}]
|
103 |
for user, assistant in chat_history:
|