zhun01 / tokenizer_config.json
motherfucker0's picture
Upload folder using huggingface_hub
9cbbc28 verified
raw
history blame contribute delete
456 Bytes
{
"add_prefix_space": false,
"bos_token": "<|endoftext|>",
"clean_up_tokenization_spaces": false,
"eos_token": "<|endoftext|>",
"model_max_length": 8192,
"tokenizer_class": "GPT4Tokenizer",
"unk_token": "<|endoftext|>",
"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 %}"
}