shreyask commited on
Commit
a6b5342
·
verified ·
1 Parent(s): a031291

Upload tokenizer_config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +3 -2
tokenizer_config.json CHANGED
@@ -204,5 +204,6 @@
204
  "pad_token": "<|endoftext|>",
205
  "split_special_tokens": false,
206
  "tokenizer_class": "Qwen2Tokenizer",
207
- "unk_token": null
208
- }
 
 
204
  "pad_token": "<|endoftext|>",
205
  "split_special_tokens": false,
206
  "tokenizer_class": "Qwen2Tokenizer",
207
+ "unk_token": null,
208
+ "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] \\!= 'system' %}<|im_start|>system\nYou are Maincoder, an expert code generation assistant.<|im_end|>\n{% endif %}<|im_start|>{{ message['role'] }}\n{{ message['content'] }}<|im_end|>\n{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant\n{% endif %}"
209
+ }