yuanhuaisen commited on
Commit
9e2b581
1 Parent(s): c8ae713

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
+ - yuanhuaisen/autotrain-data-autotrain-48ada-ps8zf
15
+ ---
16
+
17
+ # Model Trained Using AutoTrain
18
+
19
+ - Problem type: Image Classification
20
+
21
+ ## Validation Metricsg
22
+ loss: nan
23
+
24
+ f1_macro: 0.11805555555555557
25
+
26
+ f1_micro: 0.21518987341772153
27
+
28
+ f1_weighted: 0.07621308016877638
29
+
30
+ precision_macro: 0.07172995780590717
31
+
32
+ precision_micro: 0.21518987341772153
33
+
34
+ precision_weighted: 0.04630668162153501
35
+
36
+ recall_macro: 0.3333333333333333
37
+
38
+ recall_micro: 0.21518987341772153
39
+
40
+ recall_weighted: 0.21518987341772153
41
+
42
+ accuracy: 0.21518987341772153
checkpoint-40/config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-large-patch16-224",
3
+ "_num_labels": 3,
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": "11covered_with_a_quilt_and_only_the_head_exposed",
14
+ "1": "12covered_with_a_quilt_and_exposed_other_parts_of_the_body",
15
+ "2": "13has_nothing_to_do_with_11_and_12_above"
16
+ },
17
+ "image_size": 224,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 4096,
20
+ "label2id": {
21
+ "11covered_with_a_quilt_and_only_the_head_exposed": 0,
22
+ "12covered_with_a_quilt_and_exposed_other_parts_of_the_body": 1,
23
+ "13has_nothing_to_do_with_11_and_12_above": 2
24
+ },
25
+ "layer_norm_eps": 1e-12,
26
+ "model_type": "vit",
27
+ "num_attention_heads": 16,
28
+ "num_channels": 3,
29
+ "num_hidden_layers": 24,
30
+ "patch_size": 16,
31
+ "problem_type": "single_label_classification",
32
+ "qkv_bias": true,
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.36.1"
35
+ }
checkpoint-40/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24026441f1e997749325dceb6fcbc018ec9b5d330c5bc772be6878e14bed696a
3
+ size 1213265372
checkpoint-40/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88372efab4d791fecc55cb149504d7df11b8ba77c8986cdc4e050b6be95d518b
3
+ size 2152
checkpoint-40/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a4d2738e9ac736d7272bb30ebf4d7fb4e2b5b4249b02f297d7663f913faeb09
3
+ size 14244
checkpoint-40/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:568b4092fe5f2747f46b3b3c6e6e0c8fe23d6f86bafcc38694a95b43c8ac044b
3
+ size 1064
checkpoint-40/trainer_state.json ADDED
@@ -0,0 +1,279 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": NaN,
3
+ "best_model_checkpoint": "/tmp/model/checkpoint-40",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 40,
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.03,
13
+ "learning_rate": 0.0,
14
+ "loss": 0.0,
15
+ "step": 1
16
+ },
17
+ {
18
+ "epoch": 0.05,
19
+ "learning_rate": 0.0,
20
+ "loss": 0.0,
21
+ "step": 2
22
+ },
23
+ {
24
+ "epoch": 0.07,
25
+ "learning_rate": 0.0,
26
+ "loss": 0.0,
27
+ "step": 3
28
+ },
29
+ {
30
+ "epoch": 0.1,
31
+ "learning_rate": 0.0,
32
+ "loss": 0.0,
33
+ "step": 4
34
+ },
35
+ {
36
+ "epoch": 0.12,
37
+ "learning_rate": 0.0,
38
+ "loss": 0.0,
39
+ "step": 5
40
+ },
41
+ {
42
+ "epoch": 0.15,
43
+ "learning_rate": 0.0,
44
+ "loss": 0.0,
45
+ "step": 6
46
+ },
47
+ {
48
+ "epoch": 0.17,
49
+ "learning_rate": 0.0,
50
+ "loss": 0.0,
51
+ "step": 7
52
+ },
53
+ {
54
+ "epoch": 0.2,
55
+ "learning_rate": 0.0,
56
+ "loss": 0.0,
57
+ "step": 8
58
+ },
59
+ {
60
+ "epoch": 0.23,
61
+ "learning_rate": 0.0,
62
+ "loss": 0.0,
63
+ "step": 9
64
+ },
65
+ {
66
+ "epoch": 0.25,
67
+ "learning_rate": 0.0,
68
+ "loss": 0.0,
69
+ "step": 10
70
+ },
71
+ {
72
+ "epoch": 0.28,
73
+ "learning_rate": 0.0,
74
+ "loss": 0.0,
75
+ "step": 11
76
+ },
77
+ {
78
+ "epoch": 0.3,
79
+ "learning_rate": 0.0,
80
+ "loss": 0.0,
81
+ "step": 12
82
+ },
83
+ {
84
+ "epoch": 0.33,
85
+ "learning_rate": 0.0,
86
+ "loss": 0.0,
87
+ "step": 13
88
+ },
89
+ {
90
+ "epoch": 0.35,
91
+ "learning_rate": 0.0,
92
+ "loss": 0.0,
93
+ "step": 14
94
+ },
95
+ {
96
+ "epoch": 0.38,
97
+ "learning_rate": 0.0,
98
+ "loss": 0.0,
99
+ "step": 15
100
+ },
101
+ {
102
+ "epoch": 0.4,
103
+ "learning_rate": 0.0,
104
+ "loss": 0.0,
105
+ "step": 16
106
+ },
107
+ {
108
+ "epoch": 0.42,
109
+ "learning_rate": 0.0,
110
+ "loss": 0.0,
111
+ "step": 17
112
+ },
113
+ {
114
+ "epoch": 0.45,
115
+ "learning_rate": 0.0,
116
+ "loss": 0.0,
117
+ "step": 18
118
+ },
119
+ {
120
+ "epoch": 0.47,
121
+ "learning_rate": 0.0,
122
+ "loss": 0.0,
123
+ "step": 19
124
+ },
125
+ {
126
+ "epoch": 0.5,
127
+ "learning_rate": 0.0,
128
+ "loss": 0.0,
129
+ "step": 20
130
+ },
131
+ {
132
+ "epoch": 0.53,
133
+ "learning_rate": 0.0,
134
+ "loss": 0.0,
135
+ "step": 21
136
+ },
137
+ {
138
+ "epoch": 0.55,
139
+ "learning_rate": 0.0,
140
+ "loss": 0.0,
141
+ "step": 22
142
+ },
143
+ {
144
+ "epoch": 0.57,
145
+ "learning_rate": 0.0,
146
+ "loss": 0.0,
147
+ "step": 23
148
+ },
149
+ {
150
+ "epoch": 0.6,
151
+ "learning_rate": 0.0,
152
+ "loss": 0.0,
153
+ "step": 24
154
+ },
155
+ {
156
+ "epoch": 0.62,
157
+ "learning_rate": 0.0,
158
+ "loss": 0.0,
159
+ "step": 25
160
+ },
161
+ {
162
+ "epoch": 0.65,
163
+ "learning_rate": 0.0,
164
+ "loss": 0.0,
165
+ "step": 26
166
+ },
167
+ {
168
+ "epoch": 0.68,
169
+ "learning_rate": 0.0,
170
+ "loss": 0.0,
171
+ "step": 27
172
+ },
173
+ {
174
+ "epoch": 0.7,
175
+ "learning_rate": 0.0,
176
+ "loss": 0.0,
177
+ "step": 28
178
+ },
179
+ {
180
+ "epoch": 0.72,
181
+ "learning_rate": 0.0,
182
+ "loss": 0.0,
183
+ "step": 29
184
+ },
185
+ {
186
+ "epoch": 0.75,
187
+ "learning_rate": 0.0,
188
+ "loss": 0.0,
189
+ "step": 30
190
+ },
191
+ {
192
+ "epoch": 0.78,
193
+ "learning_rate": 0.0,
194
+ "loss": 0.0,
195
+ "step": 31
196
+ },
197
+ {
198
+ "epoch": 0.8,
199
+ "learning_rate": 0.0,
200
+ "loss": 0.0,
201
+ "step": 32
202
+ },
203
+ {
204
+ "epoch": 0.82,
205
+ "learning_rate": 0.0,
206
+ "loss": 0.0,
207
+ "step": 33
208
+ },
209
+ {
210
+ "epoch": 0.85,
211
+ "learning_rate": 0.0,
212
+ "loss": 0.0,
213
+ "step": 34
214
+ },
215
+ {
216
+ "epoch": 0.88,
217
+ "learning_rate": 0.0,
218
+ "loss": 0.0,
219
+ "step": 35
220
+ },
221
+ {
222
+ "epoch": 0.9,
223
+ "learning_rate": 0.0,
224
+ "loss": 0.0,
225
+ "step": 36
226
+ },
227
+ {
228
+ "epoch": 0.93,
229
+ "learning_rate": 0.0,
230
+ "loss": 0.0,
231
+ "step": 37
232
+ },
233
+ {
234
+ "epoch": 0.95,
235
+ "learning_rate": 0.0,
236
+ "loss": 0.0,
237
+ "step": 38
238
+ },
239
+ {
240
+ "epoch": 0.97,
241
+ "learning_rate": 0.0,
242
+ "loss": 0.0,
243
+ "step": 39
244
+ },
245
+ {
246
+ "epoch": 1.0,
247
+ "learning_rate": 0.0,
248
+ "loss": 0.0,
249
+ "step": 40
250
+ },
251
+ {
252
+ "epoch": 1.0,
253
+ "eval_accuracy": 0.21518987341772153,
254
+ "eval_f1_macro": 0.11805555555555557,
255
+ "eval_f1_micro": 0.21518987341772153,
256
+ "eval_f1_weighted": 0.07621308016877638,
257
+ "eval_loss": NaN,
258
+ "eval_precision_macro": 0.07172995780590717,
259
+ "eval_precision_micro": 0.21518987341772153,
260
+ "eval_precision_weighted": 0.04630668162153501,
261
+ "eval_recall_macro": 0.3333333333333333,
262
+ "eval_recall_micro": 0.21518987341772153,
263
+ "eval_recall_weighted": 0.21518987341772153,
264
+ "eval_runtime": 2.7168,
265
+ "eval_samples_per_second": 29.078,
266
+ "eval_steps_per_second": 1.84,
267
+ "step": 40
268
+ }
269
+ ],
270
+ "logging_steps": 1,
271
+ "max_steps": 120,
272
+ "num_input_tokens_seen": 0,
273
+ "num_train_epochs": 3,
274
+ "save_steps": 500,
275
+ "total_flos": 8.601562316209766e+16,
276
+ "train_batch_size": 8,
277
+ "trial_name": null,
278
+ "trial_params": null
279
+ }
checkpoint-40/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8bf4912760a7ae1d3014608606bb57d7fc1f9b96dc1597ca68cd0c607c276f34
3
+ size 4728
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-large-patch16-224",
3
+ "_num_labels": 3,
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": "11covered_with_a_quilt_and_only_the_head_exposed",
14
+ "1": "12covered_with_a_quilt_and_exposed_other_parts_of_the_body",
15
+ "2": "13has_nothing_to_do_with_11_and_12_above"
16
+ },
17
+ "image_size": 224,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 4096,
20
+ "label2id": {
21
+ "11covered_with_a_quilt_and_only_the_head_exposed": 0,
22
+ "12covered_with_a_quilt_and_exposed_other_parts_of_the_body": 1,
23
+ "13has_nothing_to_do_with_11_and_12_above": 2
24
+ },
25
+ "layer_norm_eps": 1e-12,
26
+ "model_type": "vit",
27
+ "num_attention_heads": 16,
28
+ "num_channels": 3,
29
+ "num_hidden_layers": 24,
30
+ "patch_size": 16,
31
+ "problem_type": "single_label_classification",
32
+ "qkv_bias": true,
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.36.1"
35
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24026441f1e997749325dceb6fcbc018ec9b5d330c5bc772be6878e14bed696a
3
+ size 1213265372
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
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8bf4912760a7ae1d3014608606bb57d7fc1f9b96dc1597ca68cd0c607c276f34
3
+ size 4728
training_params.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "yuanhuaisen/autotrain-data-autotrain-48ada-ps8zf",
3
+ "model": "google/vit-large-patch16-224",
4
+ "username": "yuanhuaisen",
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": "fp16",
21
+ "save_total_limit": 1,
22
+ "save_strategy": "epoch",
23
+ "push_to_hub": true,
24
+ "repo_id": "yuanhuaisen/autotrain-48ada-ps8zf",
25
+ "evaluation_strategy": "epoch",
26
+ "image_column": "autotrain_image",
27
+ "target_column": "autotrain_label",
28
+ "log": "none"
29
+ }