PicoLM-V4-85M-Instruct / tokenizer_config.json
aethertp's picture
PicoLM-V4-85M-Instruct: weights, tokenizer, chat template, GGUF, card, evaluation results
fb1ded3 verified
Raw History Blame Contribute Delete
521 Bytes
{
"tokenizer_class": "PreTrainedTokenizerFast",
"bos_token": "<|endoftext|>",
"eos_token": "<|im_end|>",
"pad_token": "<|pad|>",
"model_max_length": 2048,
"clean_up_tokenization_spaces": false,
"add_bos_token": false,
"model_input_names": [
"input_ids",
"attention_mask"
],
"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 -%}"
}