Phi-3-small-8k-instruct-interact / tokenizer_config.json
ChunB1's picture
Upload tokenizer
9c6ef8d verified
raw
history blame contribute delete
597 Bytes
{
"_commit_hash": "f5527db8a43fc9a4bf17c5b754251e1efe1d4ad3",
"_from_auto": true,
"added_tokens_decoder": {},
"bos_token": "<|endoftext|>",
"chat_template": "{{ bos_token }}{% for message in messages %}{{'<|' + message['role'] + '|>' + '\n' + message['content'] + '<|end|>\n' }}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>\n' }}{% else %}{{ eos_token }}{% endif %}",
"clean_up_tokenization_spaces": true,
"eos_token": "<|endoftext|>",
"model_max_length": 8192,
"pad_token": "<|endoftext|>",
"tokenizer_class": "Phi3SmallTokenizer",
"trust_remote_code": true
}