File size: 423 Bytes
2efa8de
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
{
  "bos_token": "<s>",
  "eos_token": "</s>",
  "unk_token": "<unk>",
  "additional_special_tokens": ["<|im_start|>", "<|im_end|>"],
  "model_max_length": 512,
  "tokenizer_class": "LlamaTokenizer",
  "clean_up_tokenization_spaces": false,
  "model_type": "llama",
  "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>\n'}}{% endfor %}"
}