tingwu commited on
Commit
649a10d
·
verified ·
1 Parent(s): f1a6355

Upload tokenizer

Browse files
Files changed (4) hide show
  1. README.md +199 -0
  2. special_tokens_map.json +9 -0
  3. tokenizer.json +266 -0
  4. tokenizer_config.json +48 -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,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "pad_token": {
3
+ "content": "[PAD]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ }
9
+ }
tokenizer.json ADDED
@@ -0,0 +1,266 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "[CLS]",
18
+ "single_word": false,
19
+ "lstrip": false,
20
+ "rstrip": false,
21
+ "normalized": false,
22
+ "special": true
23
+ },
24
+ {
25
+ "id": 2,
26
+ "content": "[SEP]",
27
+ "single_word": false,
28
+ "lstrip": false,
29
+ "rstrip": false,
30
+ "normalized": false,
31
+ "special": true
32
+ },
33
+ {
34
+ "id": 3,
35
+ "content": "[PAD]",
36
+ "single_word": false,
37
+ "lstrip": false,
38
+ "rstrip": false,
39
+ "normalized": false,
40
+ "special": true
41
+ },
42
+ {
43
+ "id": 4,
44
+ "content": "[MASK]",
45
+ "single_word": false,
46
+ "lstrip": false,
47
+ "rstrip": false,
48
+ "normalized": false,
49
+ "special": true
50
+ }
51
+ ],
52
+ "normalizer": null,
53
+ "pre_tokenizer": {
54
+ "type": "WhitespaceSplit"
55
+ },
56
+ "post_processor": null,
57
+ "decoder": null,
58
+ "model": {
59
+ "type": "WordLevel",
60
+ "vocab": {
61
+ "[UNK]": 0,
62
+ "[CLS]": 1,
63
+ "[SEP]": 2,
64
+ "[PAD]": 3,
65
+ "[MASK]": 4,
66
+ "Velocity_67": 5,
67
+ "Velocity_63": 6,
68
+ "Velocity_59": 7,
69
+ "Velocity_71": 8,
70
+ "Duration_0.4.8": 9,
71
+ "Duration_0.5.8": 10,
72
+ "Duration_1.0.8": 11,
73
+ "Velocity_55": 12,
74
+ "Duration_1.1.8": 13,
75
+ "Bar_None": 14,
76
+ "Position_0": 15,
77
+ "Position_16": 16,
78
+ "Position_24": 17,
79
+ "Position_8": 18,
80
+ "Velocity_51": 19,
81
+ "Duration_2.0.8": 20,
82
+ "Position_12": 21,
83
+ "Position_28": 22,
84
+ "Velocity_75": 23,
85
+ "Duration_0.6.8": 24,
86
+ "Position_20": 25,
87
+ "Duration_2.1.8": 26,
88
+ "Position_4": 27,
89
+ "Duration_1.2.8": 28,
90
+ "Duration_1.4.8": 29,
91
+ "Velocity_47": 30,
92
+ "Duration_0.1.8": 31,
93
+ "Pitch_55": 32,
94
+ "Pitch_43": 33,
95
+ "Pitch_72": 34,
96
+ "Pitch_74": 35,
97
+ "Duration_1.5.8": 36,
98
+ "Pitch_57": 37,
99
+ "Pitch_52": 38,
100
+ "Pitch_60": 39,
101
+ "Pitch_53": 40,
102
+ "Duration_0.2.8": 41,
103
+ "Pitch_54": 42,
104
+ "Pitch_76": 43,
105
+ "Pitch_69": 44,
106
+ "Pitch_48": 45,
107
+ "Pitch_67": 46,
108
+ "Pitch_62": 47,
109
+ "Pitch_71": 48,
110
+ "Pitch_59": 49,
111
+ "Pitch_45": 50,
112
+ "Pitch_50": 51,
113
+ "Pitch_70": 52,
114
+ "Duration_0.3.8": 53,
115
+ "Pitch_77": 54,
116
+ "Duration_0.7.8": 55,
117
+ "Pitch_64": 56,
118
+ "Pitch_81": 57,
119
+ "Pitch_58": 58,
120
+ "Pitch_79": 59,
121
+ "Pitch_73": 60,
122
+ "Pitch_46": 61,
123
+ "Pitch_56": 62,
124
+ "Pitch_51": 63,
125
+ "Pitch_44": 64,
126
+ "Pitch_63": 65,
127
+ "Pitch_68": 66,
128
+ "Pitch_61": 67,
129
+ "Pitch_78": 68,
130
+ "Pitch_47": 69,
131
+ "Pitch_75": 70,
132
+ "Pitch_49": 71,
133
+ "Pitch_65": 72,
134
+ "Duration_2.2.8": 73,
135
+ "Duration_1.3.8": 74,
136
+ "Pitch_66": 75,
137
+ "Pitch_82": 76,
138
+ "Duration_3.1.8": 77,
139
+ "Pitch_80": 78,
140
+ "Pitch_41": 79,
141
+ "Duration_1.6.8": 80,
142
+ "Duration_4.1.4": 81,
143
+ "Velocity_79": 82,
144
+ "Duration_3.0.8": 83,
145
+ "Duration_2.4.8": 84,
146
+ "Pitch_42": 85,
147
+ "Duration_2.5.8": 86,
148
+ "Velocity_43": 87,
149
+ "Pitch_83": 88,
150
+ "Duration_1.7.8": 89,
151
+ "Duration_4.0.4": 90,
152
+ "Pitch_40": 91,
153
+ "Pitch_84": 92,
154
+ "Duration_2.3.8": 93,
155
+ "Duration_3.2.8": 94,
156
+ "Pitch_38": 95,
157
+ "Position_6": 96,
158
+ "Duration_2.6.8": 97,
159
+ "Pitch_39": 98,
160
+ "Position_31": 99,
161
+ "Position_22": 100,
162
+ "Pitch_36": 101,
163
+ "Position_14": 102,
164
+ "Position_30": 103,
165
+ "Pitch_86": 104,
166
+ "Position_15": 105,
167
+ "Duration_3.5.8": 106,
168
+ "Duration_3.4.8": 107,
169
+ "Duration_2.7.8": 108,
170
+ "Position_7": 109,
171
+ "Pitch_85": 110,
172
+ "Position_23": 111,
173
+ "Duration_4.2.4": 112,
174
+ "Duration_5.1.4": 113,
175
+ "Pitch_37": 114,
176
+ "Position_26": 115,
177
+ "Duration_3.3.8": 116,
178
+ "Position_10": 117,
179
+ "Position_18": 118,
180
+ "Position_27": 119,
181
+ "Duration_4.3.4": 120,
182
+ "Position_2": 121,
183
+ "Duration_5.0.4": 122,
184
+ "Position_11": 123,
185
+ "Duration_3.6.8": 124,
186
+ "Duration_3.7.8": 125,
187
+ "Pitch_87": 126,
188
+ "Velocity_39": 127,
189
+ "Position_3": 128,
190
+ "Duration_6.1.4": 129,
191
+ "Position_19": 130,
192
+ "Pitch_88": 131,
193
+ "Position_21": 132,
194
+ "Pitch_35": 133,
195
+ "Velocity_83": 134,
196
+ "Duration_6.0.4": 135,
197
+ "Pitch_89": 136,
198
+ "Position_5": 137,
199
+ "Position_29": 138,
200
+ "Position_1": 139,
201
+ "Position_13": 140,
202
+ "Duration_5.2.4": 141,
203
+ "Pitch_34": 142,
204
+ "Pitch_91": 143,
205
+ "Duration_5.3.4": 144,
206
+ "Pitch_33": 145,
207
+ "Pitch_90": 146,
208
+ "Duration_7.1.4": 147,
209
+ "Duration_8.1.4": 148,
210
+ "Position_17": 149,
211
+ "Pitch_31": 150,
212
+ "Duration_8.0.4": 151,
213
+ "Position_25": 152,
214
+ "Duration_6.2.4": 153,
215
+ "Position_9": 154,
216
+ "Duration_7.0.4": 155,
217
+ "Duration_6.3.4": 156,
218
+ "Pitch_93": 157,
219
+ "Duration_12.0.4": 158,
220
+ "Pitch_32": 159,
221
+ "Duration_7.2.4": 160,
222
+ "Pitch_92": 161,
223
+ "Duration_7.3.4": 162,
224
+ "Velocity_35": 163,
225
+ "Pitch_94": 164,
226
+ "Duration_8.2.4": 165,
227
+ "Pitch_29": 166,
228
+ "Pitch_30": 167,
229
+ "Duration_9.1.4": 168,
230
+ "Duration_9.0.4": 169,
231
+ "Pitch_95": 170,
232
+ "Pitch_96": 171,
233
+ "Duration_8.3.4": 172,
234
+ "Pitch_28": 173,
235
+ "Pitch_98": 174,
236
+ "Duration_9.2.4": 175,
237
+ "Duration_10.0.4": 176,
238
+ "Duration_10.1.4": 177,
239
+ "Pitch_26": 178,
240
+ "Duration_9.3.4": 179,
241
+ "Duration_11.0.4": 180,
242
+ "Pitch_97": 181,
243
+ "Duration_11.1.4": 182,
244
+ "Duration_10.3.4": 183,
245
+ "Duration_11.2.4": 184,
246
+ "Pitch_27": 185,
247
+ "Duration_10.2.4": 186,
248
+ "Duration_11.3.4": 187,
249
+ "Pitch_24": 188,
250
+ "Pitch_100": 189,
251
+ "Velocity_31": 190,
252
+ "Pitch_99": 191,
253
+ "Pitch_101": 192,
254
+ "Pitch_25": 193,
255
+ "Pitch_102": 194,
256
+ "Pitch_103": 195,
257
+ "Velocity_27": 196,
258
+ "Pitch_104": 197,
259
+ "Velocity_87": 198,
260
+ "Pitch_105": 199,
261
+ "Pitch_22": 200,
262
+ "Velocity_23": 201
263
+ },
264
+ "unk_token": "[UNK]"
265
+ }
266
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "[CLS]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[SEP]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[PAD]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "model_max_length": 1000000000000000019884624838656,
46
+ "pad_token": "[PAD]",
47
+ "tokenizer_class": "PreTrainedTokenizerFast"
48
+ }