File size: 521 Bytes
fb1ded3
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
 "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 -%}"
}