Token Configuration Correction
#2
by
bigstorm
- opened
- config.json +1 -0
- tokenizer_config.json +1 -1
config.json
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
"Qwen2ForCausalLM"
|
5 |
],
|
6 |
"attention_dropout": 0.0,
|
|
|
7 |
"eos_token_id": 151645,
|
8 |
"hidden_act": "silu",
|
9 |
"hidden_size": 8192,
|
|
|
4 |
"Qwen2ForCausalLM"
|
5 |
],
|
6 |
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 151644,
|
8 |
"eos_token_id": 151645,
|
9 |
"hidden_act": "silu",
|
10 |
"hidden_size": 8192,
|
tokenizer_config.json
CHANGED
@@ -30,7 +30,7 @@
|
|
30 |
"<|im_start|>",
|
31 |
"<|im_end|>"
|
32 |
],
|
33 |
-
"bos_token":
|
34 |
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
35 |
"clean_up_tokenization_spaces": false,
|
36 |
"eos_token": "<|im_end|>",
|
|
|
30 |
"<|im_start|>",
|
31 |
"<|im_end|>"
|
32 |
],
|
33 |
+
"bos_token": "<|im_start|>",
|
34 |
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
35 |
"clean_up_tokenization_spaces": false,
|
36 |
"eos_token": "<|im_end|>",
|