Update app.py
Browse files
app.py
CHANGED
|
@@ -82,7 +82,8 @@ def chat(message, history, temperature = 0.7, max_new_tokens = 1024, show_thinki
|
|
| 82 |
'max_new_tokens' : max_new_tokens,
|
| 83 |
'do_sample' : temperature > 0,
|
| 84 |
'temperature' : temperature if temperature > 0 else 1.0,
|
| 85 |
-
'
|
|
|
|
| 86 |
'top_k' : 20,
|
| 87 |
#'repetition_penalty' : 1.1
|
| 88 |
}
|
|
|
|
| 82 |
'max_new_tokens' : max_new_tokens,
|
| 83 |
'do_sample' : temperature > 0,
|
| 84 |
'temperature' : temperature if temperature > 0 else 1.0,
|
| 85 |
+
'min_p' : 0.1,
|
| 86 |
+
'top_p' : 1.0,
|
| 87 |
'top_k' : 20,
|
| 88 |
#'repetition_penalty' : 1.1
|
| 89 |
}
|