Yi-34B-200K-AEZAKMI-v2 / tokenizer_config.json
adamo1139's picture
Upload tokenizer_config.json
189b42b verified
raw
history blame
639 Bytes
{
"add_bos_token": false,
"add_eos_token": false,
"model_max_length": 200000,
"unk_token": "<unk>",
"bos_token": "<|startoftext|>",
"eos_token": "<|endoftext|>",
"pad_token": "<unk>",
"sp_model_kwargs": {},
"clean_up_tokenization_spaces": false,
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
"legacy": true,
"tokenizer_class": "LlamaTokenizer"
}