Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,6 +36,7 @@ def generate(
|
|
36 |
top_p: float = 0.9,
|
37 |
top_k: int = 50,
|
38 |
repetition_penalty: float = 1.2,
|
|
|
39 |
) -> Iterator[str]:
|
40 |
conversation = chat_history.copy()
|
41 |
conversation.append({"role": "user", "content": message})
|
|
|
36 |
top_p: float = 0.9,
|
37 |
top_k: int = 50,
|
38 |
repetition_penalty: float = 1.2,
|
39 |
+
eos_token_id=151643,
|
40 |
) -> Iterator[str]:
|
41 |
conversation = chat_history.copy()
|
42 |
conversation.append({"role": "user", "content": message})
|