ikyuarqie commited on
Commit
8b457d5
1 Parent(s): de4c3ad

Upload tokenizer

Browse files
Files changed (2) hide show
  1. special_tokens_map.json +0 -1
  2. tokenizer_config.json +1 -2
special_tokens_map.json CHANGED
@@ -13,7 +13,6 @@
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
- "pad_token": "<|endoftext|>",
17
  "unk_token": {
18
  "content": "<|endoftext|>",
19
  "lstrip": false,
 
13
  "rstrip": false,
14
  "single_word": false
15
  },
 
16
  "unk_token": {
17
  "content": "<|endoftext|>",
18
  "lstrip": false,
tokenizer_config.json CHANGED
@@ -1156,12 +1156,11 @@
1156
  }
1157
  },
1158
  "bos_token": "<|endoftext|>",
1159
- "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
1160
  "clean_up_tokenization_spaces": true,
1161
  "eos_token": "<|endoftext|>",
1162
  "errors": "replace",
1163
  "model_max_length": 2048,
1164
- "pad_token": "<|endoftext|>",
1165
  "tokenizer_class": "GPT2Tokenizer",
1166
  "unk_token": "<|endoftext|>"
1167
  }
 
1156
  }
1157
  },
1158
  "bos_token": "<|endoftext|>",
 
1159
  "clean_up_tokenization_spaces": true,
1160
  "eos_token": "<|endoftext|>",
1161
  "errors": "replace",
1162
  "model_max_length": 2048,
1163
+ "pad_token": null,
1164
  "tokenizer_class": "GPT2Tokenizer",
1165
  "unk_token": "<|endoftext|>"
1166
  }