Veri-Base / tokenizer_config.json
veriepic's picture
Upload tokenizer_config.json with huggingface_hub
9c72176 verified
Raw History Blame Contribute Delete
534 Bytes
{
"bos_token": "<bos>",
"eos_token": "<eos>",
"pad_token": "<pad>",
"unk_token": "<unk>",
"model_max_length": 4096,
"tokenizer_class": "PreTrainedTokenizerFast",
"chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}<system>{{ message['content'] }}<eos>{% elif message['role'] == 'user' %}<user>{{ message['content'] }}<eos>{% elif message['role'] == 'assistant' %}<assistant>{{ message['content'] }}<eos>{% endif %}{% endfor %}{% if add_generation_prompt %}<assistant>{% endif %}"
}