latishab commited on
Commit
7c88591
·
verified ·
1 Parent(s): 376370c

Upload tokenizer

Browse files
Files changed (2) hide show
  1. special_tokens_map.json +23 -17
  2. tokenizer_config.json +7 -0
special_tokens_map.json CHANGED
@@ -1,23 +1,29 @@
1
  {
2
  "additional_special_tokens": [
3
- {
4
- "content": "<|im_start|>",
5
- "lstrip": false,
6
- "normalized": false,
7
- "rstrip": false,
8
- "single_word": false
9
- },
10
- {
11
- "content": "<|im_end|>",
12
- "lstrip": false,
13
- "normalized": false,
14
- "rstrip": false,
15
- "single_word": false
16
- }
17
  ],
18
- "bos_token": "<|im_start|>",
19
- "eos_token": "<|im_end|>",
20
- "pad_token": "<|im_end|>",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  "unk_token": {
22
  "content": "<|endoftext|>",
23
  "lstrip": false,
 
1
  {
2
  "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>"
 
 
 
 
 
 
 
 
 
 
 
 
5
  ],
6
+ "bos_token": {
7
+ "content": "<|im_start|>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "eos_token": {
14
+ "content": "<|im_end|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "pad_token": {
21
+ "content": "<|im_end|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false
26
+ },
27
  "unk_token": {
28
  "content": "<|endoftext|>",
29
  "lstrip": false,
tokenizer_config.json CHANGED
@@ -147,9 +147,16 @@
147
  "clean_up_tokenization_spaces": false,
148
  "eos_token": "<|im_end|>",
149
  "extra_special_tokens": {},
 
150
  "model_max_length": 8192,
 
151
  "pad_token": "<|im_end|>",
 
 
 
152
  "tokenizer_class": "GPT2Tokenizer",
 
 
153
  "unk_token": "<|endoftext|>",
154
  "vocab_size": 49152
155
  }
 
147
  "clean_up_tokenization_spaces": false,
148
  "eos_token": "<|im_end|>",
149
  "extra_special_tokens": {},
150
+ "max_length": 128,
151
  "model_max_length": 8192,
152
+ "pad_to_multiple_of": null,
153
  "pad_token": "<|im_end|>",
154
+ "pad_token_type_id": 0,
155
+ "padding_side": "right",
156
+ "stride": 0,
157
  "tokenizer_class": "GPT2Tokenizer",
158
+ "truncation_side": "right",
159
+ "truncation_strategy": "longest_first",
160
  "unk_token": "<|endoftext|>",
161
  "vocab_size": 49152
162
  }