deepparag Xenova HF staff commited on
Commit
874d2d7
1 Parent(s): 6e24e40

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

Browse files

- Add default chat template to tokenizer_config.json (97618e42f383d63ab351fb66fc43b14dae9c0216)


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

Files changed (1) hide show
  1. tokenizer_config.json +3 -2
tokenizer_config.json CHANGED
@@ -30,5 +30,6 @@
30
  "normalized": true,
31
  "rstrip": false,
32
  "single_word": false
33
- }
34
- }
 
 
30
  "normalized": true,
31
  "rstrip": false,
32
  "single_word": false
33
+ },
34
+ "chat_template": "{% for message in messages %}{{ message.content }}{{ eos_token }}{% endfor %}"
35
+ }