edus20 commited on
Commit
1d3e8c9
1 Parent(s): 6c74704

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - image-classification
6
+ base_model: google/mobilenet_v2_1.0_224
7
+ widget:
8
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
9
+ example_title: Tiger
10
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
11
+ example_title: Teapot
12
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
13
+ example_title: Palace
14
+ ---
15
+
16
+ # Model Trained Using AutoTrain
17
+
18
+ - Problem type: Image Classification
19
+
20
+ ## Validation Metrics
21
+ loss: 0.3946281671524048
22
+
23
+ f1: 1.0
24
+
25
+ precision: 1.0
26
+
27
+ recall: 1.0
28
+
29
+ auc: 1.0
30
+
31
+ accuracy: 1.0
checkpoint-18/config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/mobilenet_v2_1.0_224",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "MobileNetV2ForImageClassification"
6
+ ],
7
+ "classifier_dropout_prob": 0.2,
8
+ "depth_divisible_by": 8,
9
+ "depth_multiplier": 1.0,
10
+ "expand_ratio": 6,
11
+ "finegrained_output": true,
12
+ "first_layer_is_expansion": true,
13
+ "hidden_act": "relu6",
14
+ "id2label": {
15
+ "0": "madura",
16
+ "1": "nomadura"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "label2id": {
21
+ "madura": 0,
22
+ "nomadura": 1
23
+ },
24
+ "layer_norm_eps": 0.001,
25
+ "min_depth": 8,
26
+ "model_type": "mobilenet_v2",
27
+ "num_channels": 3,
28
+ "output_stride": 32,
29
+ "problem_type": "single_label_classification",
30
+ "semantic_loss_ignore_index": 255,
31
+ "tf_padding": true,
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.46.2"
34
+ }
checkpoint-18/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0891442a3a6260753610d6b8e7edf5a2adfe6af60804eb4bd986db6c81e46728
3
+ size 9080216
checkpoint-18/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a97f9bce1ee6fc73437dc7defde3c8f5e97ccf2c0fba15e13cb03af38a5e83c3
3
+ size 17939322
checkpoint-18/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ec04909587f47b8929c0cf523120505986d4d31da14c08d82035f248968989a
3
+ size 13990
checkpoint-18/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4640a40f3ee405342a5c572698724565b558cfb5702e08c6aa0d1c62d18f15bf
3
+ size 1064
checkpoint-18/trainer_state.json ADDED
@@ -0,0 +1,285 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.3946281671524048,
3
+ "best_model_checkpoint": "autotrain-c0iln-xl83j/checkpoint-18",
4
+ "epoch": 9.0,
5
+ "eval_steps": 500,
6
+ "global_step": 18,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.5,
13
+ "grad_norm": 27.526565551757812,
14
+ "learning_rate": 2.5e-05,
15
+ "loss": 0.7713,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "grad_norm": 18.068647384643555,
21
+ "learning_rate": 5e-05,
22
+ "loss": 0.7697,
23
+ "step": 2
24
+ },
25
+ {
26
+ "epoch": 1.0,
27
+ "eval_accuracy": 0.5,
28
+ "eval_auc": 0.0,
29
+ "eval_f1": 0.6666666666666666,
30
+ "eval_loss": 0.9978442192077637,
31
+ "eval_precision": 0.5,
32
+ "eval_recall": 1.0,
33
+ "eval_runtime": 0.0806,
34
+ "eval_samples_per_second": 24.82,
35
+ "eval_steps_per_second": 12.41,
36
+ "step": 2
37
+ },
38
+ {
39
+ "epoch": 1.5,
40
+ "grad_norm": 11.910748481750488,
41
+ "learning_rate": 4.722222222222222e-05,
42
+ "loss": 0.401,
43
+ "step": 3
44
+ },
45
+ {
46
+ "epoch": 2.0,
47
+ "grad_norm": 24.258024215698242,
48
+ "learning_rate": 4.4444444444444447e-05,
49
+ "loss": 1.4374,
50
+ "step": 4
51
+ },
52
+ {
53
+ "epoch": 2.0,
54
+ "eval_accuracy": 0.5,
55
+ "eval_auc": 1.0,
56
+ "eval_f1": 0.6666666666666666,
57
+ "eval_loss": 0.5882669687271118,
58
+ "eval_precision": 0.5,
59
+ "eval_recall": 1.0,
60
+ "eval_runtime": 0.0768,
61
+ "eval_samples_per_second": 26.044,
62
+ "eval_steps_per_second": 13.022,
63
+ "step": 4
64
+ },
65
+ {
66
+ "epoch": 2.5,
67
+ "grad_norm": 20.304765701293945,
68
+ "learning_rate": 4.166666666666667e-05,
69
+ "loss": 0.7518,
70
+ "step": 5
71
+ },
72
+ {
73
+ "epoch": 3.0,
74
+ "grad_norm": 16.334768295288086,
75
+ "learning_rate": 3.888888888888889e-05,
76
+ "loss": 0.6696,
77
+ "step": 6
78
+ },
79
+ {
80
+ "epoch": 3.0,
81
+ "eval_accuracy": 0.5,
82
+ "eval_auc": 1.0,
83
+ "eval_f1": 0.6666666666666666,
84
+ "eval_loss": 0.6670193672180176,
85
+ "eval_precision": 0.5,
86
+ "eval_recall": 1.0,
87
+ "eval_runtime": 0.083,
88
+ "eval_samples_per_second": 24.106,
89
+ "eval_steps_per_second": 12.053,
90
+ "step": 6
91
+ },
92
+ {
93
+ "epoch": 3.5,
94
+ "grad_norm": 21.92859649658203,
95
+ "learning_rate": 3.611111111111111e-05,
96
+ "loss": 1.2565,
97
+ "step": 7
98
+ },
99
+ {
100
+ "epoch": 4.0,
101
+ "grad_norm": 19.558080673217773,
102
+ "learning_rate": 3.3333333333333335e-05,
103
+ "loss": 0.443,
104
+ "step": 8
105
+ },
106
+ {
107
+ "epoch": 4.0,
108
+ "eval_accuracy": 0.5,
109
+ "eval_auc": 1.0,
110
+ "eval_f1": 0.6666666666666666,
111
+ "eval_loss": 0.694669246673584,
112
+ "eval_precision": 0.5,
113
+ "eval_recall": 1.0,
114
+ "eval_runtime": 0.0794,
115
+ "eval_samples_per_second": 25.176,
116
+ "eval_steps_per_second": 12.588,
117
+ "step": 8
118
+ },
119
+ {
120
+ "epoch": 4.5,
121
+ "grad_norm": 13.385185241699219,
122
+ "learning_rate": 3.055555555555556e-05,
123
+ "loss": 0.4886,
124
+ "step": 9
125
+ },
126
+ {
127
+ "epoch": 5.0,
128
+ "grad_norm": 20.257001876831055,
129
+ "learning_rate": 2.777777777777778e-05,
130
+ "loss": 0.5923,
131
+ "step": 10
132
+ },
133
+ {
134
+ "epoch": 5.0,
135
+ "eval_accuracy": 0.5,
136
+ "eval_auc": 1.0,
137
+ "eval_f1": 0.6666666666666666,
138
+ "eval_loss": 0.6438201069831848,
139
+ "eval_precision": 0.5,
140
+ "eval_recall": 1.0,
141
+ "eval_runtime": 0.0867,
142
+ "eval_samples_per_second": 23.068,
143
+ "eval_steps_per_second": 11.534,
144
+ "step": 10
145
+ },
146
+ {
147
+ "epoch": 5.5,
148
+ "grad_norm": 11.043343544006348,
149
+ "learning_rate": 2.5e-05,
150
+ "loss": 0.3391,
151
+ "step": 11
152
+ },
153
+ {
154
+ "epoch": 6.0,
155
+ "grad_norm": 18.80914306640625,
156
+ "learning_rate": 2.2222222222222223e-05,
157
+ "loss": 0.9555,
158
+ "step": 12
159
+ },
160
+ {
161
+ "epoch": 6.0,
162
+ "eval_accuracy": 0.5,
163
+ "eval_auc": 1.0,
164
+ "eval_f1": 0.6666666666666666,
165
+ "eval_loss": 0.4542161524295807,
166
+ "eval_precision": 0.5,
167
+ "eval_recall": 1.0,
168
+ "eval_runtime": 0.0861,
169
+ "eval_samples_per_second": 23.233,
170
+ "eval_steps_per_second": 11.617,
171
+ "step": 12
172
+ },
173
+ {
174
+ "epoch": 6.5,
175
+ "grad_norm": 11.015345573425293,
176
+ "learning_rate": 1.9444444444444445e-05,
177
+ "loss": 0.4014,
178
+ "step": 13
179
+ },
180
+ {
181
+ "epoch": 7.0,
182
+ "grad_norm": 19.664325714111328,
183
+ "learning_rate": 1.6666666666666667e-05,
184
+ "loss": 0.9119,
185
+ "step": 14
186
+ },
187
+ {
188
+ "epoch": 7.0,
189
+ "eval_accuracy": 0.5,
190
+ "eval_auc": 1.0,
191
+ "eval_f1": 0.6666666666666666,
192
+ "eval_loss": 0.6708225011825562,
193
+ "eval_precision": 0.5,
194
+ "eval_recall": 1.0,
195
+ "eval_runtime": 0.0791,
196
+ "eval_samples_per_second": 25.271,
197
+ "eval_steps_per_second": 12.636,
198
+ "step": 14
199
+ },
200
+ {
201
+ "epoch": 7.5,
202
+ "grad_norm": 17.03907585144043,
203
+ "learning_rate": 1.388888888888889e-05,
204
+ "loss": 0.7005,
205
+ "step": 15
206
+ },
207
+ {
208
+ "epoch": 8.0,
209
+ "grad_norm": 18.77954864501953,
210
+ "learning_rate": 1.1111111111111112e-05,
211
+ "loss": 0.5855,
212
+ "step": 16
213
+ },
214
+ {
215
+ "epoch": 8.0,
216
+ "eval_accuracy": 0.5,
217
+ "eval_auc": 1.0,
218
+ "eval_f1": 0.6666666666666666,
219
+ "eval_loss": 0.521186113357544,
220
+ "eval_precision": 0.5,
221
+ "eval_recall": 1.0,
222
+ "eval_runtime": 0.0775,
223
+ "eval_samples_per_second": 25.818,
224
+ "eval_steps_per_second": 12.909,
225
+ "step": 16
226
+ },
227
+ {
228
+ "epoch": 8.5,
229
+ "grad_norm": 13.248153686523438,
230
+ "learning_rate": 8.333333333333334e-06,
231
+ "loss": 0.5395,
232
+ "step": 17
233
+ },
234
+ {
235
+ "epoch": 9.0,
236
+ "grad_norm": 23.6978702545166,
237
+ "learning_rate": 5.555555555555556e-06,
238
+ "loss": 0.6486,
239
+ "step": 18
240
+ },
241
+ {
242
+ "epoch": 9.0,
243
+ "eval_accuracy": 1.0,
244
+ "eval_auc": 1.0,
245
+ "eval_f1": 1.0,
246
+ "eval_loss": 0.3946281671524048,
247
+ "eval_precision": 1.0,
248
+ "eval_recall": 1.0,
249
+ "eval_runtime": 0.0835,
250
+ "eval_samples_per_second": 23.942,
251
+ "eval_steps_per_second": 11.971,
252
+ "step": 18
253
+ }
254
+ ],
255
+ "logging_steps": 1,
256
+ "max_steps": 20,
257
+ "num_input_tokens_seen": 0,
258
+ "num_train_epochs": 10,
259
+ "save_steps": 500,
260
+ "stateful_callbacks": {
261
+ "EarlyStoppingCallback": {
262
+ "args": {
263
+ "early_stopping_patience": 5,
264
+ "early_stopping_threshold": 0.01
265
+ },
266
+ "attributes": {
267
+ "early_stopping_patience_counter": 0
268
+ }
269
+ },
270
+ "TrainerControl": {
271
+ "args": {
272
+ "should_epoch_stop": false,
273
+ "should_evaluate": false,
274
+ "should_log": false,
275
+ "should_save": true,
276
+ "should_training_stop": false
277
+ },
278
+ "attributes": {}
279
+ }
280
+ },
281
+ "total_flos": 189101405896704.0,
282
+ "train_batch_size": 4,
283
+ "trial_name": null,
284
+ "trial_params": null
285
+ }
checkpoint-18/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da23d110f4bad311fe6fc7589ddfda480e41ec664dd6c4f96d068f05926ea326
3
+ size 5304
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/mobilenet_v2_1.0_224",
3
+ "_num_labels": 2,
4
+ "architectures": [
5
+ "MobileNetV2ForImageClassification"
6
+ ],
7
+ "classifier_dropout_prob": 0.2,
8
+ "depth_divisible_by": 8,
9
+ "depth_multiplier": 1.0,
10
+ "expand_ratio": 6,
11
+ "finegrained_output": true,
12
+ "first_layer_is_expansion": true,
13
+ "hidden_act": "relu6",
14
+ "id2label": {
15
+ "0": "madura",
16
+ "1": "nomadura"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "label2id": {
21
+ "madura": 0,
22
+ "nomadura": 1
23
+ },
24
+ "layer_norm_eps": 0.001,
25
+ "min_depth": 8,
26
+ "model_type": "mobilenet_v2",
27
+ "num_channels": 3,
28
+ "output_stride": 32,
29
+ "problem_type": "single_label_classification",
30
+ "semantic_loss_ignore_index": 255,
31
+ "tf_padding": true,
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.46.2"
34
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0891442a3a6260753610d6b8e7edf5a2adfe6af60804eb4bd986db6c81e46728
3
+ size 9080216
preprocessor_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "image_mean": [
11
+ 0.5,
12
+ 0.5,
13
+ 0.5
14
+ ],
15
+ "image_processor_type": "MobileNetV2ImageProcessor",
16
+ "image_std": [
17
+ 0.5,
18
+ 0.5,
19
+ 0.5
20
+ ],
21
+ "resample": 2,
22
+ "rescale_factor": 0.00392156862745098,
23
+ "size": {
24
+ "shortest_edge": 256
25
+ }
26
+ }
runs/Nov08_09-34-54_r-edus20-clasificadorplatanos-icft7nyi-11129-ajntx/events.out.tfevents.1731058496.r-edus20-clasificadorplatanos-icft7nyi-11129-ajntx.141.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2992e1c65979c49d19535caa8af07eecaf2b0cfbb4022c23da41cbd6ed0996e0
3
- size 5197
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:acc84e17a124fe4ac5e080c007422d9f897bb5fe942e6a2a8d7d123b6ffca0a3
3
+ size 14775
runs/Nov08_09-34-54_r-edus20-clasificadorplatanos-icft7nyi-11129-ajntx/events.out.tfevents.1731058510.r-edus20-clasificadorplatanos-icft7nyi-11129-ajntx.141.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a5465b281f7122c9a4769d04e7e5f3d084a9f73a4e9070d4f702c1b722b2b9d
3
+ size 597
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da23d110f4bad311fe6fc7589ddfda480e41ec664dd6c4f96d068f05926ea326
3
+ size 5304
training_params.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "autotrain-c0iln-xl83j/autotrain-data",
3
+ "model": "google/mobilenet_v2_1.0_224",
4
+ "username": "edus20",
5
+ "lr": 5e-05,
6
+ "epochs": 10,
7
+ "batch_size": 4,
8
+ "warmup_ratio": 0.1,
9
+ "gradient_accumulation": 1,
10
+ "optimizer": "adamw_torch",
11
+ "scheduler": "linear",
12
+ "weight_decay": 0.0,
13
+ "max_grad_norm": 1.0,
14
+ "seed": 42,
15
+ "train_split": "train",
16
+ "valid_split": "validation",
17
+ "logging_steps": -1,
18
+ "project_name": "autotrain-c0iln-xl83j",
19
+ "auto_find_batch_size": false,
20
+ "mixed_precision": "none",
21
+ "save_total_limit": 1,
22
+ "push_to_hub": true,
23
+ "eval_strategy": "epoch",
24
+ "image_column": "autotrain_image",
25
+ "target_column": "autotrain_label",
26
+ "log": "tensorboard",
27
+ "early_stopping_patience": 5,
28
+ "early_stopping_threshold": 0.01
29
+ }