[Devin Audit] enrich generation_config with sampling defaults (when do_sample=True)
Browse files- generation_config.json +8 -3
generation_config.json
CHANGED
|
@@ -1,7 +1,12 @@
|
|
| 1 |
{
|
| 2 |
"bos_token_id": 151643,
|
| 3 |
-
"do_sample": false,
|
| 4 |
"eos_token_id": 151643,
|
| 5 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
"transformers_version": "5.0.0"
|
| 7 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
"bos_token_id": 151643,
|
|
|
|
| 3 |
"eos_token_id": 151643,
|
| 4 |
+
"pad_token_id": 151643,
|
| 5 |
+
"do_sample": false,
|
| 6 |
+
"max_new_tokens": 512,
|
| 7 |
+
"repetition_penalty": 1.15,
|
| 8 |
+
"temperature": 0.7,
|
| 9 |
+
"top_p": 0.9,
|
| 10 |
+
"top_k": 40,
|
| 11 |
"transformers_version": "5.0.0"
|
| 12 |
+
}
|