Matt commited on
Commit
e544a7b
1 Parent(s): b172a01

Add BOS token to template

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -9,7 +9,7 @@
9
  "rstrip": false,
10
  "single_word": false
11
  },
12
- "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 %}",
13
  "clean_up_tokenization_spaces": false,
14
  "eos_token": {
15
  "__type": "AddedToken",
 
9
  "rstrip": false,
10
  "single_word": false
11
  },
12
+ "chat_template": "{{ bos_token }} {% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
13
  "clean_up_tokenization_spaces": false,
14
  "eos_token": {
15
  "__type": "AddedToken",