Felladrin commited on
Commit
107df4b
·
verified ·
1 Parent(s): 23536c7

Fix the eos_token

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -773,7 +773,7 @@
773
  "bos_token": "<|endoftext|>",
774
  "chat_template": "{% for message in messages %}{% if (message['role'] == 'system') %}{{'<|im_start|>system<|im_sep|>' + message['content'] + '<|im_end|>'}}{% elif (message['role'] == 'user') %}{{'<|im_start|>user<|im_sep|>' + message['content'] + '<|im_end|><|im_start|>assistant<|im_sep|>'}}{% elif (message['role'] == 'assistant') %}{{message['content'] + '<|im_end|>'}}{% endif %}{% endfor %}",
775
  "clean_up_tokenization_spaces": false,
776
- "eos_token": "<|endoftext|>",
777
  "extra_special_tokens": {},
778
  "model_max_length": 16384,
779
  "pad_token": "<|endoftext|>",
 
773
  "bos_token": "<|endoftext|>",
774
  "chat_template": "{% for message in messages %}{% if (message['role'] == 'system') %}{{'<|im_start|>system<|im_sep|>' + message['content'] + '<|im_end|>'}}{% elif (message['role'] == 'user') %}{{'<|im_start|>user<|im_sep|>' + message['content'] + '<|im_end|><|im_start|>assistant<|im_sep|>'}}{% elif (message['role'] == 'assistant') %}{{message['content'] + '<|im_end|>'}}{% endif %}{% endfor %}",
775
  "clean_up_tokenization_spaces": false,
776
+ "eos_token": "<|im_end|>",
777
  "extra_special_tokens": {},
778
  "model_max_length": 16384,
779
  "pad_token": "<|endoftext|>",