philschmid HF staff commited on
Commit
fbdaf33
1 Parent(s): 046b3f8

Update tokenizer_config.json (#1)

Browse files

- Update tokenizer_config.json (d481bff2137fce02b13dde68cefeebae084428f2)

Files changed (1) hide show
  1. tokenizer_config.json +4 -2
tokenizer_config.json CHANGED
@@ -1,4 +1,6 @@
1
  {
 
 
2
  "added_tokens_decoder": {
3
  "0": {
4
  "content": "<pad>",
@@ -53,10 +55,10 @@
53
  "<|im_start|>",
54
  "<|im_end|>"
55
  ],
56
- "bos_token": "<|im_start|>",
57
  "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
58
  "clean_up_tokenization_spaces": false,
59
- "eos_token": "<|im_end|>",
60
  "legacy": null,
61
  "model_max_length": 1000000000000000019884624838656,
62
  "pad_token": "<pad>",
 
1
  {
2
+ "add_bos_token": true,
3
+ "add_eos_token": true,
4
  "added_tokens_decoder": {
5
  "0": {
6
  "content": "<pad>",
 
55
  "<|im_start|>",
56
  "<|im_end|>"
57
  ],
58
+ "bos_token": "<bos>",
59
  "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
60
  "clean_up_tokenization_spaces": false,
61
+ "eos_token": "<eos>",
62
  "legacy": null,
63
  "model_max_length": 1000000000000000019884624838656,
64
  "pad_token": "<pad>",