SilentVision-52M / tokenizer_config.json
srmortal's picture
Release SilentVision-52M: Champion base weights, GGUF quantizations, and LoRA adapters
0bda761 verified
Raw History Blame Contribute Delete
1.45 kB
{
"add_prefix_space": false,
"backend": "tokenizers",
"bos_token": null,
"clean_up_tokenization_spaces": false,
"eos_token": "<|im_end|>",
"errors": "replace",
"extra_special_tokens": [
"<|im_start|>",
"<|im_end|>",
"<|object_ref_start|>",
"<|object_ref_end|>",
"<|box_start|>",
"<|box_end|>",
"<|quad_start|>",
"<|quad_end|>",
"<|vision_start|>",
"<|vision_end|>",
"<|vision_pad|>",
"<|image_pad|>",
"<|video_pad|>"
],
"is_local": false,
"local_files_only": false,
"model_max_length": 131072,
"pad_token": "<|endoftext|>",
"split_special_tokens": false,
"tokenizer_class": "Qwen2Tokenizer",
"unk_token": null,
"chat_template": "{%- if messages[0]['role'] == 'system' -%} {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' -}} {%- else -%} {{- '<|im_start|>system\\nYou are an expert Mathematics Assistant. If the user asks in English, reply in English only. If the user asks in Arabic, reply in Arabic only. Provide clear, direct steps followed by the final answer.<|im_end|>\\n' -}} {%- endif -%} {%- for message in messages -%} {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\") -%} {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>\\n' -}} {%- endif -%} {%- endfor -%} {%- if add_generation_prompt -%} {{- '<|im_start|>assistant\\n' -}} {%- endif -%}"
}