abhishek HF staff commited on
Commit
149bac9
1 Parent(s): 38f1512

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - image-classification
6
+ widget:
7
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
8
+ example_title: Tiger
9
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
10
+ example_title: Teapot
11
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
12
+ example_title: Palace
13
+ datasets:
14
+ - autotrain-data-owi6-m9m1-h027
15
+ ---
16
+
17
+ # Model Trained Using AutoTrain
18
+
19
+ - Problem type: Image Classification
20
+
21
+ ## Validation Metricsg
22
+ loss: 1.2938337326049805
23
+
24
+ f1_macro: 0.5370877619125112
25
+
26
+ f1_micro: 0.58
27
+
28
+ f1_weighted: 0.546102834771093
29
+
30
+ precision_macro: 0.7771464867856132
31
+
32
+ precision_micro: 0.58
33
+
34
+ precision_weighted: 0.7514628775937778
35
+
36
+ recall_macro: 0.5474863387978142
37
+
38
+ recall_micro: 0.58
39
+
40
+ recall_weighted: 0.58
41
+
42
+ accuracy: 0.58
checkpoint-414/config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/resnet-50",
3
+ "_num_labels": 5,
4
+ "architectures": [
5
+ "ResNetForImageClassification"
6
+ ],
7
+ "depths": [
8
+ 3,
9
+ 4,
10
+ 6,
11
+ 3
12
+ ],
13
+ "downsample_in_bottleneck": false,
14
+ "downsample_in_first_stage": false,
15
+ "embedding_size": 64,
16
+ "hidden_act": "relu",
17
+ "hidden_sizes": [
18
+ 256,
19
+ 512,
20
+ 1024,
21
+ 2048
22
+ ],
23
+ "id2label": {
24
+ "0": "daisy",
25
+ "1": "dandelion",
26
+ "2": "rose",
27
+ "3": "sunflower",
28
+ "4": "tulip"
29
+ },
30
+ "label2id": {
31
+ "daisy": 0,
32
+ "dandelion": 1,
33
+ "rose": 2,
34
+ "sunflower": 3,
35
+ "tulip": 4
36
+ },
37
+ "layer_type": "bottleneck",
38
+ "model_type": "resnet",
39
+ "num_channels": 3,
40
+ "out_features": [
41
+ "stage4"
42
+ ],
43
+ "out_indices": [
44
+ 4
45
+ ],
46
+ "problem_type": "single_label_classification",
47
+ "stage_names": [
48
+ "stem",
49
+ "stage1",
50
+ "stage2",
51
+ "stage3",
52
+ "stage4"
53
+ ],
54
+ "torch_dtype": "float32",
55
+ "transformers_version": "4.36.1"
56
+ }
checkpoint-414/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9baf271adfe8d29ba2b769f81a84c86db41933d75e251b78823b262ae82f5d5
3
+ size 94327540
checkpoint-414/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4ee906dd452e4d5e6f0238e27ed6192b2fdfff097b2593aae1c22fd3c0cb31f
3
+ size 188281658
checkpoint-414/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0fb06f0b056c76ff60dfc0cffaa2d8a383601a8db0975b1190633a4417b7c22d
3
+ size 14512
checkpoint-414/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d75e807689f16db144658dd6badf5ef969fd494f68cbe78228d32911878d228
3
+ size 14512
checkpoint-414/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ba837861a61d574f101651884ef9685f2f78c0eec6c57d4e963a2642c4e3b94
3
+ size 1064
checkpoint-414/trainer_state.json ADDED
@@ -0,0 +1,261 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.29217529296875,
3
+ "best_model_checkpoint": "output/owi6-m9m1-h027-0/checkpoint-414",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 414,
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.09,
13
+ "learning_rate": 1.5476190476190476e-05,
14
+ "loss": 1.6091,
15
+ "step": 13
16
+ },
17
+ {
18
+ "epoch": 0.19,
19
+ "learning_rate": 3.095238095238095e-05,
20
+ "loss": 1.6068,
21
+ "step": 26
22
+ },
23
+ {
24
+ "epoch": 0.28,
25
+ "learning_rate": 4.642857142857143e-05,
26
+ "loss": 1.6044,
27
+ "step": 39
28
+ },
29
+ {
30
+ "epoch": 0.38,
31
+ "learning_rate": 4.865591397849463e-05,
32
+ "loss": 1.5946,
33
+ "step": 52
34
+ },
35
+ {
36
+ "epoch": 0.47,
37
+ "learning_rate": 4.690860215053764e-05,
38
+ "loss": 1.5918,
39
+ "step": 65
40
+ },
41
+ {
42
+ "epoch": 0.57,
43
+ "learning_rate": 4.516129032258064e-05,
44
+ "loss": 1.5766,
45
+ "step": 78
46
+ },
47
+ {
48
+ "epoch": 0.66,
49
+ "learning_rate": 4.341397849462366e-05,
50
+ "loss": 1.5641,
51
+ "step": 91
52
+ },
53
+ {
54
+ "epoch": 0.75,
55
+ "learning_rate": 4.166666666666667e-05,
56
+ "loss": 1.5567,
57
+ "step": 104
58
+ },
59
+ {
60
+ "epoch": 0.85,
61
+ "learning_rate": 3.991935483870968e-05,
62
+ "loss": 1.5416,
63
+ "step": 117
64
+ },
65
+ {
66
+ "epoch": 0.94,
67
+ "learning_rate": 3.817204301075269e-05,
68
+ "loss": 1.5457,
69
+ "step": 130
70
+ },
71
+ {
72
+ "epoch": 1.0,
73
+ "eval_accuracy": 0.3890909090909091,
74
+ "eval_f1_macro": 0.2871727910969339,
75
+ "eval_f1_micro": 0.3890909090909091,
76
+ "eval_f1_weighted": 0.3073118698887861,
77
+ "eval_loss": 1.5030215978622437,
78
+ "eval_precision_macro": 0.5867425092932165,
79
+ "eval_precision_micro": 0.3890909090909091,
80
+ "eval_precision_weighted": 0.5745601059619471,
81
+ "eval_recall_macro": 0.34872131147540986,
82
+ "eval_recall_micro": 0.3890909090909091,
83
+ "eval_recall_weighted": 0.3890909090909091,
84
+ "eval_runtime": 1.3431,
85
+ "eval_samples_per_second": 409.495,
86
+ "eval_steps_per_second": 13.402,
87
+ "step": 138
88
+ },
89
+ {
90
+ "epoch": 1.04,
91
+ "learning_rate": 3.64247311827957e-05,
92
+ "loss": 1.5157,
93
+ "step": 143
94
+ },
95
+ {
96
+ "epoch": 1.13,
97
+ "learning_rate": 3.467741935483872e-05,
98
+ "loss": 1.4911,
99
+ "step": 156
100
+ },
101
+ {
102
+ "epoch": 1.22,
103
+ "learning_rate": 3.293010752688172e-05,
104
+ "loss": 1.4966,
105
+ "step": 169
106
+ },
107
+ {
108
+ "epoch": 1.32,
109
+ "learning_rate": 3.118279569892473e-05,
110
+ "loss": 1.4792,
111
+ "step": 182
112
+ },
113
+ {
114
+ "epoch": 1.41,
115
+ "learning_rate": 2.9435483870967743e-05,
116
+ "loss": 1.4843,
117
+ "step": 195
118
+ },
119
+ {
120
+ "epoch": 1.51,
121
+ "learning_rate": 2.768817204301075e-05,
122
+ "loss": 1.4431,
123
+ "step": 208
124
+ },
125
+ {
126
+ "epoch": 1.6,
127
+ "learning_rate": 2.5940860215053762e-05,
128
+ "loss": 1.4175,
129
+ "step": 221
130
+ },
131
+ {
132
+ "epoch": 1.7,
133
+ "learning_rate": 2.4327956989247314e-05,
134
+ "loss": 1.4219,
135
+ "step": 234
136
+ },
137
+ {
138
+ "epoch": 1.79,
139
+ "learning_rate": 2.258064516129032e-05,
140
+ "loss": 1.4021,
141
+ "step": 247
142
+ },
143
+ {
144
+ "epoch": 1.88,
145
+ "learning_rate": 2.0833333333333336e-05,
146
+ "loss": 1.3641,
147
+ "step": 260
148
+ },
149
+ {
150
+ "epoch": 1.98,
151
+ "learning_rate": 1.9086021505376344e-05,
152
+ "loss": 1.4188,
153
+ "step": 273
154
+ },
155
+ {
156
+ "epoch": 2.0,
157
+ "eval_accuracy": 0.4909090909090909,
158
+ "eval_f1_macro": 0.41370213457202976,
159
+ "eval_f1_micro": 0.4909090909090909,
160
+ "eval_f1_weighted": 0.4294625784062733,
161
+ "eval_loss": 1.3412450551986694,
162
+ "eval_precision_macro": 0.7931712110046671,
163
+ "eval_precision_micro": 0.4909090909090909,
164
+ "eval_precision_weighted": 0.7625187021281347,
165
+ "eval_recall_macro": 0.45226759397251204,
166
+ "eval_recall_micro": 0.4909090909090909,
167
+ "eval_recall_weighted": 0.4909090909090909,
168
+ "eval_runtime": 1.2753,
169
+ "eval_samples_per_second": 431.276,
170
+ "eval_steps_per_second": 14.114,
171
+ "step": 276
172
+ },
173
+ {
174
+ "epoch": 2.07,
175
+ "learning_rate": 1.7473118279569895e-05,
176
+ "loss": 1.36,
177
+ "step": 286
178
+ },
179
+ {
180
+ "epoch": 2.17,
181
+ "learning_rate": 1.5725806451612903e-05,
182
+ "loss": 1.3683,
183
+ "step": 299
184
+ },
185
+ {
186
+ "epoch": 2.26,
187
+ "learning_rate": 1.3978494623655914e-05,
188
+ "loss": 1.3277,
189
+ "step": 312
190
+ },
191
+ {
192
+ "epoch": 2.36,
193
+ "learning_rate": 1.2231182795698925e-05,
194
+ "loss": 1.3308,
195
+ "step": 325
196
+ },
197
+ {
198
+ "epoch": 2.45,
199
+ "learning_rate": 1.0483870967741936e-05,
200
+ "loss": 1.3453,
201
+ "step": 338
202
+ },
203
+ {
204
+ "epoch": 2.54,
205
+ "learning_rate": 8.736559139784948e-06,
206
+ "loss": 1.3551,
207
+ "step": 351
208
+ },
209
+ {
210
+ "epoch": 2.64,
211
+ "learning_rate": 7.1236559139784956e-06,
212
+ "loss": 1.3131,
213
+ "step": 364
214
+ },
215
+ {
216
+ "epoch": 2.73,
217
+ "learning_rate": 5.376344086021506e-06,
218
+ "loss": 1.3615,
219
+ "step": 377
220
+ },
221
+ {
222
+ "epoch": 2.83,
223
+ "learning_rate": 3.6290322580645166e-06,
224
+ "loss": 1.3472,
225
+ "step": 390
226
+ },
227
+ {
228
+ "epoch": 2.92,
229
+ "learning_rate": 1.881720430107527e-06,
230
+ "loss": 1.3738,
231
+ "step": 403
232
+ },
233
+ {
234
+ "epoch": 3.0,
235
+ "eval_accuracy": 0.58,
236
+ "eval_f1_macro": 0.5376292484253957,
237
+ "eval_f1_micro": 0.58,
238
+ "eval_f1_weighted": 0.5466008675953137,
239
+ "eval_loss": 1.29217529296875,
240
+ "eval_precision_macro": 0.7771323529411764,
241
+ "eval_precision_micro": 0.58,
242
+ "eval_precision_weighted": 0.7513901515151514,
243
+ "eval_recall_macro": 0.5474661367776121,
244
+ "eval_recall_micro": 0.58,
245
+ "eval_recall_weighted": 0.58,
246
+ "eval_runtime": 1.2722,
247
+ "eval_samples_per_second": 432.333,
248
+ "eval_steps_per_second": 14.149,
249
+ "step": 414
250
+ }
251
+ ],
252
+ "logging_steps": 13,
253
+ "max_steps": 414,
254
+ "num_input_tokens_seen": 0,
255
+ "num_train_epochs": 3,
256
+ "save_steps": 500,
257
+ "total_flos": 1.4070008986048922e+17,
258
+ "train_batch_size": 8,
259
+ "trial_name": null,
260
+ "trial_params": null
261
+ }
checkpoint-414/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:083e3413a0834c4562dffa4fa4d3c2071ea11c0165e9f50255039fadc53e9e31
3
+ size 4664
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/resnet-50",
3
+ "_num_labels": 5,
4
+ "architectures": [
5
+ "ResNetForImageClassification"
6
+ ],
7
+ "depths": [
8
+ 3,
9
+ 4,
10
+ 6,
11
+ 3
12
+ ],
13
+ "downsample_in_bottleneck": false,
14
+ "downsample_in_first_stage": false,
15
+ "embedding_size": 64,
16
+ "hidden_act": "relu",
17
+ "hidden_sizes": [
18
+ 256,
19
+ 512,
20
+ 1024,
21
+ 2048
22
+ ],
23
+ "id2label": {
24
+ "0": "daisy",
25
+ "1": "dandelion",
26
+ "2": "rose",
27
+ "3": "sunflower",
28
+ "4": "tulip"
29
+ },
30
+ "label2id": {
31
+ "daisy": 0,
32
+ "dandelion": 1,
33
+ "rose": 2,
34
+ "sunflower": 3,
35
+ "tulip": 4
36
+ },
37
+ "layer_type": "bottleneck",
38
+ "model_type": "resnet",
39
+ "num_channels": 3,
40
+ "out_features": [
41
+ "stage4"
42
+ ],
43
+ "out_indices": [
44
+ 4
45
+ ],
46
+ "problem_type": "single_label_classification",
47
+ "stage_names": [
48
+ "stem",
49
+ "stage1",
50
+ "stage2",
51
+ "stage3",
52
+ "stage4"
53
+ ],
54
+ "torch_dtype": "float32",
55
+ "transformers_version": "4.36.1"
56
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9baf271adfe8d29ba2b769f81a84c86db41933d75e251b78823b262ae82f5d5
3
+ size 94327540
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_pct": 0.875,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.485,
8
+ 0.456,
9
+ 0.406
10
+ ],
11
+ "image_processor_type": "ConvNextImageProcessor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 3,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "shortest_edge": 224
21
+ }
22
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:083e3413a0834c4562dffa4fa4d3c2071ea11c0165e9f50255039fadc53e9e31
3
+ size 4664
training_params.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "autotrain-data-owi6-m9m1-h027",
3
+ "model": "microsoft/resnet-50",
4
+ "lr": 5e-05,
5
+ "epochs": 3,
6
+ "batch_size": 8,
7
+ "warmup_ratio": 0.1,
8
+ "gradient_accumulation": 1,
9
+ "optimizer": "adamw_torch",
10
+ "scheduler": "linear",
11
+ "weight_decay": 0.0,
12
+ "max_grad_norm": 1.0,
13
+ "seed": 42,
14
+ "train_split": "train",
15
+ "valid_split": "validation",
16
+ "logging_steps": -1,
17
+ "project_name": "output/owi6-m9m1-h027-0",
18
+ "auto_find_batch_size": false,
19
+ "mixed_precision": "fp16",
20
+ "save_total_limit": 1,
21
+ "save_strategy": "epoch",
22
+ "push_to_hub": true,
23
+ "repo_id": "abhishek/owi6-m9m1-h027-0",
24
+ "evaluation_strategy": "epoch",
25
+ "image_column": "autotrain_image",
26
+ "target_column": "autotrain_label",
27
+ "log": "none"
28
+ }