mlabonne commited on
Commit
71cf7ae
1 Parent(s): 2692262

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +3 -1
tokenizer_config.json CHANGED
@@ -42,5 +42,7 @@
42
  "split_special_tokens": false,
43
  "tokenizer_class": "LlamaTokenizer",
44
  "unk_token": "<unk>",
45
- "use_default_system_prompt": true
 
 
46
  }
 
42
  "split_special_tokens": false,
43
  "tokenizer_class": "LlamaTokenizer",
44
  "unk_token": "<unk>",
45
+ "use_default_system_prompt": true,
46
+ "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 %}"
47
+
48
  }