Spaces:
Running
on
Zero
Running
on
Zero
BramVanroy
commited on
Commit
•
c37af82
1
Parent(s):
b866915
Update app.py
Browse files
app.py
CHANGED
@@ -28,8 +28,8 @@ def generate(
|
|
28 |
temperature: float = 1,
|
29 |
top_p: float = 1.,
|
30 |
top_k: int = 50,
|
31 |
-
do_sample: bool = False,
|
32 |
repetition_penalty: float = 1.,
|
|
|
33 |
) -> Iterator[str]:
|
34 |
conversation = [{"role": "system", "content": ""}]
|
35 |
for user, assistant in chat_history:
|
|
|
28 |
temperature: float = 1,
|
29 |
top_p: float = 1.,
|
30 |
top_k: int = 50,
|
|
|
31 |
repetition_penalty: float = 1.,
|
32 |
+
do_sample: bool = False,
|
33 |
) -> Iterator[str]:
|
34 |
conversation = [{"role": "system", "content": ""}]
|
35 |
for user, assistant in chat_history:
|