MaryamMaksour commited on
Commit
584ed1d
1 Parent(s): 5e43aef

Upload tokenizer

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