gmonsoon commited on
Commit
6c20063
·
verified ·
1 Parent(s): 9fe417b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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})