julien-c HF staff Xenova HF staff commited on
Commit
8097fca
1 Parent(s): 9d5c5fa

Add default chat template to tokenizer_config.json (#15)

Browse files

- Add default chat template to tokenizer_config.json (bc4e86e12a417b951553384e0e7f5363078f4e6c)


Co-authored-by: Joshua <Xenova@users.noreply.huggingface.co>

Files changed (1) hide show
  1. tokenizer_config.json +4 -1
tokenizer_config.json CHANGED
@@ -1 +1,4 @@
1
- {"model_max_length": 1024}
 
 
 
1
+ {
2
+ "model_max_length": 1024,
3
+ "chat_template": "{% for message in messages %}{{ message.content }}{{ eos_token }}{% endfor %}"
4
+ }