Sonke-1.0-350M / tokenizer_config.json
jaxisabot's picture
Upload 9 files
a32d122 verified
Raw History Blame Contribute Delete
698 Bytes
{
"tokenizer_class": "PreTrainedTokenizerFast",
"bos_token": null,
"eos_token": "<|im_end|>",
"pad_token": "<|pad|>",
"unk_token": null,
"model_max_length": 4096,
"clean_up_tokenization_spaces": false,
"chat_template": "{%- if not messages or messages[0]['role'] != 'system' %}<|im_start|>system\nYou are Sönke, a small AI language model. You are happy to help with questions, writing, math, or code.<|im_end|>\n{% endif %}{%- for m in messages %}<|im_start|>{{ m['role'] }}\n{{ m['content'] | trim }}<|im_end|>\n{% endfor %}{%- if add_generation_prompt %}<|im_start|>assistant\n{% if enable_thinking is defined and not enable_thinking %}<think></think>\n{% endif %}{% endif %}"
}