Heimrih commited on
Commit
cb6daee
·
verified ·
1 Parent(s): f4023dd

Upload tokenizer

Browse files
Files changed (4) hide show
  1. README.md +199 -0
  2. special_tokens_map.json +4 -0
  3. tokenizer.json +325 -0
  4. tokenizer_config.json +26 -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,4 @@
 
 
 
 
 
1
+ {
2
+ "pad_token": "<pad>",
3
+ "unk_token": "<unk>"
4
+ }
tokenizer.json ADDED
@@ -0,0 +1,325 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "truncation": null,
4
+ "padding": null,
5
+ "added_tokens": [
6
+ {
7
+ "id": 0,
8
+ "content": "<unk>",
9
+ "single_word": false,
10
+ "lstrip": false,
11
+ "rstrip": false,
12
+ "normalized": false,
13
+ "special": true
14
+ },
15
+ {
16
+ "id": 1,
17
+ "content": "<pad>",
18
+ "single_word": false,
19
+ "lstrip": false,
20
+ "rstrip": false,
21
+ "normalized": false,
22
+ "special": true
23
+ }
24
+ ],
25
+ "normalizer": null,
26
+ "pre_tokenizer": {
27
+ "type": "Whitespace"
28
+ },
29
+ "post_processor": null,
30
+ "decoder": null,
31
+ "model": {
32
+ "type": "BPE",
33
+ "dropout": null,
34
+ "unk_token": null,
35
+ "continuing_subword_prefix": null,
36
+ "end_of_word_suffix": null,
37
+ "fuse_unk": false,
38
+ "byte_fallback": false,
39
+ "ignore_merges": false,
40
+ "vocab": {
41
+ "<unk>": 0,
42
+ "<pad>": 1,
43
+ "(": 2,
44
+ ")": 3,
45
+ "+": 4,
46
+ ",": 5,
47
+ "0": 6,
48
+ "1": 7,
49
+ ":": 8,
50
+ "T": 9,
51
+ "_": 10,
52
+ "a": 11,
53
+ "b": 12,
54
+ "c": 13,
55
+ "d": 14,
56
+ "e": 15,
57
+ "f": 16,
58
+ "g": 17,
59
+ "i": 18,
60
+ "k": 19,
61
+ "l": 20,
62
+ "m": 21,
63
+ "n": 22,
64
+ "o": 23,
65
+ "p": 24,
66
+ "r": 25,
67
+ "s": 26,
68
+ "t": 27,
69
+ "u": 28,
70
+ "z": 29,
71
+ "):": 30,
72
+ "in": 31,
73
+ "__": 32,
74
+ "as": 33,
75
+ "de": 34,
76
+ "ass": 35,
77
+ "def": 36,
78
+ "10": 37,
79
+ "To": 38,
80
+ "_s": 39,
81
+ "an": 40,
82
+ "cl": 41,
83
+ "co": 42,
84
+ "el": 43,
85
+ "en": 44,
86
+ "er": 45,
87
+ "et": 46,
88
+ "e_s": 47,
89
+ "fo": 48,
90
+ "ge": 49,
91
+ "it": 50,
92
+ "iz": 51,
93
+ "ken": 52,
94
+ "mp": 53,
95
+ "pr": 54,
96
+ "pass": 55,
97
+ "rn": 56,
98
+ "ran": 57,
99
+ "ret": 58,
100
+ "sel": 59,
101
+ "te_s": 60,
102
+ "um": 61,
103
+ "urn": 62,
104
+ "ute_s": 63,
105
+ "int": 64,
106
+ "init": 65,
107
+ "__init": 66,
108
+ "Token": 67,
109
+ "class": 68,
110
+ "comp": 69,
111
+ "for": 70,
112
+ "izer": 71,
113
+ "print": 72,
114
+ "range": 73,
115
+ "return": 74,
116
+ "self": 75,
117
+ "ute_sum": 76,
118
+ "__init__": 77,
119
+ "Tokenizer": 78,
120
+ "compute_sum": 79
121
+ },
122
+ "merges": [
123
+ [
124
+ ")",
125
+ ":"
126
+ ],
127
+ [
128
+ "i",
129
+ "n"
130
+ ],
131
+ [
132
+ "_",
133
+ "_"
134
+ ],
135
+ [
136
+ "a",
137
+ "s"
138
+ ],
139
+ [
140
+ "d",
141
+ "e"
142
+ ],
143
+ [
144
+ "as",
145
+ "s"
146
+ ],
147
+ [
148
+ "de",
149
+ "f"
150
+ ],
151
+ [
152
+ "1",
153
+ "0"
154
+ ],
155
+ [
156
+ "T",
157
+ "o"
158
+ ],
159
+ [
160
+ "_",
161
+ "s"
162
+ ],
163
+ [
164
+ "a",
165
+ "n"
166
+ ],
167
+ [
168
+ "c",
169
+ "l"
170
+ ],
171
+ [
172
+ "c",
173
+ "o"
174
+ ],
175
+ [
176
+ "e",
177
+ "l"
178
+ ],
179
+ [
180
+ "e",
181
+ "n"
182
+ ],
183
+ [
184
+ "e",
185
+ "r"
186
+ ],
187
+ [
188
+ "e",
189
+ "t"
190
+ ],
191
+ [
192
+ "e",
193
+ "_s"
194
+ ],
195
+ [
196
+ "f",
197
+ "o"
198
+ ],
199
+ [
200
+ "g",
201
+ "e"
202
+ ],
203
+ [
204
+ "i",
205
+ "t"
206
+ ],
207
+ [
208
+ "i",
209
+ "z"
210
+ ],
211
+ [
212
+ "k",
213
+ "en"
214
+ ],
215
+ [
216
+ "m",
217
+ "p"
218
+ ],
219
+ [
220
+ "p",
221
+ "r"
222
+ ],
223
+ [
224
+ "p",
225
+ "ass"
226
+ ],
227
+ [
228
+ "r",
229
+ "n"
230
+ ],
231
+ [
232
+ "r",
233
+ "an"
234
+ ],
235
+ [
236
+ "r",
237
+ "et"
238
+ ],
239
+ [
240
+ "s",
241
+ "el"
242
+ ],
243
+ [
244
+ "t",
245
+ "e_s"
246
+ ],
247
+ [
248
+ "u",
249
+ "m"
250
+ ],
251
+ [
252
+ "u",
253
+ "rn"
254
+ ],
255
+ [
256
+ "u",
257
+ "te_s"
258
+ ],
259
+ [
260
+ "in",
261
+ "t"
262
+ ],
263
+ [
264
+ "in",
265
+ "it"
266
+ ],
267
+ [
268
+ "__",
269
+ "init"
270
+ ],
271
+ [
272
+ "To",
273
+ "ken"
274
+ ],
275
+ [
276
+ "cl",
277
+ "ass"
278
+ ],
279
+ [
280
+ "co",
281
+ "mp"
282
+ ],
283
+ [
284
+ "fo",
285
+ "r"
286
+ ],
287
+ [
288
+ "iz",
289
+ "er"
290
+ ],
291
+ [
292
+ "pr",
293
+ "int"
294
+ ],
295
+ [
296
+ "ran",
297
+ "ge"
298
+ ],
299
+ [
300
+ "ret",
301
+ "urn"
302
+ ],
303
+ [
304
+ "sel",
305
+ "f"
306
+ ],
307
+ [
308
+ "ute_s",
309
+ "um"
310
+ ],
311
+ [
312
+ "__init",
313
+ "__"
314
+ ],
315
+ [
316
+ "Token",
317
+ "izer"
318
+ ],
319
+ [
320
+ "comp",
321
+ "ute_sum"
322
+ ]
323
+ ]
324
+ }
325
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<unk>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ }
19
+ },
20
+ "clean_up_tokenization_spaces": false,
21
+ "extra_special_tokens": {},
22
+ "model_max_length": 1000000000000000019884624838656,
23
+ "pad_token": "<pad>",
24
+ "tokenizer_class": "PreTrainedTokenizer",
25
+ "unk_token": "<unk>"
26
+ }