jlgaralc commited on
Commit
e8f5526
·
verified ·
1 Parent(s): c3f9ddc

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
@@ -11,13 +11,7 @@
11
  "<|endoftext|>",
12
  "<|im_end|>"
13
  ],
14
- "eos_token": {
15
- "content": "<|im_end|>",
16
- "lstrip": false,
17
- "normalized": false,
18
- "rstrip": false,
19
- "single_word": false
20
- },
21
  "pad_token": {
22
  "content": "<|endoftext|>",
23
  "lstrip": false,
 
11
  "<|endoftext|>",
12
  "<|im_end|>"
13
  ],
14
+ "eos_token": "<|endoftext|>",
 
 
 
 
 
 
15
  "pad_token": {
16
  "content": "<|endoftext|>",
17
  "lstrip": false,
tokenizer_config.json CHANGED
@@ -242,7 +242,7 @@
242
  "bos_token": null,
243
  "chat_template": "{{ bos_token }}{% if messages[0]['role'] == 'system' %}{{ raise_exception('System role not supported') }}{% endif %}{% for message in messages %}{{ '<start_of_turn>' + message['role'] + '\n' + message['content'] | trim + '<end_of_turn><eos>\n' }}{% endfor %}{% if add_generation_prompt %}{{'<start_of_turn>model\n'}}{% endif %}",
244
  "clean_up_tokenization_spaces": false,
245
- "eos_token": "<|im_end|>",
246
  "errors": "replace",
247
  "extra_special_tokens": {},
248
  "model_max_length": 131072,
 
242
  "bos_token": null,
243
  "chat_template": "{{ bos_token }}{% if messages[0]['role'] == 'system' %}{{ raise_exception('System role not supported') }}{% endif %}{% for message in messages %}{{ '<start_of_turn>' + message['role'] + '\n' + message['content'] | trim + '<end_of_turn><eos>\n' }}{% endfor %}{% if add_generation_prompt %}{{'<start_of_turn>model\n'}}{% endif %}",
244
  "clean_up_tokenization_spaces": false,
245
+ "eos_token": "<|endoftext|>",
246
  "errors": "replace",
247
  "extra_special_tokens": {},
248
  "model_max_length": 131072,