DeepMount00 commited on
Commit
9ed43d7
·
verified ·
1 Parent(s): dd65707

Update app.py

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