dima806 commited on
Commit
faeec91
1 Parent(s): f2671d0

Upload folder using huggingface_hub

Browse files
checkpoint-7500/config.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "guava",
13
+ "1": "galangal",
14
+ "2": "bilimbi",
15
+ "3": "paddy",
16
+ "4": "eggplant",
17
+ "5": "cucumber",
18
+ "6": "cassava",
19
+ "7": "papaya",
20
+ "8": "banana",
21
+ "9": "orange",
22
+ "10": "cantaloupe",
23
+ "11": "coconut",
24
+ "12": "soybeans",
25
+ "13": "pomelo",
26
+ "14": "pineapple",
27
+ "15": "melon",
28
+ "16": "shallot",
29
+ "17": "peperchili",
30
+ "18": "spinach",
31
+ "19": "tobacco",
32
+ "20": "aloevera",
33
+ "21": "curcuma",
34
+ "22": "corn",
35
+ "23": "ginger",
36
+ "24": "sweetpotatoes",
37
+ "25": "kale",
38
+ "26": "longbeans",
39
+ "27": "watermelon",
40
+ "28": "mango",
41
+ "29": "waterapple"
42
+ },
43
+ "image_size": 224,
44
+ "initializer_range": 0.02,
45
+ "intermediate_size": 3072,
46
+ "label2id": {
47
+ "aloevera": 20,
48
+ "banana": 8,
49
+ "bilimbi": 2,
50
+ "cantaloupe": 10,
51
+ "cassava": 6,
52
+ "coconut": 11,
53
+ "corn": 22,
54
+ "cucumber": 5,
55
+ "curcuma": 21,
56
+ "eggplant": 4,
57
+ "galangal": 1,
58
+ "ginger": 23,
59
+ "guava": 0,
60
+ "kale": 25,
61
+ "longbeans": 26,
62
+ "mango": 28,
63
+ "melon": 15,
64
+ "orange": 9,
65
+ "paddy": 3,
66
+ "papaya": 7,
67
+ "peperchili": 17,
68
+ "pineapple": 14,
69
+ "pomelo": 13,
70
+ "shallot": 16,
71
+ "soybeans": 12,
72
+ "spinach": 18,
73
+ "sweetpotatoes": 24,
74
+ "tobacco": 19,
75
+ "waterapple": 29,
76
+ "watermelon": 27
77
+ },
78
+ "layer_norm_eps": 1e-12,
79
+ "model_type": "vit",
80
+ "num_attention_heads": 12,
81
+ "num_channels": 3,
82
+ "num_hidden_layers": 12,
83
+ "patch_size": 16,
84
+ "problem_type": "single_label_classification",
85
+ "qkv_bias": true,
86
+ "torch_dtype": "float32",
87
+ "transformers_version": "4.34.1"
88
+ }
checkpoint-7500/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bea56cdfe7e0125cb402555782322e81f37ea54795b2d15d320fc65a1b245fa3
3
+ size 686740613
checkpoint-7500/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
+ }
checkpoint-7500/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a80be8dc5357ff46d4e81757edfa1427c61c8a7cc44a3acd1ecce12dbb41dde
3
+ size 343354797
checkpoint-7500/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c711cd813b30937050da6ddef13bc00f4f6e2cd8feee07c557ac94cdc16de80
3
+ size 14575
checkpoint-7500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02217da72ee7587d99b96b71f9f063cdc3deb725f87206b73f9c4e7e33ac81d4
3
+ size 627
checkpoint-7500/trainer_state.json ADDED
@@ -0,0 +1,289 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.6337235569953918,
3
+ "best_model_checkpoint": "30_plant_types_image_detection/checkpoint-7500",
4
+ "epoch": 20.0,
5
+ "eval_steps": 500,
6
+ "global_step": 7500,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "eval_accuracy": 0.7751666666666667,
14
+ "eval_loss": 2.879635810852051,
15
+ "eval_runtime": 69.1159,
16
+ "eval_samples_per_second": 86.811,
17
+ "eval_steps_per_second": 2.72,
18
+ "step": 375
19
+ },
20
+ {
21
+ "epoch": 1.33,
22
+ "learning_rate": 4.697986577181208e-06,
23
+ "loss": 3.0289,
24
+ "step": 500
25
+ },
26
+ {
27
+ "epoch": 2.0,
28
+ "eval_accuracy": 0.8315,
29
+ "eval_loss": 2.3009979724884033,
30
+ "eval_runtime": 70.3035,
31
+ "eval_samples_per_second": 85.344,
32
+ "eval_steps_per_second": 2.674,
33
+ "step": 750
34
+ },
35
+ {
36
+ "epoch": 2.67,
37
+ "learning_rate": 4.362416107382551e-06,
38
+ "loss": 2.2215,
39
+ "step": 1000
40
+ },
41
+ {
42
+ "epoch": 3.0,
43
+ "eval_accuracy": 0.8565,
44
+ "eval_loss": 1.8947581052780151,
45
+ "eval_runtime": 70.1196,
46
+ "eval_samples_per_second": 85.568,
47
+ "eval_steps_per_second": 2.681,
48
+ "step": 1125
49
+ },
50
+ {
51
+ "epoch": 4.0,
52
+ "learning_rate": 4.026845637583892e-06,
53
+ "loss": 1.6867,
54
+ "step": 1500
55
+ },
56
+ {
57
+ "epoch": 4.0,
58
+ "eval_accuracy": 0.8728333333333333,
59
+ "eval_loss": 1.6072044372558594,
60
+ "eval_runtime": 70.4807,
61
+ "eval_samples_per_second": 85.13,
62
+ "eval_steps_per_second": 2.667,
63
+ "step": 1500
64
+ },
65
+ {
66
+ "epoch": 5.0,
67
+ "eval_accuracy": 0.879,
68
+ "eval_loss": 1.3978805541992188,
69
+ "eval_runtime": 70.8132,
70
+ "eval_samples_per_second": 84.73,
71
+ "eval_steps_per_second": 2.655,
72
+ "step": 1875
73
+ },
74
+ {
75
+ "epoch": 5.33,
76
+ "learning_rate": 3.6912751677852355e-06,
77
+ "loss": 1.3532,
78
+ "step": 2000
79
+ },
80
+ {
81
+ "epoch": 6.0,
82
+ "eval_accuracy": 0.8836666666666667,
83
+ "eval_loss": 1.2390447854995728,
84
+ "eval_runtime": 71.607,
85
+ "eval_samples_per_second": 83.791,
86
+ "eval_steps_per_second": 2.625,
87
+ "step": 2250
88
+ },
89
+ {
90
+ "epoch": 6.67,
91
+ "learning_rate": 3.3557046979865777e-06,
92
+ "loss": 1.1216,
93
+ "step": 2500
94
+ },
95
+ {
96
+ "epoch": 7.0,
97
+ "eval_accuracy": 0.8876666666666667,
98
+ "eval_loss": 1.11713707447052,
99
+ "eval_runtime": 71.2575,
100
+ "eval_samples_per_second": 84.202,
101
+ "eval_steps_per_second": 2.638,
102
+ "step": 2625
103
+ },
104
+ {
105
+ "epoch": 8.0,
106
+ "learning_rate": 3.02013422818792e-06,
107
+ "loss": 0.9646,
108
+ "step": 3000
109
+ },
110
+ {
111
+ "epoch": 8.0,
112
+ "eval_accuracy": 0.8895,
113
+ "eval_loss": 1.0217927694320679,
114
+ "eval_runtime": 74.7184,
115
+ "eval_samples_per_second": 80.301,
116
+ "eval_steps_per_second": 2.516,
117
+ "step": 3000
118
+ },
119
+ {
120
+ "epoch": 9.0,
121
+ "eval_accuracy": 0.8943333333333333,
122
+ "eval_loss": 0.9412829875946045,
123
+ "eval_runtime": 70.8096,
124
+ "eval_samples_per_second": 84.734,
125
+ "eval_steps_per_second": 2.655,
126
+ "step": 3375
127
+ },
128
+ {
129
+ "epoch": 9.33,
130
+ "learning_rate": 2.684563758389262e-06,
131
+ "loss": 0.8427,
132
+ "step": 3500
133
+ },
134
+ {
135
+ "epoch": 10.0,
136
+ "eval_accuracy": 0.8951666666666667,
137
+ "eval_loss": 0.8764568567276001,
138
+ "eval_runtime": 70.2141,
139
+ "eval_samples_per_second": 85.453,
140
+ "eval_steps_per_second": 2.678,
141
+ "step": 3750
142
+ },
143
+ {
144
+ "epoch": 10.67,
145
+ "learning_rate": 2.348993288590604e-06,
146
+ "loss": 0.7504,
147
+ "step": 4000
148
+ },
149
+ {
150
+ "epoch": 11.0,
151
+ "eval_accuracy": 0.898,
152
+ "eval_loss": 0.822058916091919,
153
+ "eval_runtime": 69.4825,
154
+ "eval_samples_per_second": 86.353,
155
+ "eval_steps_per_second": 2.706,
156
+ "step": 4125
157
+ },
158
+ {
159
+ "epoch": 12.0,
160
+ "learning_rate": 2.013422818791946e-06,
161
+ "loss": 0.6808,
162
+ "step": 4500
163
+ },
164
+ {
165
+ "epoch": 12.0,
166
+ "eval_accuracy": 0.8988333333333334,
167
+ "eval_loss": 0.7778275609016418,
168
+ "eval_runtime": 69.6398,
169
+ "eval_samples_per_second": 86.158,
170
+ "eval_steps_per_second": 2.7,
171
+ "step": 4500
172
+ },
173
+ {
174
+ "epoch": 13.0,
175
+ "eval_accuracy": 0.9001666666666667,
176
+ "eval_loss": 0.7416548132896423,
177
+ "eval_runtime": 75.7991,
178
+ "eval_samples_per_second": 79.157,
179
+ "eval_steps_per_second": 2.48,
180
+ "step": 4875
181
+ },
182
+ {
183
+ "epoch": 13.33,
184
+ "learning_rate": 1.6778523489932889e-06,
185
+ "loss": 0.6217,
186
+ "step": 5000
187
+ },
188
+ {
189
+ "epoch": 14.0,
190
+ "eval_accuracy": 0.9005,
191
+ "eval_loss": 0.7108538150787354,
192
+ "eval_runtime": 70.72,
193
+ "eval_samples_per_second": 84.842,
194
+ "eval_steps_per_second": 2.658,
195
+ "step": 5250
196
+ },
197
+ {
198
+ "epoch": 14.67,
199
+ "learning_rate": 1.342281879194631e-06,
200
+ "loss": 0.584,
201
+ "step": 5500
202
+ },
203
+ {
204
+ "epoch": 15.0,
205
+ "eval_accuracy": 0.9003333333333333,
206
+ "eval_loss": 0.6852588057518005,
207
+ "eval_runtime": 69.9386,
208
+ "eval_samples_per_second": 85.789,
209
+ "eval_steps_per_second": 2.688,
210
+ "step": 5625
211
+ },
212
+ {
213
+ "epoch": 16.0,
214
+ "learning_rate": 1.006711409395973e-06,
215
+ "loss": 0.5461,
216
+ "step": 6000
217
+ },
218
+ {
219
+ "epoch": 16.0,
220
+ "eval_accuracy": 0.902,
221
+ "eval_loss": 0.6665924191474915,
222
+ "eval_runtime": 69.9364,
223
+ "eval_samples_per_second": 85.792,
224
+ "eval_steps_per_second": 2.688,
225
+ "step": 6000
226
+ },
227
+ {
228
+ "epoch": 17.0,
229
+ "eval_accuracy": 0.9016666666666666,
230
+ "eval_loss": 0.6526079177856445,
231
+ "eval_runtime": 76.0781,
232
+ "eval_samples_per_second": 78.866,
233
+ "eval_steps_per_second": 2.471,
234
+ "step": 6375
235
+ },
236
+ {
237
+ "epoch": 17.33,
238
+ "learning_rate": 6.711409395973155e-07,
239
+ "loss": 0.524,
240
+ "step": 6500
241
+ },
242
+ {
243
+ "epoch": 18.0,
244
+ "eval_accuracy": 0.9023333333333333,
245
+ "eval_loss": 0.6413612365722656,
246
+ "eval_runtime": 75.6348,
247
+ "eval_samples_per_second": 79.329,
248
+ "eval_steps_per_second": 2.486,
249
+ "step": 6750
250
+ },
251
+ {
252
+ "epoch": 18.67,
253
+ "learning_rate": 3.3557046979865777e-07,
254
+ "loss": 0.51,
255
+ "step": 7000
256
+ },
257
+ {
258
+ "epoch": 19.0,
259
+ "eval_accuracy": 0.9028333333333334,
260
+ "eval_loss": 0.6357945203781128,
261
+ "eval_runtime": 69.8897,
262
+ "eval_samples_per_second": 85.85,
263
+ "eval_steps_per_second": 2.69,
264
+ "step": 7125
265
+ },
266
+ {
267
+ "epoch": 20.0,
268
+ "learning_rate": 0.0,
269
+ "loss": 0.4988,
270
+ "step": 7500
271
+ },
272
+ {
273
+ "epoch": 20.0,
274
+ "eval_accuracy": 0.9026666666666666,
275
+ "eval_loss": 0.6337235569953918,
276
+ "eval_runtime": 70.0739,
277
+ "eval_samples_per_second": 85.624,
278
+ "eval_steps_per_second": 2.683,
279
+ "step": 7500
280
+ }
281
+ ],
282
+ "logging_steps": 500,
283
+ "max_steps": 7500,
284
+ "num_train_epochs": 20,
285
+ "save_steps": 500,
286
+ "total_flos": 3.720548958142464e+19,
287
+ "trial_name": null,
288
+ "trial_params": null
289
+ }
checkpoint-7500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7578b451e2da59e7897b3bcf30054f2aca4c25613cc961bdd1f0e9e3f79d356
3
+ size 4027
config.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "guava",
13
+ "1": "galangal",
14
+ "2": "bilimbi",
15
+ "3": "paddy",
16
+ "4": "eggplant",
17
+ "5": "cucumber",
18
+ "6": "cassava",
19
+ "7": "papaya",
20
+ "8": "banana",
21
+ "9": "orange",
22
+ "10": "cantaloupe",
23
+ "11": "coconut",
24
+ "12": "soybeans",
25
+ "13": "pomelo",
26
+ "14": "pineapple",
27
+ "15": "melon",
28
+ "16": "shallot",
29
+ "17": "peperchili",
30
+ "18": "spinach",
31
+ "19": "tobacco",
32
+ "20": "aloevera",
33
+ "21": "curcuma",
34
+ "22": "corn",
35
+ "23": "ginger",
36
+ "24": "sweetpotatoes",
37
+ "25": "kale",
38
+ "26": "longbeans",
39
+ "27": "watermelon",
40
+ "28": "mango",
41
+ "29": "waterapple"
42
+ },
43
+ "image_size": 224,
44
+ "initializer_range": 0.02,
45
+ "intermediate_size": 3072,
46
+ "label2id": {
47
+ "aloevera": 20,
48
+ "banana": 8,
49
+ "bilimbi": 2,
50
+ "cantaloupe": 10,
51
+ "cassava": 6,
52
+ "coconut": 11,
53
+ "corn": 22,
54
+ "cucumber": 5,
55
+ "curcuma": 21,
56
+ "eggplant": 4,
57
+ "galangal": 1,
58
+ "ginger": 23,
59
+ "guava": 0,
60
+ "kale": 25,
61
+ "longbeans": 26,
62
+ "mango": 28,
63
+ "melon": 15,
64
+ "orange": 9,
65
+ "paddy": 3,
66
+ "papaya": 7,
67
+ "peperchili": 17,
68
+ "pineapple": 14,
69
+ "pomelo": 13,
70
+ "shallot": 16,
71
+ "soybeans": 12,
72
+ "spinach": 18,
73
+ "sweetpotatoes": 24,
74
+ "tobacco": 19,
75
+ "waterapple": 29,
76
+ "watermelon": 27
77
+ },
78
+ "layer_norm_eps": 1e-12,
79
+ "model_type": "vit",
80
+ "num_attention_heads": 12,
81
+ "num_channels": 3,
82
+ "num_hidden_layers": 12,
83
+ "patch_size": 16,
84
+ "problem_type": "single_label_classification",
85
+ "qkv_bias": true,
86
+ "torch_dtype": "float32",
87
+ "transformers_version": "4.34.1"
88
+ }
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
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a80be8dc5357ff46d4e81757edfa1427c61c8a7cc44a3acd1ecce12dbb41dde
3
+ size 343354797
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7578b451e2da59e7897b3bcf30054f2aca4c25613cc961bdd1f0e9e3f79d356
3
+ size 4027