clewiston commited on
Commit
22747e9
1 Parent(s): 9738a39

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
+ - clewiston/autotrain-data-autotrain-vlxo9-2s7eh
15
+ ---
16
+
17
+ # Model Trained Using AutoTrain
18
+
19
+ - Problem type: Image Classification
20
+
21
+ ## Validation Metricsg
22
+ loss: 1.347914457321167
23
+
24
+ f1_macro: 0.196969696969697
25
+
26
+ f1_micro: 0.65
27
+
28
+ f1_weighted: 0.5121212121212122
29
+
30
+ precision_macro: 0.1625
31
+
32
+ precision_micro: 0.65
33
+
34
+ precision_weighted: 0.42250000000000004
35
+
36
+ recall_macro: 0.25
37
+
38
+ recall_micro: 0.65
39
+
40
+ recall_weighted: 0.65
41
+
42
+ accuracy: 0.65
checkpoint-30/config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/resnet-50",
3
+ "_num_labels": 4,
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": "multiple",
25
+ "1": "none",
26
+ "2": "partial",
27
+ "3": "whole"
28
+ },
29
+ "label2id": {
30
+ "multiple": 0,
31
+ "none": 1,
32
+ "partial": 2,
33
+ "whole": 3
34
+ },
35
+ "layer_type": "bottleneck",
36
+ "model_type": "resnet",
37
+ "num_channels": 3,
38
+ "out_features": [
39
+ "stage4"
40
+ ],
41
+ "out_indices": [
42
+ 4
43
+ ],
44
+ "problem_type": "single_label_classification",
45
+ "stage_names": [
46
+ "stem",
47
+ "stage1",
48
+ "stage2",
49
+ "stage3",
50
+ "stage4"
51
+ ],
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.36.1"
54
+ }
checkpoint-30/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0782f0cbe6e227b4167d83a88b5dded23fe1834267f49021c2075d21f8df24fe
3
+ size 94319344
checkpoint-30/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ce6776c5e85283b1789db0abbfa061c8d73c72d8cf92a960eb6f60f05efa359
3
+ size 188260794
checkpoint-30/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efa8eca04f9e6b3e2c0d6a54789ac40e6c3a0e8c939a4ea601b761f0714cc6d9
3
+ size 13990
checkpoint-30/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1acf7518eaa83a30405413555139e93a2eb8b9085597afc9a51f69cd1ccf771
3
+ size 1064
checkpoint-30/trainer_state.json ADDED
@@ -0,0 +1,255 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.347914457321167,
3
+ "best_model_checkpoint": "/tmp/model/checkpoint-30",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 30,
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.1,
13
+ "learning_rate": 1.6666666666666667e-05,
14
+ "loss": 1.3863,
15
+ "step": 1
16
+ },
17
+ {
18
+ "epoch": 0.2,
19
+ "learning_rate": 3.3333333333333335e-05,
20
+ "loss": 1.3863,
21
+ "step": 2
22
+ },
23
+ {
24
+ "epoch": 0.3,
25
+ "learning_rate": 5e-05,
26
+ "loss": 1.3853,
27
+ "step": 3
28
+ },
29
+ {
30
+ "epoch": 0.4,
31
+ "learning_rate": 4.814814814814815e-05,
32
+ "loss": 1.3822,
33
+ "step": 4
34
+ },
35
+ {
36
+ "epoch": 0.5,
37
+ "learning_rate": 4.62962962962963e-05,
38
+ "loss": 1.3799,
39
+ "step": 5
40
+ },
41
+ {
42
+ "epoch": 0.6,
43
+ "learning_rate": 4.4444444444444447e-05,
44
+ "loss": 1.3753,
45
+ "step": 6
46
+ },
47
+ {
48
+ "epoch": 0.7,
49
+ "learning_rate": 4.259259259259259e-05,
50
+ "loss": 1.3704,
51
+ "step": 7
52
+ },
53
+ {
54
+ "epoch": 0.8,
55
+ "learning_rate": 4.074074074074074e-05,
56
+ "loss": 1.375,
57
+ "step": 8
58
+ },
59
+ {
60
+ "epoch": 0.9,
61
+ "learning_rate": 3.888888888888889e-05,
62
+ "loss": 1.3574,
63
+ "step": 9
64
+ },
65
+ {
66
+ "epoch": 1.0,
67
+ "learning_rate": 3.7037037037037037e-05,
68
+ "loss": 1.3805,
69
+ "step": 10
70
+ },
71
+ {
72
+ "epoch": 1.0,
73
+ "eval_accuracy": 0.65,
74
+ "eval_f1_macro": 0.196969696969697,
75
+ "eval_f1_micro": 0.65,
76
+ "eval_f1_weighted": 0.5121212121212122,
77
+ "eval_loss": 1.3667380809783936,
78
+ "eval_precision_macro": 0.1625,
79
+ "eval_precision_micro": 0.65,
80
+ "eval_precision_weighted": 0.42250000000000004,
81
+ "eval_recall_macro": 0.25,
82
+ "eval_recall_micro": 0.65,
83
+ "eval_recall_weighted": 0.65,
84
+ "eval_runtime": 2.6269,
85
+ "eval_samples_per_second": 7.613,
86
+ "eval_steps_per_second": 0.761,
87
+ "step": 10
88
+ },
89
+ {
90
+ "epoch": 1.1,
91
+ "learning_rate": 3.518518518518519e-05,
92
+ "loss": 1.3646,
93
+ "step": 11
94
+ },
95
+ {
96
+ "epoch": 1.2,
97
+ "learning_rate": 3.3333333333333335e-05,
98
+ "loss": 1.351,
99
+ "step": 12
100
+ },
101
+ {
102
+ "epoch": 1.3,
103
+ "learning_rate": 3.148148148148148e-05,
104
+ "loss": 1.3624,
105
+ "step": 13
106
+ },
107
+ {
108
+ "epoch": 1.4,
109
+ "learning_rate": 2.962962962962963e-05,
110
+ "loss": 1.3458,
111
+ "step": 14
112
+ },
113
+ {
114
+ "epoch": 1.5,
115
+ "learning_rate": 2.777777777777778e-05,
116
+ "loss": 1.3362,
117
+ "step": 15
118
+ },
119
+ {
120
+ "epoch": 1.6,
121
+ "learning_rate": 2.5925925925925925e-05,
122
+ "loss": 1.3464,
123
+ "step": 16
124
+ },
125
+ {
126
+ "epoch": 1.7,
127
+ "learning_rate": 2.4074074074074074e-05,
128
+ "loss": 1.3529,
129
+ "step": 17
130
+ },
131
+ {
132
+ "epoch": 1.8,
133
+ "learning_rate": 2.2222222222222223e-05,
134
+ "loss": 1.3428,
135
+ "step": 18
136
+ },
137
+ {
138
+ "epoch": 1.9,
139
+ "learning_rate": 2.037037037037037e-05,
140
+ "loss": 1.3329,
141
+ "step": 19
142
+ },
143
+ {
144
+ "epoch": 2.0,
145
+ "learning_rate": 1.8518518518518518e-05,
146
+ "loss": 1.3722,
147
+ "step": 20
148
+ },
149
+ {
150
+ "epoch": 2.0,
151
+ "eval_accuracy": 0.65,
152
+ "eval_f1_macro": 0.196969696969697,
153
+ "eval_f1_micro": 0.65,
154
+ "eval_f1_weighted": 0.5121212121212122,
155
+ "eval_loss": 1.356222152709961,
156
+ "eval_precision_macro": 0.1625,
157
+ "eval_precision_micro": 0.65,
158
+ "eval_precision_weighted": 0.42250000000000004,
159
+ "eval_recall_macro": 0.25,
160
+ "eval_recall_micro": 0.65,
161
+ "eval_recall_weighted": 0.65,
162
+ "eval_runtime": 2.8668,
163
+ "eval_samples_per_second": 6.976,
164
+ "eval_steps_per_second": 0.698,
165
+ "step": 20
166
+ },
167
+ {
168
+ "epoch": 2.1,
169
+ "learning_rate": 1.6666666666666667e-05,
170
+ "loss": 1.347,
171
+ "step": 21
172
+ },
173
+ {
174
+ "epoch": 2.2,
175
+ "learning_rate": 1.4814814814814815e-05,
176
+ "loss": 1.3339,
177
+ "step": 22
178
+ },
179
+ {
180
+ "epoch": 2.3,
181
+ "learning_rate": 1.2962962962962962e-05,
182
+ "loss": 1.3488,
183
+ "step": 23
184
+ },
185
+ {
186
+ "epoch": 2.4,
187
+ "learning_rate": 1.1111111111111112e-05,
188
+ "loss": 1.3389,
189
+ "step": 24
190
+ },
191
+ {
192
+ "epoch": 2.5,
193
+ "learning_rate": 9.259259259259259e-06,
194
+ "loss": 1.3107,
195
+ "step": 25
196
+ },
197
+ {
198
+ "epoch": 2.6,
199
+ "learning_rate": 7.4074074074074075e-06,
200
+ "loss": 1.33,
201
+ "step": 26
202
+ },
203
+ {
204
+ "epoch": 2.7,
205
+ "learning_rate": 5.555555555555556e-06,
206
+ "loss": 1.3569,
207
+ "step": 27
208
+ },
209
+ {
210
+ "epoch": 2.8,
211
+ "learning_rate": 3.7037037037037037e-06,
212
+ "loss": 1.3224,
213
+ "step": 28
214
+ },
215
+ {
216
+ "epoch": 2.9,
217
+ "learning_rate": 1.8518518518518519e-06,
218
+ "loss": 1.3139,
219
+ "step": 29
220
+ },
221
+ {
222
+ "epoch": 3.0,
223
+ "learning_rate": 0.0,
224
+ "loss": 1.3737,
225
+ "step": 30
226
+ },
227
+ {
228
+ "epoch": 3.0,
229
+ "eval_accuracy": 0.65,
230
+ "eval_f1_macro": 0.196969696969697,
231
+ "eval_f1_micro": 0.65,
232
+ "eval_f1_weighted": 0.5121212121212122,
233
+ "eval_loss": 1.347914457321167,
234
+ "eval_precision_macro": 0.1625,
235
+ "eval_precision_micro": 0.65,
236
+ "eval_precision_weighted": 0.42250000000000004,
237
+ "eval_recall_macro": 0.25,
238
+ "eval_recall_micro": 0.65,
239
+ "eval_recall_weighted": 0.65,
240
+ "eval_runtime": 2.8418,
241
+ "eval_samples_per_second": 7.038,
242
+ "eval_steps_per_second": 0.704,
243
+ "step": 30
244
+ }
245
+ ],
246
+ "logging_steps": 1,
247
+ "max_steps": 30,
248
+ "num_input_tokens_seen": 0,
249
+ "num_train_epochs": 3,
250
+ "save_steps": 500,
251
+ "total_flos": 4969950478811136.0,
252
+ "train_batch_size": 8,
253
+ "trial_name": null,
254
+ "trial_params": null
255
+ }
checkpoint-30/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc3e80482da204f552587c14f72a0b3b12309629f886a12183900b9c82bd5e1c
3
+ size 4728
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/resnet-50",
3
+ "_num_labels": 4,
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": "multiple",
25
+ "1": "none",
26
+ "2": "partial",
27
+ "3": "whole"
28
+ },
29
+ "label2id": {
30
+ "multiple": 0,
31
+ "none": 1,
32
+ "partial": 2,
33
+ "whole": 3
34
+ },
35
+ "layer_type": "bottleneck",
36
+ "model_type": "resnet",
37
+ "num_channels": 3,
38
+ "out_features": [
39
+ "stage4"
40
+ ],
41
+ "out_indices": [
42
+ 4
43
+ ],
44
+ "problem_type": "single_label_classification",
45
+ "stage_names": [
46
+ "stem",
47
+ "stage1",
48
+ "stage2",
49
+ "stage3",
50
+ "stage4"
51
+ ],
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.36.1"
54
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0782f0cbe6e227b4167d83a88b5dded23fe1834267f49021c2075d21f8df24fe
3
+ size 94319344
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:dc3e80482da204f552587c14f72a0b3b12309629f886a12183900b9c82bd5e1c
3
+ size 4728
training_params.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "clewiston/autotrain-data-autotrain-vlxo9-2s7eh",
3
+ "model": "microsoft/resnet-50",
4
+ "username": "clewiston",
5
+ "lr": 5e-05,
6
+ "epochs": 3,
7
+ "batch_size": 8,
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": "/tmp/model",
19
+ "auto_find_batch_size": false,
20
+ "mixed_precision": null,
21
+ "save_total_limit": 1,
22
+ "save_strategy": "epoch",
23
+ "push_to_hub": true,
24
+ "repo_id": "clewiston/autotrain-vlxo9-2s7eh",
25
+ "evaluation_strategy": "epoch",
26
+ "image_column": "autotrain_image",
27
+ "target_column": "autotrain_label",
28
+ "log": "none"
29
+ }