FALcon6 commited on
Commit
2bcb9f6
·
verified ·
1 Parent(s): e5c5f39

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +232 -0
  2. preprocessor_config.json +29 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,232 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "DeiTHighwayForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "backbone": "ViT",
7
+ "encoder_stride": 16,
8
+ "exit_strategy": "confidence",
9
+ "finetuning_task": "image-classification",
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.0,
12
+ "hidden_size": 768,
13
+ "highway_type": "LGViT",
14
+ "id2label": {
15
+ "0": "apple",
16
+ "1": "aquarium_fish",
17
+ "10": "bowl",
18
+ "11": "boy",
19
+ "12": "bridge",
20
+ "13": "bus",
21
+ "14": "butterfly",
22
+ "15": "camel",
23
+ "16": "can",
24
+ "17": "castle",
25
+ "18": "caterpillar",
26
+ "19": "cattle",
27
+ "2": "baby",
28
+ "20": "chair",
29
+ "21": "chimpanzee",
30
+ "22": "clock",
31
+ "23": "cloud",
32
+ "24": "cockroach",
33
+ "25": "couch",
34
+ "26": "cra",
35
+ "27": "crocodile",
36
+ "28": "cup",
37
+ "29": "dinosaur",
38
+ "3": "bear",
39
+ "30": "dolphin",
40
+ "31": "elephant",
41
+ "32": "flatfish",
42
+ "33": "forest",
43
+ "34": "fox",
44
+ "35": "girl",
45
+ "36": "hamster",
46
+ "37": "house",
47
+ "38": "kangaroo",
48
+ "39": "keyboard",
49
+ "4": "beaver",
50
+ "40": "lamp",
51
+ "41": "lawn_mower",
52
+ "42": "leopard",
53
+ "43": "lion",
54
+ "44": "lizard",
55
+ "45": "lobster",
56
+ "46": "man",
57
+ "47": "maple_tree",
58
+ "48": "motorcycle",
59
+ "49": "mountain",
60
+ "5": "bed",
61
+ "50": "mouse",
62
+ "51": "mushroom",
63
+ "52": "oak_tree",
64
+ "53": "orange",
65
+ "54": "orchid",
66
+ "55": "otter",
67
+ "56": "palm_tree",
68
+ "57": "pear",
69
+ "58": "pickup_truck",
70
+ "59": "pine_tree",
71
+ "6": "bee",
72
+ "60": "plain",
73
+ "61": "plate",
74
+ "62": "poppy",
75
+ "63": "porcupine",
76
+ "64": "possum",
77
+ "65": "rabbit",
78
+ "66": "raccoon",
79
+ "67": "ray",
80
+ "68": "road",
81
+ "69": "rocket",
82
+ "7": "beetle",
83
+ "70": "rose",
84
+ "71": "sea",
85
+ "72": "seal",
86
+ "73": "shark",
87
+ "74": "shrew",
88
+ "75": "skunk",
89
+ "76": "skyscraper",
90
+ "77": "snail",
91
+ "78": "snake",
92
+ "79": "spider",
93
+ "8": "bicycle",
94
+ "80": "squirrel",
95
+ "81": "streetcar",
96
+ "82": "sunflower",
97
+ "83": "sweet_pepper",
98
+ "84": "table",
99
+ "85": "tank",
100
+ "86": "telephone",
101
+ "87": "television",
102
+ "88": "tiger",
103
+ "89": "tractor",
104
+ "9": "bottle",
105
+ "90": "train",
106
+ "91": "trout",
107
+ "92": "tulip",
108
+ "93": "turtle",
109
+ "94": "wardrobe",
110
+ "95": "whale",
111
+ "96": "willow_tree",
112
+ "97": "wolf",
113
+ "98": "woman",
114
+ "99": "worm"
115
+ },
116
+ "image_size": 224,
117
+ "initializer_range": 0.02,
118
+ "intermediate_size": 3072,
119
+ "label2id": {
120
+ "apple": "0",
121
+ "aquarium_fish": "1",
122
+ "baby": "2",
123
+ "bear": "3",
124
+ "beaver": "4",
125
+ "bed": "5",
126
+ "bee": "6",
127
+ "beetle": "7",
128
+ "bicycle": "8",
129
+ "bottle": "9",
130
+ "bowl": "10",
131
+ "boy": "11",
132
+ "bridge": "12",
133
+ "bus": "13",
134
+ "butterfly": "14",
135
+ "camel": "15",
136
+ "can": "16",
137
+ "castle": "17",
138
+ "caterpillar": "18",
139
+ "cattle": "19",
140
+ "chair": "20",
141
+ "chimpanzee": "21",
142
+ "clock": "22",
143
+ "cloud": "23",
144
+ "cockroach": "24",
145
+ "couch": "25",
146
+ "cra": "26",
147
+ "crocodile": "27",
148
+ "cup": "28",
149
+ "dinosaur": "29",
150
+ "dolphin": "30",
151
+ "elephant": "31",
152
+ "flatfish": "32",
153
+ "forest": "33",
154
+ "fox": "34",
155
+ "girl": "35",
156
+ "hamster": "36",
157
+ "house": "37",
158
+ "kangaroo": "38",
159
+ "keyboard": "39",
160
+ "lamp": "40",
161
+ "lawn_mower": "41",
162
+ "leopard": "42",
163
+ "lion": "43",
164
+ "lizard": "44",
165
+ "lobster": "45",
166
+ "man": "46",
167
+ "maple_tree": "47",
168
+ "motorcycle": "48",
169
+ "mountain": "49",
170
+ "mouse": "50",
171
+ "mushroom": "51",
172
+ "oak_tree": "52",
173
+ "orange": "53",
174
+ "orchid": "54",
175
+ "otter": "55",
176
+ "palm_tree": "56",
177
+ "pear": "57",
178
+ "pickup_truck": "58",
179
+ "pine_tree": "59",
180
+ "plain": "60",
181
+ "plate": "61",
182
+ "poppy": "62",
183
+ "porcupine": "63",
184
+ "possum": "64",
185
+ "rabbit": "65",
186
+ "raccoon": "66",
187
+ "ray": "67",
188
+ "road": "68",
189
+ "rocket": "69",
190
+ "rose": "70",
191
+ "sea": "71",
192
+ "seal": "72",
193
+ "shark": "73",
194
+ "shrew": "74",
195
+ "skunk": "75",
196
+ "skyscraper": "76",
197
+ "snail": "77",
198
+ "snake": "78",
199
+ "spider": "79",
200
+ "squirrel": "80",
201
+ "streetcar": "81",
202
+ "sunflower": "82",
203
+ "sweet_pepper": "83",
204
+ "table": "84",
205
+ "tank": "85",
206
+ "telephone": "86",
207
+ "television": "87",
208
+ "tiger": "88",
209
+ "tractor": "89",
210
+ "train": "90",
211
+ "trout": "91",
212
+ "tulip": "92",
213
+ "turtle": "93",
214
+ "wardrobe": "94",
215
+ "whale": "95",
216
+ "willow_tree": "96",
217
+ "wolf": "97",
218
+ "woman": "98",
219
+ "worm": "99"
220
+ },
221
+ "layer_norm_eps": 1e-12,
222
+ "num_attention_heads": 12,
223
+ "num_channels": 3,
224
+ "num_early_exits": 8,
225
+ "num_hidden_layers": 12,
226
+ "patch_size": 16,
227
+ "position_exits": "[4,5,6,7,8,9,10,11]",
228
+ "problem_type": "single_label_classification",
229
+ "qkv_bias": true,
230
+ "torch_dtype": "float32",
231
+ "transformers_version": "4.26.0"
232
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": true,
7
+ "do_normalize": true,
8
+ "do_rescale": true,
9
+ "do_resize": true,
10
+ "feature_extractor_type": "DeiTFeatureExtractor",
11
+ "image_mean": [
12
+ 0.485,
13
+ 0.456,
14
+ 0.406
15
+ ],
16
+ "image_processor_type": "DeiTImageProcessor",
17
+ "image_std": [
18
+ 0.229,
19
+ 0.224,
20
+ 0.225
21
+ ],
22
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "height": 256,
26
+ "shortest_edge": 224,
27
+ "width": 256
28
+ }
29
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2797c336e351f18d35497a8638c5efed94f00b5e308fbf60f8fe7d0b14b5b6e
3
+ size 405269097