explicitly set token IDs for transformers 4.33 (#1)
Browse files- explicitly set token IDs for transformers 4.33 (29d1b7994f5cf360d5c3fa4b5e8b755050905e01)
Co-authored-by: Jon Durbin <jondurbin@users.noreply.huggingface.co>
- generation_config.json +8 -2
generation_config.json
CHANGED
@@ -1,4 +1,10 @@
|
|
1 |
{
|
2 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"transformers_version": "4.33.1"
|
4 |
-
}
|
|
|
1 |
{
|
2 |
+
"bos_token_id": 1,
|
3 |
+
"do_sample": true,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"max_length": 4096,
|
6 |
+
"pad_token_id": 0,
|
7 |
+
"temperature": 0.6,
|
8 |
+
"top_p": 0.9,
|
9 |
"transformers_version": "4.33.1"
|
10 |
+
}
|