latishab commited on
Commit
c90d551
·
verified ·
1 Parent(s): 21f69e9

Upload tokenizer

Browse files
Files changed (2) hide show
  1. special_tokens_map.json +2 -14
  2. tokenizer_config.json +7 -0
special_tokens_map.json CHANGED
@@ -1,19 +1,7 @@
1
  {
2
  "additional_special_tokens": [
3
- {
4
- "content": "<|user|>",
5
- "lstrip": false,
6
- "normalized": false,
7
- "rstrip": false,
8
- "single_word": false
9
- },
10
- {
11
- "content": "<|assistant|>",
12
- "lstrip": false,
13
- "normalized": false,
14
- "rstrip": false,
15
- "single_word": false
16
- }
17
  ],
18
  "bos_token": {
19
  "content": "<|im_start|>",
 
1
  {
2
  "additional_special_tokens": [
3
+ "<|user|>",
4
+ "<|assistant|>"
 
 
 
 
 
 
 
 
 
 
 
 
5
  ],
6
  "bos_token": {
7
  "content": "<|im_start|>",
tokenizer_config.json CHANGED
@@ -163,9 +163,16 @@
163
  "clean_up_tokenization_spaces": false,
164
  "eos_token": "<|im_end|>",
165
  "extra_special_tokens": {},
 
166
  "model_max_length": 8192,
 
167
  "pad_token": "<|im_end|>",
 
 
 
168
  "tokenizer_class": "GPT2Tokenizer",
 
 
169
  "unk_token": "<|endoftext|>",
170
  "vocab_size": 49152
171
  }
 
163
  "clean_up_tokenization_spaces": false,
164
  "eos_token": "<|im_end|>",
165
  "extra_special_tokens": {},
166
+ "max_length": 256,
167
  "model_max_length": 8192,
168
+ "pad_to_multiple_of": null,
169
  "pad_token": "<|im_end|>",
170
+ "pad_token_type_id": 0,
171
+ "padding_side": "right",
172
+ "stride": 0,
173
  "tokenizer_class": "GPT2Tokenizer",
174
+ "truncation_side": "right",
175
+ "truncation_strategy": "longest_first",
176
  "unk_token": "<|endoftext|>",
177
  "vocab_size": 49152
178
  }