julien-c HF staff Xenova HF staff commited on
Commit
3391fef
1 Parent(s): 04e3e47

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

Browse files

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


Co-authored-by: Joshua <[email protected]>

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
+ }