Ned-Kelly-7M / tokenizer_config.json
candide23's picture
Release Ned Kelly 7M (7m@c9-hf-topup-soup, float32, parity-verified)
8240a08 verified
Raw History Blame Contribute Delete
534 Bytes
{
"tokenizer_class": "PreTrainedTokenizerFast",
"bos_token": "<bos>",
"eos_token": "<end>",
"unk_token": "<unk>",
"pad_token": "<unk>",
"model_max_length": 4096,
"clean_up_tokenization_spaces": false,
"chat_template": "{% for m in messages %}{% if m['role'] == 'user' %}<question>{{ m['content'] }}{% elif m['role'] == 'tool' %}<tool_response>{{ m['content'] }}</tool_response>{% elif m['role'] == 'assistant' %}<answer>{{ m['content'] }}<end>{% endif %}{% endfor %}{% if add_generation_prompt %}<answer>{% endif %}"
}