dima806 commited on
Commit
862c681
1 Parent(s): 2c234cb

Upload folder using huggingface_hub

Browse files
checkpoint-340/config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "Friesian",
13
+ "1": "Arabian",
14
+ "2": "Percheron",
15
+ "3": "Orlov Trotter",
16
+ "4": "Akhal-Teke",
17
+ "5": "Vladimir Heavy Draft",
18
+ "6": "Appaloosa"
19
+ },
20
+ "image_size": 224,
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "Akhal-Teke": 4,
25
+ "Appaloosa": 6,
26
+ "Arabian": 1,
27
+ "Friesian": 0,
28
+ "Orlov Trotter": 3,
29
+ "Percheron": 2,
30
+ "Vladimir Heavy Draft": 5
31
+ },
32
+ "layer_norm_eps": 1e-12,
33
+ "model_type": "vit",
34
+ "num_attention_heads": 12,
35
+ "num_channels": 3,
36
+ "num_hidden_layers": 12,
37
+ "patch_size": 16,
38
+ "problem_type": "single_label_classification",
39
+ "qkv_bias": true,
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.33.2"
42
+ }
checkpoint-340/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:029defeeafa1373e0ea03fe8b3083ca3ddb69dfccc5cf8f93dfdb90ab357d8f8
3
+ size 686599173
checkpoint-340/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
+ }
checkpoint-340/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8caa4af6058e0bff5357bb61731923e2292d1d6998fda6014a2e4541c8333673
3
+ size 343284077
checkpoint-340/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73e9d4b8319b976621c5403a43663eabdf3ac3e894d6257db7ec79e940ee7649
3
+ size 14575
checkpoint-340/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5fa9b8b170b6f48b6c6abad5b82f159743cd058892ae8881e3b8a36e0317ec53
3
+ size 627
checkpoint-340/trainer_state.json ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.0166136026382446,
3
+ "best_model_checkpoint": "horse_breeds_image_detection/checkpoint-340",
4
+ "epoch": 20.0,
5
+ "eval_steps": 500,
6
+ "global_step": 340,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "eval_accuracy": 0.26865671641791045,
14
+ "eval_loss": 1.9146108627319336,
15
+ "eval_runtime": 1.6995,
16
+ "eval_samples_per_second": 78.849,
17
+ "eval_steps_per_second": 10.003,
18
+ "step": 17
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.4925373134328358,
23
+ "eval_loss": 1.8699299097061157,
24
+ "eval_runtime": 1.7563,
25
+ "eval_samples_per_second": 76.295,
26
+ "eval_steps_per_second": 9.679,
27
+ "step": 34
28
+ },
29
+ {
30
+ "epoch": 3.0,
31
+ "eval_accuracy": 0.6343283582089553,
32
+ "eval_loss": 1.7836952209472656,
33
+ "eval_runtime": 1.9518,
34
+ "eval_samples_per_second": 68.655,
35
+ "eval_steps_per_second": 8.71,
36
+ "step": 51
37
+ },
38
+ {
39
+ "epoch": 4.0,
40
+ "eval_accuracy": 0.7313432835820896,
41
+ "eval_loss": 1.663849115371704,
42
+ "eval_runtime": 1.7504,
43
+ "eval_samples_per_second": 76.555,
44
+ "eval_steps_per_second": 9.712,
45
+ "step": 68
46
+ },
47
+ {
48
+ "epoch": 5.0,
49
+ "eval_accuracy": 0.7686567164179104,
50
+ "eval_loss": 1.571289300918579,
51
+ "eval_runtime": 1.8366,
52
+ "eval_samples_per_second": 72.963,
53
+ "eval_steps_per_second": 9.256,
54
+ "step": 85
55
+ },
56
+ {
57
+ "epoch": 6.0,
58
+ "eval_accuracy": 0.7910447761194029,
59
+ "eval_loss": 1.4827373027801514,
60
+ "eval_runtime": 1.7307,
61
+ "eval_samples_per_second": 77.424,
62
+ "eval_steps_per_second": 9.822,
63
+ "step": 102
64
+ },
65
+ {
66
+ "epoch": 7.0,
67
+ "eval_accuracy": 0.7910447761194029,
68
+ "eval_loss": 1.4021952152252197,
69
+ "eval_runtime": 1.729,
70
+ "eval_samples_per_second": 77.501,
71
+ "eval_steps_per_second": 9.832,
72
+ "step": 119
73
+ },
74
+ {
75
+ "epoch": 8.0,
76
+ "eval_accuracy": 0.7985074626865671,
77
+ "eval_loss": 1.335004448890686,
78
+ "eval_runtime": 1.7245,
79
+ "eval_samples_per_second": 77.704,
80
+ "eval_steps_per_second": 9.858,
81
+ "step": 136
82
+ },
83
+ {
84
+ "epoch": 9.0,
85
+ "eval_accuracy": 0.7985074626865671,
86
+ "eval_loss": 1.2774193286895752,
87
+ "eval_runtime": 1.9227,
88
+ "eval_samples_per_second": 69.694,
89
+ "eval_steps_per_second": 8.842,
90
+ "step": 153
91
+ },
92
+ {
93
+ "epoch": 10.0,
94
+ "eval_accuracy": 0.7985074626865671,
95
+ "eval_loss": 1.2271106243133545,
96
+ "eval_runtime": 1.7282,
97
+ "eval_samples_per_second": 77.537,
98
+ "eval_steps_per_second": 9.837,
99
+ "step": 170
100
+ },
101
+ {
102
+ "epoch": 11.0,
103
+ "eval_accuracy": 0.7985074626865671,
104
+ "eval_loss": 1.1821225881576538,
105
+ "eval_runtime": 1.7396,
106
+ "eval_samples_per_second": 77.031,
107
+ "eval_steps_per_second": 9.773,
108
+ "step": 187
109
+ },
110
+ {
111
+ "epoch": 12.0,
112
+ "eval_accuracy": 0.8059701492537313,
113
+ "eval_loss": 1.1432914733886719,
114
+ "eval_runtime": 1.7428,
115
+ "eval_samples_per_second": 76.887,
116
+ "eval_steps_per_second": 9.754,
117
+ "step": 204
118
+ },
119
+ {
120
+ "epoch": 13.0,
121
+ "eval_accuracy": 0.7985074626865671,
122
+ "eval_loss": 1.111271619796753,
123
+ "eval_runtime": 1.7217,
124
+ "eval_samples_per_second": 77.83,
125
+ "eval_steps_per_second": 9.874,
126
+ "step": 221
127
+ },
128
+ {
129
+ "epoch": 14.0,
130
+ "eval_accuracy": 0.8059701492537313,
131
+ "eval_loss": 1.085925817489624,
132
+ "eval_runtime": 1.7458,
133
+ "eval_samples_per_second": 76.754,
134
+ "eval_steps_per_second": 9.737,
135
+ "step": 238
136
+ },
137
+ {
138
+ "epoch": 15.0,
139
+ "eval_accuracy": 0.8059701492537313,
140
+ "eval_loss": 1.0612927675247192,
141
+ "eval_runtime": 1.7299,
142
+ "eval_samples_per_second": 77.462,
143
+ "eval_steps_per_second": 9.827,
144
+ "step": 255
145
+ },
146
+ {
147
+ "epoch": 16.0,
148
+ "eval_accuracy": 0.8134328358208955,
149
+ "eval_loss": 1.0465677976608276,
150
+ "eval_runtime": 1.7298,
151
+ "eval_samples_per_second": 77.466,
152
+ "eval_steps_per_second": 9.828,
153
+ "step": 272
154
+ },
155
+ {
156
+ "epoch": 17.0,
157
+ "eval_accuracy": 0.8134328358208955,
158
+ "eval_loss": 1.0326756238937378,
159
+ "eval_runtime": 1.7663,
160
+ "eval_samples_per_second": 75.865,
161
+ "eval_steps_per_second": 9.625,
162
+ "step": 289
163
+ },
164
+ {
165
+ "epoch": 18.0,
166
+ "eval_accuracy": 0.8134328358208955,
167
+ "eval_loss": 1.0240635871887207,
168
+ "eval_runtime": 1.7102,
169
+ "eval_samples_per_second": 78.355,
170
+ "eval_steps_per_second": 9.941,
171
+ "step": 306
172
+ },
173
+ {
174
+ "epoch": 19.0,
175
+ "eval_accuracy": 0.8283582089552238,
176
+ "eval_loss": 1.0188543796539307,
177
+ "eval_runtime": 1.7335,
178
+ "eval_samples_per_second": 77.301,
179
+ "eval_steps_per_second": 9.807,
180
+ "step": 323
181
+ },
182
+ {
183
+ "epoch": 20.0,
184
+ "eval_accuracy": 0.8283582089552238,
185
+ "eval_loss": 1.0166136026382446,
186
+ "eval_runtime": 1.989,
187
+ "eval_samples_per_second": 67.369,
188
+ "eval_steps_per_second": 8.547,
189
+ "step": 340
190
+ }
191
+ ],
192
+ "logging_steps": 500,
193
+ "max_steps": 340,
194
+ "num_train_epochs": 20,
195
+ "save_steps": 500,
196
+ "total_flos": 8.307513558083174e+17,
197
+ "trial_name": null,
198
+ "trial_params": null
199
+ }
checkpoint-340/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae18a4d69a45702a6c1943d71ba7f821e7ec1df8b20c82c1d5ce460a4728e644
3
+ size 4027
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "Friesian",
13
+ "1": "Arabian",
14
+ "2": "Percheron",
15
+ "3": "Orlov Trotter",
16
+ "4": "Akhal-Teke",
17
+ "5": "Vladimir Heavy Draft",
18
+ "6": "Appaloosa"
19
+ },
20
+ "image_size": 224,
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "Akhal-Teke": 4,
25
+ "Appaloosa": 6,
26
+ "Arabian": 1,
27
+ "Friesian": 0,
28
+ "Orlov Trotter": 3,
29
+ "Percheron": 2,
30
+ "Vladimir Heavy Draft": 5
31
+ },
32
+ "layer_norm_eps": 1e-12,
33
+ "model_type": "vit",
34
+ "num_attention_heads": 12,
35
+ "num_channels": 3,
36
+ "num_hidden_layers": 12,
37
+ "patch_size": 16,
38
+ "problem_type": "single_label_classification",
39
+ "qkv_bias": true,
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.33.2"
42
+ }
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
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8caa4af6058e0bff5357bb61731923e2292d1d6998fda6014a2e4541c8333673
3
+ size 343284077
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae18a4d69a45702a6c1943d71ba7f821e7ec1df8b20c82c1d5ce460a4728e644
3
+ size 4027