Update generation defaults (generation_config.json)
Browse files- generation_config.json +10 -4
generation_config.json
CHANGED
|
@@ -1,6 +1,12 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
"eos_token_id": 2,
|
| 5 |
-
"
|
| 6 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"do_sample": true,
|
| 3 |
+
"temperature": 0.35,
|
| 4 |
+
"top_p": 0.85,
|
| 5 |
+
"top_k": 40,
|
| 6 |
+
"repetition_penalty": 1.3,
|
| 7 |
+
"no_repeat_ngram_size": 5,
|
| 8 |
+
"max_new_tokens": 120,
|
| 9 |
+
"min_new_tokens": 16,
|
| 10 |
"eos_token_id": 2,
|
| 11 |
+
"pad_token_id": 2
|
| 12 |
+
}
|