coan commited on
Commit
3252aa1
1 Parent(s): 689aecb

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - image-classification
6
+ base_model: google/vit-large-patch16-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.2903565764427185
22
+
23
+ f1_macro: 0.8999999999999999
24
+
25
+ f1_micro: 0.8888888888888888
26
+
27
+ f1_weighted: 0.8888888888888888
28
+
29
+ precision_macro: 0.9166666666666666
30
+
31
+ precision_micro: 0.8888888888888888
32
+
33
+ precision_weighted: 0.9259259259259258
34
+
35
+ recall_macro: 0.9166666666666666
36
+
37
+ recall_micro: 0.8888888888888888
38
+
39
+ recall_weighted: 0.8888888888888888
40
+
41
+ accuracy: 0.8888888888888888
checkpoint-36/config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-large-patch16-224",
3
+ "_num_labels": 4,
4
+ "architectures": [
5
+ "ViTForImageClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.0,
8
+ "encoder_stride": 16,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.0,
11
+ "hidden_size": 1024,
12
+ "id2label": {
13
+ "0": "collage_album_style_art",
14
+ "1": "illustration_scribble",
15
+ "2": "maximalism_style_art",
16
+ "3": "pixel_art"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 4096,
21
+ "label2id": {
22
+ "collage_album_style_art": 0,
23
+ "illustration_scribble": 1,
24
+ "maximalism_style_art": 2,
25
+ "pixel_art": 3
26
+ },
27
+ "layer_norm_eps": 1e-12,
28
+ "model_type": "vit",
29
+ "num_attention_heads": 16,
30
+ "num_channels": 3,
31
+ "num_hidden_layers": 24,
32
+ "patch_size": 16,
33
+ "problem_type": "single_label_classification",
34
+ "qkv_bias": true,
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.45.0"
37
+ }
checkpoint-36/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a9910f683e05b92fa183e28a6c4ca8c289679a8137262cd0d0c5a224405084e
3
+ size 1213269472
checkpoint-36/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e154acb6d360e7cc4495f159bd8d728237ab646b0afdbf3fe40e6e59b577c4c3
3
+ size 2426762922
checkpoint-36/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0277a0bc23f19eb23264adcb6fb7b11bcc7871da0568a9455ee85a551ad129e1
3
+ size 13990
checkpoint-36/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c39b2c4177cd3643927567ca10ccf38692d0987fb5da9d5278fd3d17301226c4
3
+ size 1064
checkpoint-36/trainer_state.json ADDED
@@ -0,0 +1,330 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.2903565764427185,
3
+ "best_model_checkpoint": "designTrends/checkpoint-36",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 36,
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.05555555555555555,
13
+ "grad_norm": 31.24921989440918,
14
+ "learning_rate": 8.333333333333334e-06,
15
+ "loss": 1.6824,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.1111111111111111,
20
+ "grad_norm": 20.90537452697754,
21
+ "learning_rate": 1.6666666666666667e-05,
22
+ "loss": 1.1182,
23
+ "step": 2
24
+ },
25
+ {
26
+ "epoch": 0.16666666666666666,
27
+ "grad_norm": 37.51194763183594,
28
+ "learning_rate": 2.5e-05,
29
+ "loss": 2.1944,
30
+ "step": 3
31
+ },
32
+ {
33
+ "epoch": 0.2222222222222222,
34
+ "grad_norm": 30.805044174194336,
35
+ "learning_rate": 3.3333333333333335e-05,
36
+ "loss": 1.8025,
37
+ "step": 4
38
+ },
39
+ {
40
+ "epoch": 0.2777777777777778,
41
+ "grad_norm": 15.017728805541992,
42
+ "learning_rate": 4.166666666666667e-05,
43
+ "loss": 0.4371,
44
+ "step": 5
45
+ },
46
+ {
47
+ "epoch": 0.3333333333333333,
48
+ "grad_norm": 37.36845016479492,
49
+ "learning_rate": 5e-05,
50
+ "loss": 2.3815,
51
+ "step": 6
52
+ },
53
+ {
54
+ "epoch": 0.3888888888888889,
55
+ "grad_norm": 36.02885818481445,
56
+ "learning_rate": 4.8958333333333335e-05,
57
+ "loss": 1.3463,
58
+ "step": 7
59
+ },
60
+ {
61
+ "epoch": 0.4444444444444444,
62
+ "grad_norm": 34.15700149536133,
63
+ "learning_rate": 4.791666666666667e-05,
64
+ "loss": 2.0606,
65
+ "step": 8
66
+ },
67
+ {
68
+ "epoch": 0.5,
69
+ "grad_norm": 30.92742347717285,
70
+ "learning_rate": 4.6875e-05,
71
+ "loss": 1.2667,
72
+ "step": 9
73
+ },
74
+ {
75
+ "epoch": 0.5555555555555556,
76
+ "grad_norm": 17.669174194335938,
77
+ "learning_rate": 4.5833333333333334e-05,
78
+ "loss": 0.7387,
79
+ "step": 10
80
+ },
81
+ {
82
+ "epoch": 0.6111111111111112,
83
+ "grad_norm": 21.606388092041016,
84
+ "learning_rate": 4.4791666666666673e-05,
85
+ "loss": 1.0753,
86
+ "step": 11
87
+ },
88
+ {
89
+ "epoch": 0.6666666666666666,
90
+ "grad_norm": 11.96320629119873,
91
+ "learning_rate": 4.375e-05,
92
+ "loss": 0.4321,
93
+ "step": 12
94
+ },
95
+ {
96
+ "epoch": 0.7222222222222222,
97
+ "grad_norm": 28.005523681640625,
98
+ "learning_rate": 4.270833333333333e-05,
99
+ "loss": 1.7522,
100
+ "step": 13
101
+ },
102
+ {
103
+ "epoch": 0.7777777777777778,
104
+ "grad_norm": 13.161625862121582,
105
+ "learning_rate": 4.166666666666667e-05,
106
+ "loss": 0.4633,
107
+ "step": 14
108
+ },
109
+ {
110
+ "epoch": 0.8333333333333334,
111
+ "grad_norm": 30.44942283630371,
112
+ "learning_rate": 4.0625000000000005e-05,
113
+ "loss": 1.2798,
114
+ "step": 15
115
+ },
116
+ {
117
+ "epoch": 0.8888888888888888,
118
+ "grad_norm": 18.832170486450195,
119
+ "learning_rate": 3.958333333333333e-05,
120
+ "loss": 0.6956,
121
+ "step": 16
122
+ },
123
+ {
124
+ "epoch": 0.9444444444444444,
125
+ "grad_norm": 8.636096000671387,
126
+ "learning_rate": 3.854166666666667e-05,
127
+ "loss": 0.2504,
128
+ "step": 17
129
+ },
130
+ {
131
+ "epoch": 1.0,
132
+ "grad_norm": 4.477694511413574,
133
+ "learning_rate": 3.7500000000000003e-05,
134
+ "loss": 0.0766,
135
+ "step": 18
136
+ },
137
+ {
138
+ "epoch": 1.0,
139
+ "eval_accuracy": 0.7777777777777778,
140
+ "eval_f1_macro": 0.6875,
141
+ "eval_f1_micro": 0.7777777777777778,
142
+ "eval_f1_weighted": 0.6944444444444444,
143
+ "eval_loss": 1.071279525756836,
144
+ "eval_precision_macro": 0.65,
145
+ "eval_precision_micro": 0.7777777777777778,
146
+ "eval_precision_weighted": 0.6444444444444444,
147
+ "eval_recall_macro": 0.75,
148
+ "eval_recall_micro": 0.7777777777777778,
149
+ "eval_recall_weighted": 0.7777777777777778,
150
+ "eval_runtime": 10.4277,
151
+ "eval_samples_per_second": 0.863,
152
+ "eval_steps_per_second": 0.288,
153
+ "step": 18
154
+ },
155
+ {
156
+ "epoch": 1.0555555555555556,
157
+ "grad_norm": 11.063207626342773,
158
+ "learning_rate": 3.6458333333333336e-05,
159
+ "loss": 0.2519,
160
+ "step": 19
161
+ },
162
+ {
163
+ "epoch": 1.1111111111111112,
164
+ "grad_norm": 11.03740406036377,
165
+ "learning_rate": 3.541666666666667e-05,
166
+ "loss": 0.2958,
167
+ "step": 20
168
+ },
169
+ {
170
+ "epoch": 1.1666666666666667,
171
+ "grad_norm": 1.8288331031799316,
172
+ "learning_rate": 3.4375e-05,
173
+ "loss": 0.0406,
174
+ "step": 21
175
+ },
176
+ {
177
+ "epoch": 1.2222222222222223,
178
+ "grad_norm": 31.19927215576172,
179
+ "learning_rate": 3.3333333333333335e-05,
180
+ "loss": 1.0578,
181
+ "step": 22
182
+ },
183
+ {
184
+ "epoch": 1.2777777777777777,
185
+ "grad_norm": 5.91452693939209,
186
+ "learning_rate": 3.229166666666667e-05,
187
+ "loss": 0.1396,
188
+ "step": 23
189
+ },
190
+ {
191
+ "epoch": 1.3333333333333333,
192
+ "grad_norm": 28.180068969726562,
193
+ "learning_rate": 3.125e-05,
194
+ "loss": 0.9014,
195
+ "step": 24
196
+ },
197
+ {
198
+ "epoch": 1.3888888888888888,
199
+ "grad_norm": 6.710000038146973,
200
+ "learning_rate": 3.0208333333333334e-05,
201
+ "loss": 0.1434,
202
+ "step": 25
203
+ },
204
+ {
205
+ "epoch": 1.4444444444444444,
206
+ "grad_norm": 1.4782997369766235,
207
+ "learning_rate": 2.916666666666667e-05,
208
+ "loss": 0.033,
209
+ "step": 26
210
+ },
211
+ {
212
+ "epoch": 1.5,
213
+ "grad_norm": 10.041507720947266,
214
+ "learning_rate": 2.8125000000000003e-05,
215
+ "loss": 0.2318,
216
+ "step": 27
217
+ },
218
+ {
219
+ "epoch": 1.5555555555555556,
220
+ "grad_norm": 15.513708114624023,
221
+ "learning_rate": 2.7083333333333332e-05,
222
+ "loss": 0.4245,
223
+ "step": 28
224
+ },
225
+ {
226
+ "epoch": 1.6111111111111112,
227
+ "grad_norm": 5.358726978302002,
228
+ "learning_rate": 2.604166666666667e-05,
229
+ "loss": 0.1601,
230
+ "step": 29
231
+ },
232
+ {
233
+ "epoch": 1.6666666666666665,
234
+ "grad_norm": 1.7197539806365967,
235
+ "learning_rate": 2.5e-05,
236
+ "loss": 0.042,
237
+ "step": 30
238
+ },
239
+ {
240
+ "epoch": 1.7222222222222223,
241
+ "grad_norm": 0.5361698865890503,
242
+ "learning_rate": 2.3958333333333334e-05,
243
+ "loss": 0.0149,
244
+ "step": 31
245
+ },
246
+ {
247
+ "epoch": 1.7777777777777777,
248
+ "grad_norm": 4.341958522796631,
249
+ "learning_rate": 2.2916666666666667e-05,
250
+ "loss": 0.1039,
251
+ "step": 32
252
+ },
253
+ {
254
+ "epoch": 1.8333333333333335,
255
+ "grad_norm": 20.135475158691406,
256
+ "learning_rate": 2.1875e-05,
257
+ "loss": 0.5532,
258
+ "step": 33
259
+ },
260
+ {
261
+ "epoch": 1.8888888888888888,
262
+ "grad_norm": 0.5918666124343872,
263
+ "learning_rate": 2.0833333333333336e-05,
264
+ "loss": 0.0155,
265
+ "step": 34
266
+ },
267
+ {
268
+ "epoch": 1.9444444444444444,
269
+ "grad_norm": 2.947694778442383,
270
+ "learning_rate": 1.9791666666666665e-05,
271
+ "loss": 0.0862,
272
+ "step": 35
273
+ },
274
+ {
275
+ "epoch": 2.0,
276
+ "grad_norm": 0.9083338379859924,
277
+ "learning_rate": 1.8750000000000002e-05,
278
+ "loss": 0.0167,
279
+ "step": 36
280
+ },
281
+ {
282
+ "epoch": 2.0,
283
+ "eval_accuracy": 0.8888888888888888,
284
+ "eval_f1_macro": 0.8999999999999999,
285
+ "eval_f1_micro": 0.8888888888888888,
286
+ "eval_f1_weighted": 0.8888888888888888,
287
+ "eval_loss": 0.2903565764427185,
288
+ "eval_precision_macro": 0.9166666666666666,
289
+ "eval_precision_micro": 0.8888888888888888,
290
+ "eval_precision_weighted": 0.9259259259259258,
291
+ "eval_recall_macro": 0.9166666666666666,
292
+ "eval_recall_micro": 0.8888888888888888,
293
+ "eval_recall_weighted": 0.8888888888888888,
294
+ "eval_runtime": 9.5629,
295
+ "eval_samples_per_second": 0.941,
296
+ "eval_steps_per_second": 0.314,
297
+ "step": 36
298
+ }
299
+ ],
300
+ "logging_steps": 1,
301
+ "max_steps": 54,
302
+ "num_input_tokens_seen": 0,
303
+ "num_train_epochs": 3,
304
+ "save_steps": 500,
305
+ "stateful_callbacks": {
306
+ "EarlyStoppingCallback": {
307
+ "args": {
308
+ "early_stopping_patience": 5,
309
+ "early_stopping_threshold": 0.01
310
+ },
311
+ "attributes": {
312
+ "early_stopping_patience_counter": 0
313
+ }
314
+ },
315
+ "TrainerControl": {
316
+ "args": {
317
+ "should_epoch_stop": false,
318
+ "should_evaluate": false,
319
+ "should_log": false,
320
+ "should_save": true,
321
+ "should_training_stop": false
322
+ },
323
+ "attributes": {}
324
+ }
325
+ },
326
+ "total_flos": 1.917552219512832e+16,
327
+ "train_batch_size": 2,
328
+ "trial_name": null,
329
+ "trial_params": null
330
+ }
checkpoint-36/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f56fd31f2f5d06f1b64f4b97452f2a3d1998b922cce7a6a2a098dd0a45b18f71
3
+ size 5240
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-large-patch16-224",
3
+ "_num_labels": 4,
4
+ "architectures": [
5
+ "ViTForImageClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.0,
8
+ "encoder_stride": 16,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.0,
11
+ "hidden_size": 1024,
12
+ "id2label": {
13
+ "0": "collage_album_style_art",
14
+ "1": "illustration_scribble",
15
+ "2": "maximalism_style_art",
16
+ "3": "pixel_art"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 4096,
21
+ "label2id": {
22
+ "collage_album_style_art": 0,
23
+ "illustration_scribble": 1,
24
+ "maximalism_style_art": 2,
25
+ "pixel_art": 3
26
+ },
27
+ "layer_norm_eps": 1e-12,
28
+ "model_type": "vit",
29
+ "num_attention_heads": 16,
30
+ "num_channels": 3,
31
+ "num_hidden_layers": 24,
32
+ "patch_size": 16,
33
+ "problem_type": "single_label_classification",
34
+ "qkv_bias": true,
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.45.0"
37
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a9910f683e05b92fa183e28a6c4ca8c289679a8137262cd0d0c5a224405084e
3
+ size 1213269472
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
+ }
runs/Oct13_22-05-20_r-coan-design-2025-96s2irau-1b6c1-m4mof/events.out.tfevents.1728857122.r-coan-design-2025-96s2irau-1b6c1-m4mof.192.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:79d0533cf60052c79c2fc88c90fc411ca782ae894b16344fac3aac18b960cf06
3
- size 5133
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f4cb4728c2e6f9ac42293c6c94d4064c945a4d0fe040f1f4d40234ddaf84956
3
+ size 19113
runs/Oct13_22-05-20_r-coan-design-2025-96s2irau-1b6c1-m4mof/events.out.tfevents.1728857633.r-coan-design-2025-96s2irau-1b6c1-m4mof.192.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3eee6b80e87c20a3e52c5f783ca329ded6450ed4e3d88b88d0eeced9c3b94090
3
+ size 906
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f56fd31f2f5d06f1b64f4b97452f2a3d1998b922cce7a6a2a098dd0a45b18f71
3
+ size 5240
training_params.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "designTrends/autotrain-data",
3
+ "model": "google/vit-large-patch16-224",
4
+ "username": "coan",
5
+ "lr": 5e-05,
6
+ "epochs": 3,
7
+ "batch_size": 2,
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": "designTrends",
19
+ "auto_find_batch_size": false,
20
+ "mixed_precision": "fp16",
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
+ }