78 lines
2.2 KiB
JSON
78 lines
2.2 KiB
JSON
|
|
{
|
||
|
|
"add_bos_token": false,
|
||
|
|
"add_prefix_space": false,
|
||
|
|
"added_tokens_decoder": {
|
||
|
|
"172728": {
|
||
|
|
"content": "<|endoftext|>",
|
||
|
|
"lstrip": false,
|
||
|
|
"normalized": false,
|
||
|
|
"rstrip": false,
|
||
|
|
"single_word": false,
|
||
|
|
"special": true
|
||
|
|
},
|
||
|
|
"172729": {
|
||
|
|
"content": "<|im_start|>",
|
||
|
|
"lstrip": false,
|
||
|
|
"normalized": false,
|
||
|
|
"rstrip": false,
|
||
|
|
"single_word": false,
|
||
|
|
"special": true
|
||
|
|
},
|
||
|
|
"172730": {
|
||
|
|
"content": "<|im_end|>",
|
||
|
|
"lstrip": false,
|
||
|
|
"normalized": false,
|
||
|
|
"rstrip": false,
|
||
|
|
"single_word": false,
|
||
|
|
"special": true
|
||
|
|
},
|
||
|
|
"172731": {
|
||
|
|
"content": "<tool_call>",
|
||
|
|
"lstrip": false,
|
||
|
|
"normalized": false,
|
||
|
|
"rstrip": false,
|
||
|
|
"single_word": false,
|
||
|
|
"special": false
|
||
|
|
},
|
||
|
|
"172732": {
|
||
|
|
"content": "</tool_call>",
|
||
|
|
"lstrip": false,
|
||
|
|
"normalized": false,
|
||
|
|
"rstrip": false,
|
||
|
|
"single_word": false,
|
||
|
|
"special": false
|
||
|
|
},
|
||
|
|
"172733": {
|
||
|
|
"content": "<tool_response>",
|
||
|
|
"lstrip": false,
|
||
|
|
"normalized": false,
|
||
|
|
"rstrip": false,
|
||
|
|
"single_word": false,
|
||
|
|
"special": false
|
||
|
|
},
|
||
|
|
"172734": {
|
||
|
|
"content": "</tool_response>",
|
||
|
|
"lstrip": false,
|
||
|
|
"normalized": false,
|
||
|
|
"rstrip": false,
|
||
|
|
"single_word": false,
|
||
|
|
"special": false
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"additional_special_tokens": [
|
||
|
|
"<|im_start|>",
|
||
|
|
"<|im_end|>"
|
||
|
|
],
|
||
|
|
"bos_token": null,
|
||
|
|
"chat_template": "{%- for message in messages -%}\n {%- if message['role'] == 'system' -%}\n {{ '<|im_start|>system\n' + message['content'] + '<|im_end|>\n' }}\n {%- elif message['role'] == 'user' -%}\n {{ '<|im_start|>user\n' + message['content'] + '<|im_end|>\n' }}\n {%- elif message['role'] == 'assistant' -%}\n {{ '<|im_start|>assistant\n' + message['content'] + '<|im_end|>\n' }}\n {%- endif -%}\n{%- endfor -%}\n{%- if add_generation_prompt -%}\n {{ '<|im_start|>assistant\n' }}\n{%- endif -%}",
|
||
|
|
"clean_up_tokenization_spaces": false,
|
||
|
|
"eos_token": "<|im_end|>",
|
||
|
|
"errors": "replace",
|
||
|
|
"extra_special_tokens": {},
|
||
|
|
"model_max_length": 131072,
|
||
|
|
"pad_token": "<|endoftext|>",
|
||
|
|
"split_special_tokens": false,
|
||
|
|
"tokenizer_class": "Qwen2Tokenizer",
|
||
|
|
"unk_token": null
|
||
|
|
}
|