Make assistant response EOS token
Browse files- config.json +3 -4
- generation_config.json +2 -2
- tokenizer_config.json +1 -1
config.json
CHANGED
|
@@ -11,9 +11,8 @@
|
|
| 11 |
"attention_dropout": 0.0,
|
| 12 |
"pad_token_id": 151329,
|
| 13 |
"eos_token_id": [
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
151338
|
| 17 |
],
|
| 18 |
"head_dim": 128,
|
| 19 |
"hidden_act": "silu",
|
|
@@ -45,4 +44,4 @@
|
|
| 45 |
"use_cache": true,
|
| 46 |
"use_qk_norm": false,
|
| 47 |
"vocab_size": 151552
|
| 48 |
-
}
|
|
|
|
| 11 |
"attention_dropout": 0.0,
|
| 12 |
"pad_token_id": 151329,
|
| 13 |
"eos_token_id": [
|
| 14 |
+
151334,
|
| 15 |
+
151329
|
|
|
|
| 16 |
],
|
| 17 |
"head_dim": 128,
|
| 18 |
"hidden_act": "silu",
|
|
|
|
| 44 |
"use_cache": true,
|
| 45 |
"use_qk_norm": false,
|
| 46 |
"vocab_size": 151552
|
| 47 |
+
}
|
generation_config.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"_from_model_config": true,
|
| 3 |
"eos_token_id": [
|
| 4 |
-
|
| 5 |
-
|
| 6 |
],
|
| 7 |
"pad_token_id": 151329,
|
| 8 |
"transformers_version": "4.54.0"
|
|
|
|
| 1 |
{
|
| 2 |
"_from_model_config": true,
|
| 3 |
"eos_token_id": [
|
| 4 |
+
151334,
|
| 5 |
+
151329
|
| 6 |
],
|
| 7 |
"pad_token_id": 151329,
|
| 8 |
"transformers_version": "4.54.0"
|
tokenizer_config.json
CHANGED
|
@@ -315,7 +315,7 @@
|
|
| 315 |
],
|
| 316 |
"clean_up_tokenization_spaces": false,
|
| 317 |
"do_lower_case": false,
|
| 318 |
-
"eos_token": "<|
|
| 319 |
"extra_special_tokens": {},
|
| 320 |
"model_max_length": 128000,
|
| 321 |
"pad_token": "<|endoftext|>",
|
|
|
|
| 315 |
],
|
| 316 |
"clean_up_tokenization_spaces": false,
|
| 317 |
"do_lower_case": false,
|
| 318 |
+
"eos_token": "<|im_end|>",
|
| 319 |
"extra_special_tokens": {},
|
| 320 |
"model_max_length": 128000,
|
| 321 |
"pad_token": "<|endoftext|>",
|