Transformers
Volowan commited on
Commit
7b0cf5e
·
verified ·
1 Parent(s): 95742c2

Upload tokenizer

Browse files
Files changed (4) hide show
  1. README.md +199 -0
  2. special_tokens_map.json +8 -0
  3. tokenizer.json +345 -0
  4. tokenizer_config.json +62 -0
README.md ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags: []
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+ This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
special_tokens_map.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "[bos]",
3
+ "cls_token": "[cls]",
4
+ "eos_token": "[eos]",
5
+ "pad_token": "[pad]",
6
+ "sep_token": "[sep]",
7
+ "unk_token": "[unk]"
8
+ }
tokenizer.json ADDED
@@ -0,0 +1,345 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "truncation": null,
4
+ "padding": null,
5
+ "added_tokens": [
6
+ {
7
+ "id": 0,
8
+ "content": "[cls]",
9
+ "single_word": false,
10
+ "lstrip": false,
11
+ "rstrip": false,
12
+ "normalized": false,
13
+ "special": true
14
+ },
15
+ {
16
+ "id": 254,
17
+ "content": "[bos]",
18
+ "single_word": false,
19
+ "lstrip": false,
20
+ "rstrip": false,
21
+ "normalized": false,
22
+ "special": true
23
+ },
24
+ {
25
+ "id": 255,
26
+ "content": "[pad]",
27
+ "single_word": false,
28
+ "lstrip": false,
29
+ "rstrip": false,
30
+ "normalized": false,
31
+ "special": true
32
+ },
33
+ {
34
+ "id": 256,
35
+ "content": "[eos]",
36
+ "single_word": false,
37
+ "lstrip": false,
38
+ "rstrip": false,
39
+ "normalized": false,
40
+ "special": true
41
+ },
42
+ {
43
+ "id": 257,
44
+ "content": "[sep]",
45
+ "single_word": false,
46
+ "lstrip": false,
47
+ "rstrip": false,
48
+ "normalized": false,
49
+ "special": true
50
+ },
51
+ {
52
+ "id": 258,
53
+ "content": "[unk]",
54
+ "single_word": false,
55
+ "lstrip": false,
56
+ "rstrip": false,
57
+ "normalized": false,
58
+ "special": true
59
+ }
60
+ ],
61
+ "normalizer": null,
62
+ "pre_tokenizer": {
63
+ "type": "Sequence",
64
+ "pretokenizers": [
65
+ {
66
+ "type": "WhitespaceSplit"
67
+ },
68
+ {
69
+ "type": "Split",
70
+ "pattern": {
71
+ "Regex": "(|\\[[A-Z][a-z]?|\\]|Br?|Cl?|N|O|S|P|F|I|H|b|c|n|o|s|p|\\(|\\)|\\.|=|#|-|\\+|\\\\\\\\|\\/|:|~|@|\\?|>|\\*|\\$|\\%[0-9]{2}|[0-9])"
72
+ },
73
+ "behavior": "Isolated",
74
+ "invert": false
75
+ }
76
+ ]
77
+ },
78
+ "post_processor": null,
79
+ "decoder": null,
80
+ "model": {
81
+ "type": "WordLevel",
82
+ "vocab": {
83
+ "[cls]": 0,
84
+ "[H": 1,
85
+ "[He": 2,
86
+ "[Li": 3,
87
+ "[Be": 4,
88
+ "[B": 5,
89
+ "[C": 6,
90
+ "[N": 7,
91
+ "[O": 8,
92
+ "[F": 9,
93
+ "[Ne": 10,
94
+ "[Na": 11,
95
+ "[Mg": 12,
96
+ "[Al": 13,
97
+ "[Si": 14,
98
+ "[P": 15,
99
+ "[S": 16,
100
+ "[Cl": 17,
101
+ "[Ar": 18,
102
+ "[K": 19,
103
+ "[Ca": 20,
104
+ "[Sc": 21,
105
+ "[Ti": 22,
106
+ "[V": 23,
107
+ "[Cr": 24,
108
+ "[Mn": 25,
109
+ "[Fe": 26,
110
+ "[Co": 27,
111
+ "[Ni": 28,
112
+ "[Cu": 29,
113
+ "[Zn": 30,
114
+ "[Ga": 31,
115
+ "[Ge": 32,
116
+ "[As": 33,
117
+ "[Se": 34,
118
+ "[Br": 35,
119
+ "[Kr": 36,
120
+ "[Rb": 37,
121
+ "[Sr": 38,
122
+ "[Y": 39,
123
+ "[Zr": 40,
124
+ "[Nb": 41,
125
+ "[Mo": 42,
126
+ "[Tc": 43,
127
+ "[Ru": 44,
128
+ "[Rh": 45,
129
+ "[Pd": 46,
130
+ "[Ag": 47,
131
+ "[Cd": 48,
132
+ "[In": 49,
133
+ "[Sn": 50,
134
+ "[Sb": 51,
135
+ "[Te": 52,
136
+ "[I": 53,
137
+ "[Xe": 54,
138
+ "[Cs": 55,
139
+ "[Ba": 56,
140
+ "[La": 57,
141
+ "[Ce": 58,
142
+ "[Pr": 59,
143
+ "[Nd": 60,
144
+ "[Pm": 61,
145
+ "[Sm": 62,
146
+ "[Eu": 63,
147
+ "[Gd": 64,
148
+ "[Tb": 65,
149
+ "[Dy": 66,
150
+ "[Ho": 67,
151
+ "[Er": 68,
152
+ "[Tm": 69,
153
+ "[Yb": 70,
154
+ "[Lu": 71,
155
+ "[Hf": 72,
156
+ "[Ta": 73,
157
+ "[W": 74,
158
+ "[Re": 75,
159
+ "[Os": 76,
160
+ "[Ir": 77,
161
+ "[Pt": 78,
162
+ "[Au": 79,
163
+ "[Hg": 80,
164
+ "[Tl": 81,
165
+ "[Pb": 82,
166
+ "[Bi": 83,
167
+ "[Po": 84,
168
+ "[At": 85,
169
+ "[Rn": 86,
170
+ "[Fr": 87,
171
+ "[Ra": 88,
172
+ "[Ac": 89,
173
+ "[Th": 90,
174
+ "[Pa": 91,
175
+ "[U": 92,
176
+ "[Np": 93,
177
+ "[Pu": 94,
178
+ "[Am": 95,
179
+ "[Cm": 96,
180
+ "[Bk": 97,
181
+ "[Cf": 98,
182
+ "[Es": 99,
183
+ "[Fm": 100,
184
+ "[Md": 101,
185
+ "[No": 102,
186
+ "[Lr": 103,
187
+ "[Rf": 104,
188
+ "[Db": 105,
189
+ "[Sg": 106,
190
+ "[Bh": 107,
191
+ "[Hs": 108,
192
+ "[Mt": 109,
193
+ "[Ds": 110,
194
+ "[Rg": 111,
195
+ "[Cn": 112,
196
+ "[Nh": 113,
197
+ "[Fl": 114,
198
+ "[Mc": 115,
199
+ "[Lv": 116,
200
+ "[Ts": 117,
201
+ "[Og": 118,
202
+ "C": 119,
203
+ "Cl": 120,
204
+ "B": 121,
205
+ "Br": 122,
206
+ "N": 123,
207
+ "O": 124,
208
+ "S": 125,
209
+ "P": 126,
210
+ "F": 127,
211
+ "I": 128,
212
+ "H": 129,
213
+ "b": 130,
214
+ "c": 131,
215
+ "n": 132,
216
+ "o": 133,
217
+ "s": 134,
218
+ "p": 135,
219
+ "~": 136,
220
+ "?": 137,
221
+ ">": 138,
222
+ "[": 139,
223
+ "]": 140,
224
+ ":": 141,
225
+ "=": 142,
226
+ "#": 143,
227
+ "$": 144,
228
+ "\\": 145,
229
+ "/": 146,
230
+ "(": 147,
231
+ ")": 148,
232
+ ".": 149,
233
+ "+": 150,
234
+ "-": 151,
235
+ "@": 152,
236
+ "*": 153,
237
+ "0": 154,
238
+ "1": 155,
239
+ "2": 156,
240
+ "3": 157,
241
+ "4": 158,
242
+ "5": 159,
243
+ "6": 160,
244
+ "7": 161,
245
+ "8": 162,
246
+ "9": 163,
247
+ "%10": 164,
248
+ "%11": 165,
249
+ "%12": 166,
250
+ "%13": 167,
251
+ "%14": 168,
252
+ "%15": 169,
253
+ "%16": 170,
254
+ "%17": 171,
255
+ "%18": 172,
256
+ "%19": 173,
257
+ "%20": 174,
258
+ "%21": 175,
259
+ "%22": 176,
260
+ "%23": 177,
261
+ "%24": 178,
262
+ "%25": 179,
263
+ "%26": 180,
264
+ "%27": 181,
265
+ "%28": 182,
266
+ "%29": 183,
267
+ "%30": 184,
268
+ "%31": 185,
269
+ "%32": 186,
270
+ "%33": 187,
271
+ "%34": 188,
272
+ "%35": 189,
273
+ "%36": 190,
274
+ "%37": 191,
275
+ "%38": 192,
276
+ "%39": 193,
277
+ "%40": 194,
278
+ "%41": 195,
279
+ "%42": 196,
280
+ "%43": 197,
281
+ "%44": 198,
282
+ "%45": 199,
283
+ "%46": 200,
284
+ "%47": 201,
285
+ "%48": 202,
286
+ "%49": 203,
287
+ "%50": 204,
288
+ "%51": 205,
289
+ "%52": 206,
290
+ "%53": 207,
291
+ "%54": 208,
292
+ "%55": 209,
293
+ "%56": 210,
294
+ "%57": 211,
295
+ "%58": 212,
296
+ "%59": 213,
297
+ "%60": 214,
298
+ "%61": 215,
299
+ "%62": 216,
300
+ "%63": 217,
301
+ "%64": 218,
302
+ "%65": 219,
303
+ "%66": 220,
304
+ "%67": 221,
305
+ "%68": 222,
306
+ "%69": 223,
307
+ "%70": 224,
308
+ "%71": 225,
309
+ "%72": 226,
310
+ "%73": 227,
311
+ "%74": 228,
312
+ "%75": 229,
313
+ "%76": 230,
314
+ "%77": 231,
315
+ "%78": 232,
316
+ "%79": 233,
317
+ "%80": 234,
318
+ "%81": 235,
319
+ "%82": 236,
320
+ "%83": 237,
321
+ "%84": 238,
322
+ "%85": 239,
323
+ "%86": 240,
324
+ "%87": 241,
325
+ "%88": 242,
326
+ "%89": 243,
327
+ "%90": 244,
328
+ "%91": 245,
329
+ "%92": 246,
330
+ "%93": 247,
331
+ "%94": 248,
332
+ "%95": 249,
333
+ "%96": 250,
334
+ "%97": 251,
335
+ "%98": 252,
336
+ "%99": 253,
337
+ "[bos]": 254,
338
+ "[pad]": 255,
339
+ "[eos]": 256,
340
+ "[sep]": 257,
341
+ "[unk]": 258
342
+ },
343
+ "unk_token": "[unk]"
344
+ }
345
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[cls]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "254": {
12
+ "content": "[bos]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "255": {
20
+ "content": "[pad]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "256": {
28
+ "content": "[eos]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "257": {
36
+ "content": "[sep]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "258": {
44
+ "content": "[unk]",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ }
51
+ },
52
+ "bos_token": "[bos]",
53
+ "clean_up_tokenization_spaces": false,
54
+ "cls_token": "[cls]",
55
+ "eos_token": "[eos]",
56
+ "extra_special_tokens": {},
57
+ "model_max_length": 1000000000000000019884624838656,
58
+ "pad_token": "[pad]",
59
+ "sep_token": "[sep]",
60
+ "tokenizer_class": "PreTrainedTokenizerFast",
61
+ "unk_token": "[unk]"
62
+ }