Andromeda-8B-Coder / tokenizer_config.json
fiel1986's picture
Update tokenizer_config.json
fdb7e50 verified
Raw History Blame Contribute Delete
744 Bytes
{
"add_bos_token": true,
"add_eos_token": false,
"bos_token": "<|begin_of_text|>",
"chat_template": "{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}",
"clean_up_tokenization_spaces": false,
"eos_token": "<|eot_id|>",
"legacy": false,
"model_max_length": 131072,
"pad_token": "<|eot_id|>",
"padding_side": "right",
"tokenizer_class": "LlamaTokenizerFast",
"unk_token": null
}