scthornton commited on
Commit
4d99962
·
verified ·
1 Parent(s): ae632a1

Upload tokenizer

Browse files
Files changed (3) hide show
  1. special_tokens_map.json +7 -1
  2. tokenizer.json +14 -44
  3. tokenizer_config.json +163 -7
special_tokens_map.json CHANGED
@@ -34,7 +34,13 @@
34
  "rstrip": false,
35
  "single_word": false
36
  },
37
- "pad_token": "<|endoftext|>",
 
 
 
 
 
 
38
  "unk_token": {
39
  "content": "<|endoftext|>",
40
  "lstrip": false,
 
34
  "rstrip": false,
35
  "single_word": false
36
  },
37
+ "pad_token": {
38
+ "content": "<|endoftext|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
  "unk_token": {
45
  "content": "<|endoftext|>",
46
  "lstrip": false,
tokenizer.json CHANGED
@@ -1,21 +1,7 @@
1
  {
2
  "version": "1.0",
3
- "truncation": {
4
- "direction": "Right",
5
- "max_length": 2048,
6
- "strategy": "LongestFirst",
7
- "stride": 0
8
- },
9
- "padding": {
10
- "strategy": {
11
- "Fixed": 2048
12
- },
13
- "direction": "Right",
14
- "pad_to_multiple_of": null,
15
- "pad_id": 0,
16
- "pad_type_id": 0,
17
- "pad_token": "<|endoftext|>"
18
- },
19
  "added_tokens": [
20
  {
21
  "id": 0,
@@ -191,37 +177,21 @@
191
  ],
192
  "normalizer": null,
193
  "pre_tokenizer": {
194
- "type": "ByteLevel",
195
- "add_prefix_space": false,
196
- "trim_offsets": true,
197
- "use_regex": true
198
- },
199
- "post_processor": {
200
- "type": "TemplateProcessing",
201
- "single": [
202
  {
203
- "Sequence": {
204
- "id": "A",
205
- "type_id": 0
206
- }
207
- }
208
- ],
209
- "pair": [
210
- {
211
- "Sequence": {
212
- "id": "A",
213
- "type_id": 0
214
- }
215
  },
216
  {
217
- "Sequence": {
218
- "id": "B",
219
- "type_id": 1
220
- }
221
  }
222
- ],
223
- "special_tokens": {}
224
  },
 
225
  "decoder": {
226
  "type": "ByteLevel",
227
  "add_prefix_space": true,
@@ -232,8 +202,8 @@
232
  "type": "BPE",
233
  "dropout": null,
234
  "unk_token": null,
235
- "continuing_subword_prefix": "",
236
- "end_of_word_suffix": "",
237
  "fuse_unk": false,
238
  "byte_fallback": false,
239
  "ignore_merges": false,
 
1
  {
2
  "version": "1.0",
3
+ "truncation": null,
4
+ "padding": null,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  "added_tokens": [
6
  {
7
  "id": 0,
 
177
  ],
178
  "normalizer": null,
179
  "pre_tokenizer": {
180
+ "type": "Sequence",
181
+ "pretokenizers": [
 
 
 
 
 
 
182
  {
183
+ "type": "Digits",
184
+ "individual_digits": true
 
 
 
 
 
 
 
 
 
 
185
  },
186
  {
187
+ "type": "ByteLevel",
188
+ "add_prefix_space": false,
189
+ "trim_offsets": true,
190
+ "use_regex": true
191
  }
192
+ ]
 
193
  },
194
+ "post_processor": null,
195
  "decoder": {
196
  "type": "ByteLevel",
197
  "add_prefix_space": true,
 
202
  "type": "BPE",
203
  "dropout": null,
204
  "unk_token": null,
205
+ "continuing_subword_prefix": null,
206
+ "end_of_word_suffix": null,
207
  "fuse_unk": false,
208
  "byte_fallback": false,
209
  "ignore_merges": false,
tokenizer_config.json CHANGED
@@ -1,11 +1,160 @@
1
  {
2
  "add_prefix_space": false,
3
- "backend": "tokenizers",
4
- "bos_token": "<|endoftext|>",
5
- "clean_up_tokenization_spaces": true,
6
- "eos_token": "<|endoftext|>",
7
- "errors": "replace",
8
- "extra_special_tokens": [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  "<|endoftext|>",
10
  "<fim_prefix>",
11
  "<fim_middle>",
@@ -26,11 +175,18 @@
26
  "<commit_after>",
27
  "<reponame>"
28
  ],
29
- "is_local": false,
 
 
 
 
30
  "model_max_length": 8192,
31
  "pad_token": "<|endoftext|>",
32
  "padding_side": "right",
 
33
  "tokenizer_class": "GPT2Tokenizer",
 
 
34
  "unk_token": "<|endoftext|>",
35
  "vocab_size": 49152
36
  }
 
1
  {
2
  "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<fim_prefix>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "<fim_middle>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<fim_suffix>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "4": {
37
+ "content": "<fim_pad>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "5": {
45
+ "content": "<filename>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "6": {
53
+ "content": "<gh_stars>",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ },
60
+ "7": {
61
+ "content": "<issue_start>",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": true
67
+ },
68
+ "8": {
69
+ "content": "<issue_comment>",
70
+ "lstrip": false,
71
+ "normalized": false,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": true
75
+ },
76
+ "9": {
77
+ "content": "<issue_closed>",
78
+ "lstrip": false,
79
+ "normalized": false,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "10": {
85
+ "content": "<jupyter_start>",
86
+ "lstrip": false,
87
+ "normalized": false,
88
+ "rstrip": false,
89
+ "single_word": false,
90
+ "special": true
91
+ },
92
+ "11": {
93
+ "content": "<jupyter_text>",
94
+ "lstrip": false,
95
+ "normalized": false,
96
+ "rstrip": false,
97
+ "single_word": false,
98
+ "special": true
99
+ },
100
+ "12": {
101
+ "content": "<jupyter_code>",
102
+ "lstrip": false,
103
+ "normalized": false,
104
+ "rstrip": false,
105
+ "single_word": false,
106
+ "special": true
107
+ },
108
+ "13": {
109
+ "content": "<jupyter_output>",
110
+ "lstrip": false,
111
+ "normalized": false,
112
+ "rstrip": false,
113
+ "single_word": false,
114
+ "special": true
115
+ },
116
+ "14": {
117
+ "content": "<empty_output>",
118
+ "lstrip": false,
119
+ "normalized": false,
120
+ "rstrip": false,
121
+ "single_word": false,
122
+ "special": true
123
+ },
124
+ "15": {
125
+ "content": "<commit_before>",
126
+ "lstrip": false,
127
+ "normalized": false,
128
+ "rstrip": false,
129
+ "single_word": false,
130
+ "special": true
131
+ },
132
+ "16": {
133
+ "content": "<commit_msg>",
134
+ "lstrip": false,
135
+ "normalized": false,
136
+ "rstrip": false,
137
+ "single_word": false,
138
+ "special": true
139
+ },
140
+ "17": {
141
+ "content": "<commit_after>",
142
+ "lstrip": false,
143
+ "normalized": false,
144
+ "rstrip": false,
145
+ "single_word": false,
146
+ "special": true
147
+ },
148
+ "18": {
149
+ "content": "<reponame>",
150
+ "lstrip": false,
151
+ "normalized": false,
152
+ "rstrip": false,
153
+ "single_word": false,
154
+ "special": true
155
+ }
156
+ },
157
+ "additional_special_tokens": [
158
  "<|endoftext|>",
159
  "<fim_prefix>",
160
  "<fim_middle>",
 
175
  "<commit_after>",
176
  "<reponame>"
177
  ],
178
+ "bos_token": "<|endoftext|>",
179
+ "clean_up_tokenization_spaces": true,
180
+ "eos_token": "<|endoftext|>",
181
+ "extra_special_tokens": {},
182
+ "max_length": 2048,
183
  "model_max_length": 8192,
184
  "pad_token": "<|endoftext|>",
185
  "padding_side": "right",
186
+ "stride": 0,
187
  "tokenizer_class": "GPT2Tokenizer",
188
+ "truncation_side": "right",
189
+ "truncation_strategy": "longest_first",
190
  "unk_token": "<|endoftext|>",
191
  "vocab_size": 49152
192
  }