20 lines
662 B
JSON
20 lines
662 B
JSON
{
|
|
"add_prefix_space": false,
|
|
"backend": "tokenizers",
|
|
"bos_token": null,
|
|
"clean_up_tokenization_spaces": false,
|
|
"eos_token": "<|endoftext|>",
|
|
"errors": "replace",
|
|
"extra_special_tokens": [
|
|
"<|im_start|>",
|
|
"<|im_end|>"
|
|
],
|
|
"is_local": true,
|
|
"local_files_only": true,
|
|
"model_max_length": 32768,
|
|
"pad_token": "<|endoftext|>",
|
|
"split_special_tokens": false,
|
|
"tokenizer_class": "Qwen2Tokenizer",
|
|
"unk_token": null,
|
|
"chat_template": "{% for m in messages %}{{ '<|im_start|>' + m['role'] + '\n' + (m['content'] | trim) + '<|im_end|>' + '\n' }}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}"
|
|
} |