vonjack commited on
Commit
a1700ca
1 Parent(s): 31cd748

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -0
tokenizer_config.json CHANGED
@@ -158,6 +158,7 @@
158
  "<empty_output>"
159
  ],
160
  "bos_token": "<|endoftext|>",
 
161
  "clean_up_tokenization_spaces": false,
162
  "eos_token": "<|endoftext|>",
163
  "model_max_length": 8192,
 
158
  "<empty_output>"
159
  ],
160
  "bos_token": "<|endoftext|>",
161
+ "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful AI assistant named SmolLM, trained by Hugging Face<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
162
  "clean_up_tokenization_spaces": false,
163
  "eos_token": "<|endoftext|>",
164
  "model_max_length": 8192,