Phi-3-small-8k-instruct_handler / tokenizer_config.json
lucafirefox's picture
Duplicate from microsoft/Phi-3-small-8k-instruct
d87a382 verified
raw
history blame contribute delete
637 Bytes
{
"added_tokens_decoder": {},
"auto_map": {
"AutoTokenizer": [
"tokenization_phi3_small.Phi3SmallTokenizer",
"tokenization_phi3_small.Phi3SmallTokenizer"
]
},
"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"
}