Mirkat commited on
Commit
071adae
1 Parent(s): e84d10d

Upload folder using huggingface_hub (#1)

Browse files

- Upload folder using huggingface_hub (b8f554f90933b016104c92562f787302f897c795)

config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
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": "Unlabeled",
13
+ "1": "basil",
14
+ "10": "poison%20ivy",
15
+ "11": "poison%20oak",
16
+ "12": "rose",
17
+ "13": "tulip",
18
+ "2": "blueash",
19
+ "3": "boxelder",
20
+ "4": "cilantro",
21
+ "5": "daisy",
22
+ "6": "mint",
23
+ "7": "oak%20leaves",
24
+ "8": "oregano",
25
+ "9": "parsely"
26
+ },
27
+ "image_size": 224,
28
+ "initializer_range": 0.02,
29
+ "intermediate_size": 3072,
30
+ "label2id": {
31
+ "Unlabeled": "0",
32
+ "basil": "1",
33
+ "blueash": "2",
34
+ "boxelder": "3",
35
+ "cilantro": "4",
36
+ "daisy": "5",
37
+ "mint": "6",
38
+ "oak%20leaves": "7",
39
+ "oregano": "8",
40
+ "parsely": "9",
41
+ "poison%20ivy": "10",
42
+ "poison%20oak": "11",
43
+ "rose": "12",
44
+ "tulip": "13"
45
+ },
46
+ "layer_norm_eps": 1e-12,
47
+ "model_type": "vit",
48
+ "num_attention_heads": 12,
49
+ "num_channels": 3,
50
+ "num_hidden_layers": 12,
51
+ "patch_size": 16,
52
+ "problem_type": "single_label_classification",
53
+ "qkv_bias": true,
54
+ "torch_dtype": "float32",
55
+ "transformers_version": "4.30.2"
56
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3872c3bca0bcaada8b7c91afab197a88f39c328e8aaded23ce282e996b32aac0
3
+ size 686587077
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": "ViTFeatureExtractor",
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
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64b6d2b1634d4e5818b3b03ba56b6ff5ea6a172e5705aad392ee633558360106
3
+ size 343302829
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:132429c3ef48097d659f3fa34f0ca82d09f907b2d0b58363bcfefa9ddb19fe7f
3
+ size 13553
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ed8a156a22c309bb91c33d910110b63f1c190e1e24dadfe22b621d95df2fa8a
3
+ size 627
trainer_state.json ADDED
@@ -0,0 +1,247 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.43153366446495056,
3
+ "best_model_checkpoint": "./plant-classification/checkpoint-280",
4
+ "epoch": 3.5,
5
+ "global_step": 280,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.12,
12
+ "learning_rate": 0.00019375000000000002,
13
+ "loss": 2.4618,
14
+ "step": 10
15
+ },
16
+ {
17
+ "epoch": 0.25,
18
+ "learning_rate": 0.0001875,
19
+ "loss": 2.0277,
20
+ "step": 20
21
+ },
22
+ {
23
+ "epoch": 0.38,
24
+ "learning_rate": 0.00018125000000000001,
25
+ "loss": 1.6392,
26
+ "step": 30
27
+ },
28
+ {
29
+ "epoch": 0.5,
30
+ "learning_rate": 0.000175,
31
+ "loss": 1.3747,
32
+ "step": 40
33
+ },
34
+ {
35
+ "epoch": 0.5,
36
+ "eval_accuracy": 0.7626168224299066,
37
+ "eval_loss": 1.1831709146499634,
38
+ "eval_runtime": 384.9557,
39
+ "eval_samples_per_second": 1.39,
40
+ "eval_steps_per_second": 0.174,
41
+ "step": 40
42
+ },
43
+ {
44
+ "epoch": 0.62,
45
+ "learning_rate": 0.00016875,
46
+ "loss": 1.2425,
47
+ "step": 50
48
+ },
49
+ {
50
+ "epoch": 0.75,
51
+ "learning_rate": 0.00016250000000000002,
52
+ "loss": 1.1063,
53
+ "step": 60
54
+ },
55
+ {
56
+ "epoch": 0.88,
57
+ "learning_rate": 0.00015625,
58
+ "loss": 0.9224,
59
+ "step": 70
60
+ },
61
+ {
62
+ "epoch": 1.0,
63
+ "learning_rate": 0.00015000000000000001,
64
+ "loss": 0.7905,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 1.0,
69
+ "eval_accuracy": 0.8130841121495327,
70
+ "eval_loss": 0.7577788233757019,
71
+ "eval_runtime": 381.7049,
72
+ "eval_samples_per_second": 1.402,
73
+ "eval_steps_per_second": 0.176,
74
+ "step": 80
75
+ },
76
+ {
77
+ "epoch": 1.12,
78
+ "learning_rate": 0.00014375,
79
+ "loss": 0.6613,
80
+ "step": 90
81
+ },
82
+ {
83
+ "epoch": 1.25,
84
+ "learning_rate": 0.0001375,
85
+ "loss": 0.6946,
86
+ "step": 100
87
+ },
88
+ {
89
+ "epoch": 1.38,
90
+ "learning_rate": 0.00013125000000000002,
91
+ "loss": 0.5187,
92
+ "step": 110
93
+ },
94
+ {
95
+ "epoch": 1.5,
96
+ "learning_rate": 0.000125,
97
+ "loss": 0.5223,
98
+ "step": 120
99
+ },
100
+ {
101
+ "epoch": 1.5,
102
+ "eval_accuracy": 0.8186915887850468,
103
+ "eval_loss": 0.6094576120376587,
104
+ "eval_runtime": 389.3932,
105
+ "eval_samples_per_second": 1.374,
106
+ "eval_steps_per_second": 0.172,
107
+ "step": 120
108
+ },
109
+ {
110
+ "epoch": 1.62,
111
+ "learning_rate": 0.00011875,
112
+ "loss": 0.5048,
113
+ "step": 130
114
+ },
115
+ {
116
+ "epoch": 1.75,
117
+ "learning_rate": 0.00011250000000000001,
118
+ "loss": 0.5559,
119
+ "step": 140
120
+ },
121
+ {
122
+ "epoch": 1.88,
123
+ "learning_rate": 0.00010625000000000001,
124
+ "loss": 0.4757,
125
+ "step": 150
126
+ },
127
+ {
128
+ "epoch": 2.0,
129
+ "learning_rate": 0.0001,
130
+ "loss": 0.3683,
131
+ "step": 160
132
+ },
133
+ {
134
+ "epoch": 2.0,
135
+ "eval_accuracy": 0.8542056074766355,
136
+ "eval_loss": 0.5075709819793701,
137
+ "eval_runtime": 384.1646,
138
+ "eval_samples_per_second": 1.393,
139
+ "eval_steps_per_second": 0.174,
140
+ "step": 160
141
+ },
142
+ {
143
+ "epoch": 2.12,
144
+ "learning_rate": 9.375e-05,
145
+ "loss": 0.3126,
146
+ "step": 170
147
+ },
148
+ {
149
+ "epoch": 2.25,
150
+ "learning_rate": 8.75e-05,
151
+ "loss": 0.3093,
152
+ "step": 180
153
+ },
154
+ {
155
+ "epoch": 2.38,
156
+ "learning_rate": 8.125000000000001e-05,
157
+ "loss": 0.3063,
158
+ "step": 190
159
+ },
160
+ {
161
+ "epoch": 2.5,
162
+ "learning_rate": 7.500000000000001e-05,
163
+ "loss": 0.2401,
164
+ "step": 200
165
+ },
166
+ {
167
+ "epoch": 2.5,
168
+ "eval_accuracy": 0.8467289719626169,
169
+ "eval_loss": 0.4515593349933624,
170
+ "eval_runtime": 374.8793,
171
+ "eval_samples_per_second": 1.427,
172
+ "eval_steps_per_second": 0.179,
173
+ "step": 200
174
+ },
175
+ {
176
+ "epoch": 2.62,
177
+ "learning_rate": 6.875e-05,
178
+ "loss": 0.3209,
179
+ "step": 210
180
+ },
181
+ {
182
+ "epoch": 2.75,
183
+ "learning_rate": 6.25e-05,
184
+ "loss": 0.2538,
185
+ "step": 220
186
+ },
187
+ {
188
+ "epoch": 2.88,
189
+ "learning_rate": 5.6250000000000005e-05,
190
+ "loss": 0.2671,
191
+ "step": 230
192
+ },
193
+ {
194
+ "epoch": 3.0,
195
+ "learning_rate": 5e-05,
196
+ "loss": 0.2688,
197
+ "step": 240
198
+ },
199
+ {
200
+ "epoch": 3.0,
201
+ "eval_accuracy": 0.8598130841121495,
202
+ "eval_loss": 0.4518713057041168,
203
+ "eval_runtime": 371.598,
204
+ "eval_samples_per_second": 1.44,
205
+ "eval_steps_per_second": 0.18,
206
+ "step": 240
207
+ },
208
+ {
209
+ "epoch": 3.12,
210
+ "learning_rate": 4.375e-05,
211
+ "loss": 0.1702,
212
+ "step": 250
213
+ },
214
+ {
215
+ "epoch": 3.25,
216
+ "learning_rate": 3.7500000000000003e-05,
217
+ "loss": 0.1993,
218
+ "step": 260
219
+ },
220
+ {
221
+ "epoch": 3.38,
222
+ "learning_rate": 3.125e-05,
223
+ "loss": 0.218,
224
+ "step": 270
225
+ },
226
+ {
227
+ "epoch": 3.5,
228
+ "learning_rate": 2.5e-05,
229
+ "loss": 0.1583,
230
+ "step": 280
231
+ },
232
+ {
233
+ "epoch": 3.5,
234
+ "eval_accuracy": 0.874766355140187,
235
+ "eval_loss": 0.43153366446495056,
236
+ "eval_runtime": 380.0584,
237
+ "eval_samples_per_second": 1.408,
238
+ "eval_steps_per_second": 0.176,
239
+ "step": 280
240
+ }
241
+ ],
242
+ "max_steps": 320,
243
+ "num_train_epochs": 4,
244
+ "total_flos": 3.467364497947607e+17,
245
+ "trial_name": null,
246
+ "trial_params": null
247
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aaa90b2bf99e43bd879b69acbb4d88ab9a0137685671e23de8df26be9573fb3d
3
+ size 3899