nickypro commited on
Commit
d0cbf6a
1 Parent(s): d309b80

Upload 3 files

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