Xenova HF staff commited on
Commit
2357f79
1 Parent(s): 9bb419f

Upload 5 files

Browse files
Files changed (4) hide show
  1. config.json +100 -100
  2. onnx/model.onnx +3 -0
  3. onnx/model_quantized.onnx +3 -0
  4. quant_config.json +30 -0
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "apple/mobilevit-small",
3
  "architectures": [
4
  "MobileViTForImageClassification"
5
  ],
@@ -24,7 +24,104 @@
24
  "id2label": {
25
  "0": "aircraft carrier",
26
  "1": "airplane",
 
 
 
 
 
 
 
 
27
  "10": "asparagus",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  "100": "dumbbell",
29
  "101": "ear",
30
  "102": "elbow",
@@ -35,7 +132,6 @@
35
  "107": "eyeglasses",
36
  "108": "face",
37
  "109": "fan",
38
- "11": "axe",
39
  "110": "feather",
40
  "111": "fence",
41
  "112": "finger",
@@ -46,7 +142,6 @@
46
  "117": "flamingo",
47
  "118": "flashlight",
48
  "119": "flip flops",
49
- "12": "backpack",
50
  "120": "floor lamp",
51
  "121": "flower",
52
  "122": "flying saucer",
@@ -57,7 +152,6 @@
57
  "127": "garden hose",
58
  "128": "garden",
59
  "129": "giraffe",
60
- "13": "banana",
61
  "130": "goatee",
62
  "131": "golf club",
63
  "132": "grapes",
@@ -68,7 +162,6 @@
68
  "137": "hand",
69
  "138": "harp",
70
  "139": "hat",
71
- "14": "bandage",
72
  "140": "headphones",
73
  "141": "hedgehog",
74
  "142": "helicopter",
@@ -79,7 +172,6 @@
79
  "147": "horse",
80
  "148": "hospital",
81
  "149": "hot air balloon",
82
- "15": "barn",
83
  "150": "hot dog",
84
  "151": "hot tub",
85
  "152": "hourglass",
@@ -90,7 +182,6 @@
90
  "157": "jacket",
91
  "158": "jail",
92
  "159": "kangaroo",
93
- "16": "baseball bat",
94
  "160": "key",
95
  "161": "keyboard",
96
  "162": "knee",
@@ -101,7 +192,6 @@
101
  "167": "leaf",
102
  "168": "leg",
103
  "169": "light bulb",
104
- "17": "baseball",
105
  "170": "lighter",
106
  "171": "lighthouse",
107
  "172": "lightning",
@@ -112,7 +202,6 @@
112
  "177": "lollipop",
113
  "178": "mailbox",
114
  "179": "map",
115
- "18": "basket",
116
  "180": "marker",
117
  "181": "matches",
118
  "182": "megaphone",
@@ -123,7 +212,6 @@
123
  "187": "moon",
124
  "188": "mosquito",
125
  "189": "motorbike",
126
- "19": "basketball",
127
  "190": "mountain",
128
  "191": "mouse",
129
  "192": "moustache",
@@ -134,8 +222,6 @@
134
  "197": "necklace",
135
  "198": "nose",
136
  "199": "ocean",
137
- "2": "alarm clock",
138
- "20": "bat",
139
  "200": "octagon",
140
  "201": "octopus",
141
  "202": "onion",
@@ -146,7 +232,6 @@
146
  "207": "palm tree",
147
  "208": "panda",
148
  "209": "pants",
149
- "21": "bathtub",
150
  "210": "paper clip",
151
  "211": "parachute",
152
  "212": "parrot",
@@ -157,7 +242,6 @@
157
  "217": "pencil",
158
  "218": "penguin",
159
  "219": "piano",
160
- "22": "beach",
161
  "220": "pickup truck",
162
  "221": "picture frame",
163
  "222": "pig",
@@ -168,7 +252,6 @@
168
  "227": "police car",
169
  "228": "pond",
170
  "229": "pool",
171
- "23": "bear",
172
  "230": "popsicle",
173
  "231": "postcard",
174
  "232": "potato",
@@ -179,7 +262,6 @@
179
  "237": "radio",
180
  "238": "rain",
181
  "239": "rainbow",
182
- "24": "beard",
183
  "240": "rake",
184
  "241": "remote control",
185
  "242": "rhinoceros",
@@ -190,7 +272,6 @@
190
  "247": "sailboat",
191
  "248": "sandwich",
192
  "249": "saw",
193
- "25": "bed",
194
  "250": "saxophone",
195
  "251": "school bus",
196
  "252": "scissors",
@@ -201,7 +282,6 @@
201
  "257": "shark",
202
  "258": "sheep",
203
  "259": "shoe",
204
- "26": "bee",
205
  "260": "shorts",
206
  "261": "shovel",
207
  "262": "sink",
@@ -212,7 +292,6 @@
212
  "267": "smiley face",
213
  "268": "snail",
214
  "269": "snake",
215
- "27": "belt",
216
  "270": "snorkel",
217
  "271": "snowflake",
218
  "272": "snowman",
@@ -223,7 +302,6 @@
223
  "277": "spoon",
224
  "278": "spreadsheet",
225
  "279": "square",
226
- "28": "bench",
227
  "280": "squiggle",
228
  "281": "squirrel",
229
  "282": "stairs",
@@ -234,7 +312,6 @@
234
  "287": "stitches",
235
  "288": "stop sign",
236
  "289": "stove",
237
- "29": "bicycle",
238
  "290": "strawberry",
239
  "291": "streetlight",
240
  "292": "string bean",
@@ -245,8 +322,6 @@
245
  "297": "sweater",
246
  "298": "swing set",
247
  "299": "sword",
248
- "3": "ambulance",
249
- "30": "binoculars",
250
  "300": "syringe",
251
  "301": "t-shirt",
252
  "302": "table",
@@ -257,7 +332,6 @@
257
  "307": "tennis racquet",
258
  "308": "tent",
259
  "309": "The Eiffel Tower",
260
- "31": "bird",
261
  "310": "The Great Wall of China",
262
  "311": "The Mona Lisa",
263
  "312": "tiger",
@@ -268,7 +342,6 @@
268
  "317": "toothbrush",
269
  "318": "toothpaste",
270
  "319": "tornado",
271
- "32": "birthday cake",
272
  "320": "tractor",
273
  "321": "traffic light",
274
  "322": "train",
@@ -279,7 +352,6 @@
279
  "327": "trumpet",
280
  "328": "umbrella",
281
  "329": "underwear",
282
- "33": "blackberry",
283
  "330": "van",
284
  "331": "vase",
285
  "332": "violin",
@@ -290,83 +362,11 @@
290
  "337": "wheel",
291
  "338": "windmill",
292
  "339": "wine bottle",
293
- "34": "blueberry",
294
  "340": "wine glass",
295
  "341": "wristwatch",
296
  "342": "yoga",
297
  "343": "zebra",
298
- "344": "zigzag",
299
- "35": "book",
300
- "36": "boomerang",
301
- "37": "bottlecap",
302
- "38": "bowtie",
303
- "39": "bracelet",
304
- "4": "angel",
305
- "40": "brain",
306
- "41": "bread",
307
- "42": "bridge",
308
- "43": "broccoli",
309
- "44": "broom",
310
- "45": "bucket",
311
- "46": "bulldozer",
312
- "47": "bus",
313
- "48": "bush",
314
- "49": "butterfly",
315
- "5": "animal migration",
316
- "50": "cactus",
317
- "51": "cake",
318
- "52": "calculator",
319
- "53": "calendar",
320
- "54": "camel",
321
- "55": "camera",
322
- "56": "camouflage",
323
- "57": "campfire",
324
- "58": "candle",
325
- "59": "cannon",
326
- "6": "ant",
327
- "60": "canoe",
328
- "61": "car",
329
- "62": "carrot",
330
- "63": "castle",
331
- "64": "cat",
332
- "65": "ceiling fan",
333
- "66": "cell phone",
334
- "67": "cello",
335
- "68": "chair",
336
- "69": "chandelier",
337
- "7": "anvil",
338
- "70": "church",
339
- "71": "circle",
340
- "72": "clarinet",
341
- "73": "clock",
342
- "74": "cloud",
343
- "75": "coffee cup",
344
- "76": "compass",
345
- "77": "computer",
346
- "78": "cookie",
347
- "79": "cooler",
348
- "8": "apple",
349
- "80": "couch",
350
- "81": "cow",
351
- "82": "crab",
352
- "83": "crayon",
353
- "84": "crocodile",
354
- "85": "crown",
355
- "86": "cruise ship",
356
- "87": "cup",
357
- "88": "diamond",
358
- "89": "dishwasher",
359
- "9": "arm",
360
- "90": "diving board",
361
- "91": "dog",
362
- "92": "dolphin",
363
- "93": "donut",
364
- "94": "door",
365
- "95": "dragon",
366
- "96": "dresser",
367
- "97": "drill",
368
- "98": "drums",
369
- "99": "duck"
370
  },
371
  "image_size": 256,
372
  "initializer_range": 0.02,
@@ -737,5 +737,5 @@
737
  "qkv_bias": true,
738
  "semantic_loss_ignore_index": 255,
739
  "torch_dtype": "float32",
740
- "transformers_version": "4.30.2"
741
  }
 
1
  {
2
+ "_name_or_path": "Xenova/quickdraw-mobilevit-small",
3
  "architectures": [
4
  "MobileViTForImageClassification"
5
  ],
 
24
  "id2label": {
25
  "0": "aircraft carrier",
26
  "1": "airplane",
27
+ "2": "alarm clock",
28
+ "3": "ambulance",
29
+ "4": "angel",
30
+ "5": "animal migration",
31
+ "6": "ant",
32
+ "7": "anvil",
33
+ "8": "apple",
34
+ "9": "arm",
35
  "10": "asparagus",
36
+ "11": "axe",
37
+ "12": "backpack",
38
+ "13": "banana",
39
+ "14": "bandage",
40
+ "15": "barn",
41
+ "16": "baseball bat",
42
+ "17": "baseball",
43
+ "18": "basket",
44
+ "19": "basketball",
45
+ "20": "bat",
46
+ "21": "bathtub",
47
+ "22": "beach",
48
+ "23": "bear",
49
+ "24": "beard",
50
+ "25": "bed",
51
+ "26": "bee",
52
+ "27": "belt",
53
+ "28": "bench",
54
+ "29": "bicycle",
55
+ "30": "binoculars",
56
+ "31": "bird",
57
+ "32": "birthday cake",
58
+ "33": "blackberry",
59
+ "34": "blueberry",
60
+ "35": "book",
61
+ "36": "boomerang",
62
+ "37": "bottlecap",
63
+ "38": "bowtie",
64
+ "39": "bracelet",
65
+ "40": "brain",
66
+ "41": "bread",
67
+ "42": "bridge",
68
+ "43": "broccoli",
69
+ "44": "broom",
70
+ "45": "bucket",
71
+ "46": "bulldozer",
72
+ "47": "bus",
73
+ "48": "bush",
74
+ "49": "butterfly",
75
+ "50": "cactus",
76
+ "51": "cake",
77
+ "52": "calculator",
78
+ "53": "calendar",
79
+ "54": "camel",
80
+ "55": "camera",
81
+ "56": "camouflage",
82
+ "57": "campfire",
83
+ "58": "candle",
84
+ "59": "cannon",
85
+ "60": "canoe",
86
+ "61": "car",
87
+ "62": "carrot",
88
+ "63": "castle",
89
+ "64": "cat",
90
+ "65": "ceiling fan",
91
+ "66": "cell phone",
92
+ "67": "cello",
93
+ "68": "chair",
94
+ "69": "chandelier",
95
+ "70": "church",
96
+ "71": "circle",
97
+ "72": "clarinet",
98
+ "73": "clock",
99
+ "74": "cloud",
100
+ "75": "coffee cup",
101
+ "76": "compass",
102
+ "77": "computer",
103
+ "78": "cookie",
104
+ "79": "cooler",
105
+ "80": "couch",
106
+ "81": "cow",
107
+ "82": "crab",
108
+ "83": "crayon",
109
+ "84": "crocodile",
110
+ "85": "crown",
111
+ "86": "cruise ship",
112
+ "87": "cup",
113
+ "88": "diamond",
114
+ "89": "dishwasher",
115
+ "90": "diving board",
116
+ "91": "dog",
117
+ "92": "dolphin",
118
+ "93": "donut",
119
+ "94": "door",
120
+ "95": "dragon",
121
+ "96": "dresser",
122
+ "97": "drill",
123
+ "98": "drums",
124
+ "99": "duck",
125
  "100": "dumbbell",
126
  "101": "ear",
127
  "102": "elbow",
 
132
  "107": "eyeglasses",
133
  "108": "face",
134
  "109": "fan",
 
135
  "110": "feather",
136
  "111": "fence",
137
  "112": "finger",
 
142
  "117": "flamingo",
143
  "118": "flashlight",
144
  "119": "flip flops",
 
145
  "120": "floor lamp",
146
  "121": "flower",
147
  "122": "flying saucer",
 
152
  "127": "garden hose",
153
  "128": "garden",
154
  "129": "giraffe",
 
155
  "130": "goatee",
156
  "131": "golf club",
157
  "132": "grapes",
 
162
  "137": "hand",
163
  "138": "harp",
164
  "139": "hat",
 
165
  "140": "headphones",
166
  "141": "hedgehog",
167
  "142": "helicopter",
 
172
  "147": "horse",
173
  "148": "hospital",
174
  "149": "hot air balloon",
 
175
  "150": "hot dog",
176
  "151": "hot tub",
177
  "152": "hourglass",
 
182
  "157": "jacket",
183
  "158": "jail",
184
  "159": "kangaroo",
 
185
  "160": "key",
186
  "161": "keyboard",
187
  "162": "knee",
 
192
  "167": "leaf",
193
  "168": "leg",
194
  "169": "light bulb",
 
195
  "170": "lighter",
196
  "171": "lighthouse",
197
  "172": "lightning",
 
202
  "177": "lollipop",
203
  "178": "mailbox",
204
  "179": "map",
 
205
  "180": "marker",
206
  "181": "matches",
207
  "182": "megaphone",
 
212
  "187": "moon",
213
  "188": "mosquito",
214
  "189": "motorbike",
 
215
  "190": "mountain",
216
  "191": "mouse",
217
  "192": "moustache",
 
222
  "197": "necklace",
223
  "198": "nose",
224
  "199": "ocean",
 
 
225
  "200": "octagon",
226
  "201": "octopus",
227
  "202": "onion",
 
232
  "207": "palm tree",
233
  "208": "panda",
234
  "209": "pants",
 
235
  "210": "paper clip",
236
  "211": "parachute",
237
  "212": "parrot",
 
242
  "217": "pencil",
243
  "218": "penguin",
244
  "219": "piano",
 
245
  "220": "pickup truck",
246
  "221": "picture frame",
247
  "222": "pig",
 
252
  "227": "police car",
253
  "228": "pond",
254
  "229": "pool",
 
255
  "230": "popsicle",
256
  "231": "postcard",
257
  "232": "potato",
 
262
  "237": "radio",
263
  "238": "rain",
264
  "239": "rainbow",
 
265
  "240": "rake",
266
  "241": "remote control",
267
  "242": "rhinoceros",
 
272
  "247": "sailboat",
273
  "248": "sandwich",
274
  "249": "saw",
 
275
  "250": "saxophone",
276
  "251": "school bus",
277
  "252": "scissors",
 
282
  "257": "shark",
283
  "258": "sheep",
284
  "259": "shoe",
 
285
  "260": "shorts",
286
  "261": "shovel",
287
  "262": "sink",
 
292
  "267": "smiley face",
293
  "268": "snail",
294
  "269": "snake",
 
295
  "270": "snorkel",
296
  "271": "snowflake",
297
  "272": "snowman",
 
302
  "277": "spoon",
303
  "278": "spreadsheet",
304
  "279": "square",
 
305
  "280": "squiggle",
306
  "281": "squirrel",
307
  "282": "stairs",
 
312
  "287": "stitches",
313
  "288": "stop sign",
314
  "289": "stove",
 
315
  "290": "strawberry",
316
  "291": "streetlight",
317
  "292": "string bean",
 
322
  "297": "sweater",
323
  "298": "swing set",
324
  "299": "sword",
 
 
325
  "300": "syringe",
326
  "301": "t-shirt",
327
  "302": "table",
 
332
  "307": "tennis racquet",
333
  "308": "tent",
334
  "309": "The Eiffel Tower",
 
335
  "310": "The Great Wall of China",
336
  "311": "The Mona Lisa",
337
  "312": "tiger",
 
342
  "317": "toothbrush",
343
  "318": "toothpaste",
344
  "319": "tornado",
 
345
  "320": "tractor",
346
  "321": "traffic light",
347
  "322": "train",
 
352
  "327": "trumpet",
353
  "328": "umbrella",
354
  "329": "underwear",
 
355
  "330": "van",
356
  "331": "vase",
357
  "332": "violin",
 
362
  "337": "wheel",
363
  "338": "windmill",
364
  "339": "wine bottle",
 
365
  "340": "wine glass",
366
  "341": "wristwatch",
367
  "342": "yoga",
368
  "343": "zebra",
369
+ "344": "zigzag"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
370
  },
371
  "image_size": 256,
372
  "initializer_range": 0.02,
 
737
  "qkv_bias": true,
738
  "semantic_loss_ignore_index": 255,
739
  "torch_dtype": "float32",
740
+ "transformers_version": "4.31.0.dev0"
741
  }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4f51aef24387b140b7046ceb08f89d1981cdc994e7264d830730a6da5b90d9f
3
+ size 20925185
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1daa5ef465a39c33592dab87d900d87d74b75e54eb1a65620728cc2d97eb69dd
3
+ size 5878672
quant_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "Constant",
8
+ "MatMul",
9
+ "Pow",
10
+ "Gather",
11
+ "Shape",
12
+ "Concat",
13
+ "Transpose",
14
+ "Unsqueeze",
15
+ "Div",
16
+ "Sqrt",
17
+ "Sigmoid",
18
+ "Sub",
19
+ "Reshape",
20
+ "Gemm",
21
+ "Add",
22
+ "Conv",
23
+ "Softmax",
24
+ "Mul",
25
+ "ReduceMean"
26
+ ],
27
+ "weight_type": "QUInt8"
28
+ }
29
+ }
30
+ }