arpanl commited on
Commit
ecd0007
·
1 Parent(s): 5bf7e21

Model save

Browse files
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-base-patch16-224
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ model-index:
9
+ - name: custom
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # custom
17
+
18
+ This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the imagefolder dataset.
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 5e-05
38
+ - train_batch_size: 64
39
+ - eval_batch_size: 8
40
+ - seed: 42
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - num_epochs: 1
44
+
45
+ ### Training results
46
+
47
+
48
+
49
+ ### Framework versions
50
+
51
+ - Transformers 4.35.0
52
+ - Pytorch 2.1.0+cu118
53
+ - Datasets 2.14.6
54
+ - Tokenizers 0.14.1
config.json ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224",
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": "Faces",
13
+ "1": "Faces_easy",
14
+ "10": "beaver",
15
+ "100": "yin_yang",
16
+ "11": "binocular",
17
+ "12": "bonsai",
18
+ "13": "brain",
19
+ "14": "brontosaurus",
20
+ "15": "buddha",
21
+ "16": "butterfly",
22
+ "17": "camera",
23
+ "18": "cannon",
24
+ "19": "car_side",
25
+ "2": "Leopards",
26
+ "20": "ceiling_fan",
27
+ "21": "cellphone",
28
+ "22": "chair",
29
+ "23": "chandelier",
30
+ "24": "cougar_body",
31
+ "25": "cougar_face",
32
+ "26": "crab",
33
+ "27": "crayfish",
34
+ "28": "crocodile",
35
+ "29": "crocodile_head",
36
+ "3": "Motorbikes",
37
+ "30": "cup",
38
+ "31": "dalmatian",
39
+ "32": "dollar_bill",
40
+ "33": "dolphin",
41
+ "34": "dragonfly",
42
+ "35": "electric_guitar",
43
+ "36": "elephant",
44
+ "37": "emu",
45
+ "38": "euphonium",
46
+ "39": "ewer",
47
+ "4": "accordion",
48
+ "40": "ferry",
49
+ "41": "flamingo",
50
+ "42": "flamingo_head",
51
+ "43": "garfield",
52
+ "44": "gerenuk",
53
+ "45": "gramophone",
54
+ "46": "grand_piano",
55
+ "47": "hawksbill",
56
+ "48": "headphone",
57
+ "49": "hedgehog",
58
+ "5": "airplanes",
59
+ "50": "helicopter",
60
+ "51": "ibis",
61
+ "52": "inline_skate",
62
+ "53": "joshua_tree",
63
+ "54": "kangaroo",
64
+ "55": "ketch",
65
+ "56": "lamp",
66
+ "57": "laptop",
67
+ "58": "llama",
68
+ "59": "lobster",
69
+ "6": "anchor",
70
+ "60": "lotus",
71
+ "61": "mandolin",
72
+ "62": "mayfly",
73
+ "63": "menorah",
74
+ "64": "metronome",
75
+ "65": "minaret",
76
+ "66": "nautilus",
77
+ "67": "octopus",
78
+ "68": "okapi",
79
+ "69": "pagoda",
80
+ "7": "ant",
81
+ "70": "panda",
82
+ "71": "pigeon",
83
+ "72": "pizza",
84
+ "73": "platypus",
85
+ "74": "pyramid",
86
+ "75": "revolver",
87
+ "76": "rhino",
88
+ "77": "rooster",
89
+ "78": "saxophone",
90
+ "79": "schooner",
91
+ "8": "barrel",
92
+ "80": "scissors",
93
+ "81": "scorpion",
94
+ "82": "sea_horse",
95
+ "83": "snoopy",
96
+ "84": "soccer_ball",
97
+ "85": "stapler",
98
+ "86": "starfish",
99
+ "87": "stegosaurus",
100
+ "88": "stop_sign",
101
+ "89": "strawberry",
102
+ "9": "bass",
103
+ "90": "sunflower",
104
+ "91": "tick",
105
+ "92": "trilobite",
106
+ "93": "umbrella",
107
+ "94": "watch",
108
+ "95": "water_lilly",
109
+ "96": "wheelchair",
110
+ "97": "wild_cat",
111
+ "98": "windsor_chair",
112
+ "99": "wrench"
113
+ },
114
+ "image_size": 224,
115
+ "initializer_range": 0.02,
116
+ "intermediate_size": 3072,
117
+ "label2id": {
118
+ "Faces": "0",
119
+ "Faces_easy": "1",
120
+ "Leopards": "2",
121
+ "Motorbikes": "3",
122
+ "accordion": "4",
123
+ "airplanes": "5",
124
+ "anchor": "6",
125
+ "ant": "7",
126
+ "barrel": "8",
127
+ "bass": "9",
128
+ "beaver": "10",
129
+ "binocular": "11",
130
+ "bonsai": "12",
131
+ "brain": "13",
132
+ "brontosaurus": "14",
133
+ "buddha": "15",
134
+ "butterfly": "16",
135
+ "camera": "17",
136
+ "cannon": "18",
137
+ "car_side": "19",
138
+ "ceiling_fan": "20",
139
+ "cellphone": "21",
140
+ "chair": "22",
141
+ "chandelier": "23",
142
+ "cougar_body": "24",
143
+ "cougar_face": "25",
144
+ "crab": "26",
145
+ "crayfish": "27",
146
+ "crocodile": "28",
147
+ "crocodile_head": "29",
148
+ "cup": "30",
149
+ "dalmatian": "31",
150
+ "dollar_bill": "32",
151
+ "dolphin": "33",
152
+ "dragonfly": "34",
153
+ "electric_guitar": "35",
154
+ "elephant": "36",
155
+ "emu": "37",
156
+ "euphonium": "38",
157
+ "ewer": "39",
158
+ "ferry": "40",
159
+ "flamingo": "41",
160
+ "flamingo_head": "42",
161
+ "garfield": "43",
162
+ "gerenuk": "44",
163
+ "gramophone": "45",
164
+ "grand_piano": "46",
165
+ "hawksbill": "47",
166
+ "headphone": "48",
167
+ "hedgehog": "49",
168
+ "helicopter": "50",
169
+ "ibis": "51",
170
+ "inline_skate": "52",
171
+ "joshua_tree": "53",
172
+ "kangaroo": "54",
173
+ "ketch": "55",
174
+ "lamp": "56",
175
+ "laptop": "57",
176
+ "llama": "58",
177
+ "lobster": "59",
178
+ "lotus": "60",
179
+ "mandolin": "61",
180
+ "mayfly": "62",
181
+ "menorah": "63",
182
+ "metronome": "64",
183
+ "minaret": "65",
184
+ "nautilus": "66",
185
+ "octopus": "67",
186
+ "okapi": "68",
187
+ "pagoda": "69",
188
+ "panda": "70",
189
+ "pigeon": "71",
190
+ "pizza": "72",
191
+ "platypus": "73",
192
+ "pyramid": "74",
193
+ "revolver": "75",
194
+ "rhino": "76",
195
+ "rooster": "77",
196
+ "saxophone": "78",
197
+ "schooner": "79",
198
+ "scissors": "80",
199
+ "scorpion": "81",
200
+ "sea_horse": "82",
201
+ "snoopy": "83",
202
+ "soccer_ball": "84",
203
+ "stapler": "85",
204
+ "starfish": "86",
205
+ "stegosaurus": "87",
206
+ "stop_sign": "88",
207
+ "strawberry": "89",
208
+ "sunflower": "90",
209
+ "tick": "91",
210
+ "trilobite": "92",
211
+ "umbrella": "93",
212
+ "watch": "94",
213
+ "water_lilly": "95",
214
+ "wheelchair": "96",
215
+ "wild_cat": "97",
216
+ "windsor_chair": "98",
217
+ "wrench": "99",
218
+ "yin_yang": "100"
219
+ },
220
+ "layer_norm_eps": 1e-12,
221
+ "model_type": "vit",
222
+ "num_attention_heads": 12,
223
+ "num_channels": 3,
224
+ "num_hidden_layers": 12,
225
+ "patch_size": 16,
226
+ "problem_type": "single_label_classification",
227
+ "qkv_bias": true,
228
+ "torch_dtype": "float32",
229
+ "transformers_version": "4.35.0"
230
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a735392753766a08565a40e94f41947ff8f0401b3fb2464bef23b908d944da07
3
+ size 343528508
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "ViTImageProcessor",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "resample": 2,
17
+ "rescale_factor": 0.00392156862745098,
18
+ "size": {
19
+ "height": 224,
20
+ "width": 224
21
+ }
22
+ }
runs/Nov08_07-01-45_e2600d548b5f/events.out.tfevents.1699426918.e2600d548b5f.183.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5b0a7c782e5cad91d9bc9c071a125c921213cf000bff094a3a86528bd0eb322
3
+ size 8499
runs/Nov08_07-16-57_e2600d548b5f/events.out.tfevents.1699427832.e2600d548b5f.183.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55d6fa0b927b2c3bd8aea0ebcb6951aefe7565fdca205ceb37094925e2b57b2a
3
+ size 8499
runs/Nov08_07-23-50_e2600d548b5f/events.out.tfevents.1699428249.e2600d548b5f.6303.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca4f4514d71db0946a85467cf5291bbc9d61734f884fc9d2e236ca74680ccb01
3
+ size 8853
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70e9974c164b74b1bc77183dd510712b55b6a09d575576e0c816e2f5f36666e5
3
+ size 4536