65 lines
1.6 KiB
JSON
65 lines
1.6 KiB
JSON
{
|
|
"backend": "tokenizers",
|
|
"bos_token": "<|begin_of_text|>",
|
|
"clean_up_tokenization_spaces": false,
|
|
"eos_token": "<|end_of_text|>",
|
|
"extra_special_tokens": [],
|
|
"is_local": false,
|
|
"local_files_only": false,
|
|
"model_max_length": 16384,
|
|
"pad_token": "<pad>",
|
|
"padding_side": "right",
|
|
"tokenizer_class": "TokenizersBackend",
|
|
"unk_token": "<unk>",
|
|
"added_tokens_decoder": {
|
|
"0": {
|
|
"content": "<pad>",
|
|
"single_word": false,
|
|
"lstrip": false,
|
|
"rstrip": false,
|
|
"normalized": false,
|
|
"special": true
|
|
},
|
|
"1": {
|
|
"content": "<unk>",
|
|
"single_word": false,
|
|
"lstrip": false,
|
|
"rstrip": false,
|
|
"normalized": false,
|
|
"special": true
|
|
},
|
|
"2": {
|
|
"content": "<|begin_of_text|>",
|
|
"single_word": false,
|
|
"lstrip": false,
|
|
"rstrip": false,
|
|
"normalized": false,
|
|
"special": true
|
|
},
|
|
"3": {
|
|
"content": "<|end_of_text|>",
|
|
"single_word": false,
|
|
"lstrip": false,
|
|
"rstrip": false,
|
|
"normalized": false,
|
|
"special": true
|
|
},
|
|
"64000": {
|
|
"content": "<|im_start|>",
|
|
"single_word": false,
|
|
"lstrip": false,
|
|
"rstrip": false,
|
|
"normalized": false,
|
|
"special": true
|
|
},
|
|
"64001": {
|
|
"content": "<|im_end|>",
|
|
"single_word": false,
|
|
"lstrip": false,
|
|
"rstrip": false,
|
|
"normalized": false,
|
|
"special": true
|
|
}
|
|
},
|
|
"chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>\n'}}{% endfor %}{% if add_generation_prompt %}{{'<|im_start|>assistant\n'}}{% endif %}"
|
|
} |