File size: 648 Bytes
3d88344
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
{
  "bos_token": "<|bos|>",
  "clean_up_tokenization_spaces": false,
  "eos_token": "<|eos|>",
  "model_max_length": 2048,
  "pad_token": "<|pad|>",
  "tokenizer_class": "PreTrainedTokenizerFast",
  "unk_token": "<|unk|>",
  "chat_template": "{% for m in messages %}<|im_start|>{% if m['role'] == 'user' %}<|user|>{% elif m['role'] == 'assistant' %}<|assistant|>{% elif m['role'] == 'system' %}<|system|>{% else %}<|tool|>{% endif %}{{ m['content'] | reverse | join('') }}<|im_end|>{% endfor %}{% if add_generation_prompt %}<|im_start|><|assistant|>{% if enable_thinking is defined and not enable_thinking %}<think></think>{% endif %}{% endif %}"
}