GreatCaptainNemo commited on
Commit
f6842b2
1 Parent(s): d148285

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -47,10 +47,10 @@ def generate(
47
  chat_history: list[tuple[str, str]],
48
  system_prompt: str,
49
  max_new_tokens: int = 1024,
50
- temperature: float = 0.6,
51
- top_p: float = 0.9,
52
  top_k: int = 50,
53
- repetition_penalty: float = 1.2,
54
  ) -> Iterator[str]:
55
  conversation = []
56
  if system_prompt:
 
47
  chat_history: list[tuple[str, str]],
48
  system_prompt: str,
49
  max_new_tokens: int = 1024,
50
+ temperature: float = 0.95,
51
+ top_p: float = 0.7,
52
  top_k: int = 50,
53
+ repetition_penalty: float = 1.0,
54
  ) -> Iterator[str]:
55
  conversation = []
56
  if system_prompt: