Update generation_config.json and fix eos token id
Browse files</s> and <|im_end|> can both work in this way
- generation_config.json +4 -2
generation_config.json
CHANGED
@@ -1,7 +1,9 @@
|
|
1 |
{
|
2 |
-
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
-
"eos_token_id":
|
|
|
|
|
|
|
5 |
"pad_token_id": 2,
|
6 |
"transformers_version": "4.37.1"
|
7 |
}
|
|
|
1 |
{
|
|
|
2 |
"bos_token_id": 1,
|
3 |
+
"eos_token_id": [
|
4 |
+
2,
|
5 |
+
92542
|
6 |
+
],
|
7 |
"pad_token_id": 2,
|
8 |
"transformers_version": "4.37.1"
|
9 |
}
|