datht commited on
Commit
2830c3b
1 Parent(s): 7dd4c08

Upload tokenizer

Browse files
Files changed (6) hide show
  1. README.md +201 -0
  2. merges.txt +1 -0
  3. special_tokens_map.json +5 -0
  4. tokenizer.json +304 -0
  5. tokenizer_config.json +19 -0
  6. vocab.json +1 -0
README.md ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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]
200
+
201
+
merges.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ #version: 0.2
special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "unk_token": "<|endoftext|>"
5
+ }
tokenizer.json ADDED
@@ -0,0 +1,304 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "truncation": null,
4
+ "padding": null,
5
+ "added_tokens": [
6
+ {
7
+ "id": 0,
8
+ "content": "<|endoftext|>",
9
+ "single_word": false,
10
+ "lstrip": false,
11
+ "rstrip": false,
12
+ "normalized": true,
13
+ "special": true
14
+ }
15
+ ],
16
+ "normalizer": null,
17
+ "pre_tokenizer": {
18
+ "type": "ByteLevel",
19
+ "add_prefix_space": false,
20
+ "trim_offsets": true,
21
+ "use_regex": true
22
+ },
23
+ "post_processor": {
24
+ "type": "ByteLevel",
25
+ "add_prefix_space": true,
26
+ "trim_offsets": false,
27
+ "use_regex": true
28
+ },
29
+ "decoder": {
30
+ "type": "ByteLevel",
31
+ "add_prefix_space": true,
32
+ "trim_offsets": true,
33
+ "use_regex": true
34
+ },
35
+ "model": {
36
+ "type": "BPE",
37
+ "dropout": null,
38
+ "unk_token": null,
39
+ "continuing_subword_prefix": "",
40
+ "end_of_word_suffix": "",
41
+ "fuse_unk": false,
42
+ "byte_fallback": false,
43
+ "vocab": {
44
+ "<|endoftext|>": 0,
45
+ "!": 1,
46
+ "\"": 2,
47
+ "#": 3,
48
+ "$": 4,
49
+ "%": 5,
50
+ "&": 6,
51
+ "'": 7,
52
+ "(": 8,
53
+ ")": 9,
54
+ "*": 10,
55
+ "+": 11,
56
+ ",": 12,
57
+ "-": 13,
58
+ ".": 14,
59
+ "/": 15,
60
+ "0": 16,
61
+ "1": 17,
62
+ "2": 18,
63
+ "3": 19,
64
+ "4": 20,
65
+ "5": 21,
66
+ "6": 22,
67
+ "7": 23,
68
+ "8": 24,
69
+ "9": 25,
70
+ ":": 26,
71
+ ";": 27,
72
+ "<": 28,
73
+ "=": 29,
74
+ ">": 30,
75
+ "?": 31,
76
+ "@": 32,
77
+ "A": 33,
78
+ "B": 34,
79
+ "C": 35,
80
+ "D": 36,
81
+ "E": 37,
82
+ "F": 38,
83
+ "G": 39,
84
+ "H": 40,
85
+ "I": 41,
86
+ "J": 42,
87
+ "K": 43,
88
+ "L": 44,
89
+ "M": 45,
90
+ "N": 46,
91
+ "O": 47,
92
+ "P": 48,
93
+ "Q": 49,
94
+ "R": 50,
95
+ "S": 51,
96
+ "T": 52,
97
+ "U": 53,
98
+ "V": 54,
99
+ "W": 55,
100
+ "X": 56,
101
+ "Y": 57,
102
+ "Z": 58,
103
+ "[": 59,
104
+ "\\": 60,
105
+ "]": 61,
106
+ "^": 62,
107
+ "_": 63,
108
+ "`": 64,
109
+ "a": 65,
110
+ "b": 66,
111
+ "c": 67,
112
+ "d": 68,
113
+ "e": 69,
114
+ "f": 70,
115
+ "g": 71,
116
+ "h": 72,
117
+ "i": 73,
118
+ "j": 74,
119
+ "k": 75,
120
+ "l": 76,
121
+ "m": 77,
122
+ "n": 78,
123
+ "o": 79,
124
+ "p": 80,
125
+ "q": 81,
126
+ "r": 82,
127
+ "s": 83,
128
+ "t": 84,
129
+ "u": 85,
130
+ "v": 86,
131
+ "w": 87,
132
+ "x": 88,
133
+ "y": 89,
134
+ "z": 90,
135
+ "{": 91,
136
+ "|": 92,
137
+ "}": 93,
138
+ "~": 94,
139
+ "¡": 95,
140
+ "¢": 96,
141
+ "£": 97,
142
+ "¤": 98,
143
+ "¥": 99,
144
+ "¦": 100,
145
+ "§": 101,
146
+ "¨": 102,
147
+ "©": 103,
148
+ "ª": 104,
149
+ "«": 105,
150
+ "¬": 106,
151
+ "®": 107,
152
+ "¯": 108,
153
+ "°": 109,
154
+ "±": 110,
155
+ "²": 111,
156
+ "³": 112,
157
+ "´": 113,
158
+ "µ": 114,
159
+ "¶": 115,
160
+ "·": 116,
161
+ "¸": 117,
162
+ "¹": 118,
163
+ "º": 119,
164
+ "»": 120,
165
+ "¼": 121,
166
+ "½": 122,
167
+ "¾": 123,
168
+ "¿": 124,
169
+ "À": 125,
170
+ "Á": 126,
171
+ "Â": 127,
172
+ "Ã": 128,
173
+ "Ä": 129,
174
+ "Å": 130,
175
+ "Æ": 131,
176
+ "Ç": 132,
177
+ "È": 133,
178
+ "É": 134,
179
+ "Ê": 135,
180
+ "Ë": 136,
181
+ "Ì": 137,
182
+ "Í": 138,
183
+ "Î": 139,
184
+ "Ï": 140,
185
+ "Ð": 141,
186
+ "Ñ": 142,
187
+ "Ò": 143,
188
+ "Ó": 144,
189
+ "Ô": 145,
190
+ "Õ": 146,
191
+ "Ö": 147,
192
+ "×": 148,
193
+ "Ø": 149,
194
+ "Ù": 150,
195
+ "Ú": 151,
196
+ "Û": 152,
197
+ "Ü": 153,
198
+ "Ý": 154,
199
+ "Þ": 155,
200
+ "ß": 156,
201
+ "à": 157,
202
+ "á": 158,
203
+ "â": 159,
204
+ "ã": 160,
205
+ "ä": 161,
206
+ "å": 162,
207
+ "æ": 163,
208
+ "ç": 164,
209
+ "è": 165,
210
+ "é": 166,
211
+ "ê": 167,
212
+ "ë": 168,
213
+ "ì": 169,
214
+ "í": 170,
215
+ "î": 171,
216
+ "ï": 172,
217
+ "ð": 173,
218
+ "ñ": 174,
219
+ "ò": 175,
220
+ "ó": 176,
221
+ "ô": 177,
222
+ "õ": 178,
223
+ "ö": 179,
224
+ "÷": 180,
225
+ "ø": 181,
226
+ "ù": 182,
227
+ "ú": 183,
228
+ "û": 184,
229
+ "ü": 185,
230
+ "ý": 186,
231
+ "þ": 187,
232
+ "ÿ": 188,
233
+ "Ā": 189,
234
+ "ā": 190,
235
+ "Ă": 191,
236
+ "ă": 192,
237
+ "Ą": 193,
238
+ "ą": 194,
239
+ "Ć": 195,
240
+ "ć": 196,
241
+ "Ĉ": 197,
242
+ "ĉ": 198,
243
+ "Ċ": 199,
244
+ "ċ": 200,
245
+ "Č": 201,
246
+ "č": 202,
247
+ "Ď": 203,
248
+ "ď": 204,
249
+ "Đ": 205,
250
+ "đ": 206,
251
+ "Ē": 207,
252
+ "ē": 208,
253
+ "Ĕ": 209,
254
+ "ĕ": 210,
255
+ "Ė": 211,
256
+ "ė": 212,
257
+ "Ę": 213,
258
+ "ę": 214,
259
+ "Ě": 215,
260
+ "ě": 216,
261
+ "Ĝ": 217,
262
+ "ĝ": 218,
263
+ "Ğ": 219,
264
+ "ğ": 220,
265
+ "Ġ": 221,
266
+ "ġ": 222,
267
+ "Ģ": 223,
268
+ "ģ": 224,
269
+ "Ĥ": 225,
270
+ "ĥ": 226,
271
+ "Ħ": 227,
272
+ "ħ": 228,
273
+ "Ĩ": 229,
274
+ "ĩ": 230,
275
+ "Ī": 231,
276
+ "ī": 232,
277
+ "Ĭ": 233,
278
+ "ĭ": 234,
279
+ "Į": 235,
280
+ "į": 236,
281
+ "İ": 237,
282
+ "ı": 238,
283
+ "IJ": 239,
284
+ "ij": 240,
285
+ "Ĵ": 241,
286
+ "ĵ": 242,
287
+ "Ķ": 243,
288
+ "ķ": 244,
289
+ "ĸ": 245,
290
+ "Ĺ": 246,
291
+ "ĺ": 247,
292
+ "Ļ": 248,
293
+ "ļ": 249,
294
+ "Ľ": 250,
295
+ "ľ": 251,
296
+ "Ŀ": 252,
297
+ "ŀ": 253,
298
+ "Ł": 254,
299
+ "ł": 255,
300
+ "Ń": 256
301
+ },
302
+ "merges": []
303
+ }
304
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ }
12
+ },
13
+ "bos_token": "<|endoftext|>",
14
+ "clean_up_tokenization_spaces": true,
15
+ "eos_token": "<|endoftext|>",
16
+ "model_max_length": 1024,
17
+ "tokenizer_class": "GPT2Tokenizer",
18
+ "unk_token": "<|endoftext|>"
19
+ }
vocab.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"<|endoftext|>":0,"!":1,"\"":2,"#":3,"$":4,"%":5,"&":6,"'":7,"(":8,")":9,"*":10,"+":11,",":12,"-":13,".":14,"/":15,"0":16,"1":17,"2":18,"3":19,"4":20,"5":21,"6":22,"7":23,"8":24,"9":25,":":26,";":27,"<":28,"=":29,">":30,"?":31,"@":32,"A":33,"B":34,"C":35,"D":36,"E":37,"F":38,"G":39,"H":40,"I":41,"J":42,"K":43,"L":44,"M":45,"N":46,"O":47,"P":48,"Q":49,"R":50,"S":51,"T":52,"U":53,"V":54,"W":55,"X":56,"Y":57,"Z":58,"[":59,"\\":60,"]":61,"^":62,"_":63,"`":64,"a":65,"b":66,"c":67,"d":68,"e":69,"f":70,"g":71,"h":72,"i":73,"j":74,"k":75,"l":76,"m":77,"n":78,"o":79,"p":80,"q":81,"r":82,"s":83,"t":84,"u":85,"v":86,"w":87,"x":88,"y":89,"z":90,"{":91,"|":92,"}":93,"~":94,"¡":95,"¢":96,"£":97,"¤":98,"¥":99,"¦":100,"§":101,"¨":102,"©":103,"ª":104,"«":105,"¬":106,"®":107,"¯":108,"°":109,"±":110,"²":111,"³":112,"´":113,"µ":114,"¶":115,"·":116,"¸":117,"¹":118,"º":119,"»":120,"¼":121,"½":122,"¾":123,"¿":124,"À":125,"Á":126,"Â":127,"Ã":128,"Ä":129,"Å":130,"Æ":131,"Ç":132,"È":133,"É":134,"Ê":135,"Ë":136,"Ì":137,"Í":138,"Î":139,"Ï":140,"Ð":141,"Ñ":142,"Ò":143,"Ó":144,"Ô":145,"Õ":146,"Ö":147,"×":148,"Ø":149,"Ù":150,"Ú":151,"Û":152,"Ü":153,"Ý":154,"Þ":155,"ß":156,"à":157,"á":158,"â":159,"ã":160,"ä":161,"å":162,"æ":163,"ç":164,"è":165,"é":166,"ê":167,"ë":168,"ì":169,"í":170,"î":171,"ï":172,"ð":173,"ñ":174,"ò":175,"ó":176,"ô":177,"õ":178,"ö":179,"÷":180,"ø":181,"ù":182,"ú":183,"û":184,"ü":185,"ý":186,"þ":187,"ÿ":188,"Ā":189,"ā":190,"Ă":191,"ă":192,"Ą":193,"ą":194,"Ć":195,"ć":196,"Ĉ":197,"ĉ":198,"Ċ":199,"ċ":200,"Č":201,"č":202,"Ď":203,"ď":204,"Đ":205,"đ":206,"Ē":207,"ē":208,"Ĕ":209,"ĕ":210,"Ė":211,"ė":212,"Ę":213,"ę":214,"Ě":215,"ě":216,"Ĝ":217,"ĝ":218,"Ğ":219,"ğ":220,"Ġ":221,"ġ":222,"Ģ":223,"ģ":224,"Ĥ":225,"ĥ":226,"Ħ":227,"ħ":228,"Ĩ":229,"ĩ":230,"Ī":231,"ī":232,"Ĭ":233,"ĭ":234,"Į":235,"į":236,"İ":237,"ı":238,"IJ":239,"ij":240,"Ĵ":241,"ĵ":242,"Ķ":243,"ķ":244,"ĸ":245,"Ĺ":246,"ĺ":247,"Ļ":248,"ļ":249,"Ľ":250,"ľ":251,"Ŀ":252,"ŀ":253,"Ł":254,"ł":255,"Ń":256}