ricdomolm commited on
Commit
206f0be
·
verified ·
1 Parent(s): e195352

Upload tokenizer

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -158,7 +158,7 @@
158
  "<empty_output>"
159
  ],
160
  "bos_token": "<|endoftext|>",
161
- "chat_template": "{{'<|im_start|>system\nYou are a helpful AI assistant named SmolLM, trained by Hugging Face<|im_end|>\n'}}{% for message in messages %}{% if message['role'] == 'user' %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>\n'}}{% elif message['role'] == 'assistant' %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|endoftext|>\n'}}{% endif %}{% 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,
 
158
  "<empty_output>"
159
  ],
160
  "bos_token": "<|endoftext|>",
161
+ "chat_template": "{{'<|im_start|>system\nYou are a helpful AI assistant named SmolLM, trained by Hugging Face<|im_end|>'}}{% for message in messages %}{% if message['role'] == 'user' %}{{'\n<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>\n'}}{% elif message['role'] == 'assistant' %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|endoftext|>'}}{% endif %}{% 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,