Files
kamoo-one-135m-instruct/tokenizer_config.json

9 lines
436 B
JSON
Raw Permalink Normal View History

{
"tokenizer_class": "PreTrainedTokenizerFast",
"bos_token": "<|endoftext|>",
"eos_token": "<|im_end|>",
"unk_token": "<|endoftext|>",
"model_max_length": 1024,
"clean_up_tokenization_spaces": false,
"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 %}"
}