actualbrain commited on
Commit
9e6bbac
·
verified ·
1 Parent(s): 87caa03

Upload tokenizer

Browse files
Files changed (2) hide show
  1. special_tokens_map.json +1 -7
  2. tokenizer_config.json +1 -1
special_tokens_map.json CHANGED
@@ -9,13 +9,7 @@
9
  "<pad>",
10
  "<eos>"
11
  ],
12
- "eos_token": {
13
- "content": "<|im_end|>",
14
- "lstrip": false,
15
- "normalized": false,
16
- "rstrip": false,
17
- "single_word": false
18
- },
19
  "pad_token": {
20
  "content": "<pad>",
21
  "lstrip": false,
 
9
  "<pad>",
10
  "<eos>"
11
  ],
12
+ "eos_token": "<eos>",
 
 
 
 
 
 
13
  "pad_token": {
14
  "content": "<pad>",
15
  "lstrip": false,
tokenizer_config.json CHANGED
@@ -240,7 +240,7 @@
240
  "bos_token": null,
241
  "chat_template": "{{ bos_token }}{% if messages[0]['from'] == 'system' %}{{ raise_exception('System role not supported') }}{% endif %}{% for message in messages %}{{ '<start_of_turn>' + message['from'] + '\n' + message['value'] | trim + '<end_of_turn><eos>\n' }}{% endfor %}{% if add_generation_prompt %}{{'<start_of_turn>model\n'}}{% endif %}",
242
  "clean_up_tokenization_spaces": false,
243
- "eos_token": "<|im_end|>",
244
  "errors": "replace",
245
  "extra_special_tokens": {},
246
  "model_max_length": 131072,
 
240
  "bos_token": null,
241
  "chat_template": "{{ bos_token }}{% if messages[0]['from'] == 'system' %}{{ raise_exception('System role not supported') }}{% endif %}{% for message in messages %}{{ '<start_of_turn>' + message['from'] + '\n' + message['value'] | trim + '<end_of_turn><eos>\n' }}{% endfor %}{% if add_generation_prompt %}{{'<start_of_turn>model\n'}}{% endif %}",
242
  "clean_up_tokenization_spaces": false,
243
+ "eos_token": "<eos>",
244
  "errors": "replace",
245
  "extra_special_tokens": {},
246
  "model_max_length": 131072,