Upload folder using huggingface_hub
Browse files- checkpoint-3000/config.json +50 -0
- checkpoint-3000/model.safetensors +3 -0
- checkpoint-3000/optimizer.pt +3 -0
- checkpoint-3000/preprocessor_config.json +22 -0
- checkpoint-3000/rng_state.pth +3 -0
- checkpoint-3000/scheduler.pt +3 -0
- checkpoint-3000/trainer_state.json +235 -0
- checkpoint-3000/training_args.bin +3 -0
- config.json +50 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- training_args.bin +3 -0
checkpoint-3000/config.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "dew",
|
13 |
+
"1": "fogsmog",
|
14 |
+
"2": "frost",
|
15 |
+
"3": "glaze",
|
16 |
+
"4": "hail",
|
17 |
+
"5": "lightning",
|
18 |
+
"6": "rain",
|
19 |
+
"7": "rainbow",
|
20 |
+
"8": "rime",
|
21 |
+
"9": "sandstorm",
|
22 |
+
"10": "snow"
|
23 |
+
},
|
24 |
+
"image_size": 224,
|
25 |
+
"initializer_range": 0.02,
|
26 |
+
"intermediate_size": 3072,
|
27 |
+
"label2id": {
|
28 |
+
"dew": 0,
|
29 |
+
"fogsmog": 1,
|
30 |
+
"frost": 2,
|
31 |
+
"glaze": 3,
|
32 |
+
"hail": 4,
|
33 |
+
"lightning": 5,
|
34 |
+
"rain": 6,
|
35 |
+
"rainbow": 7,
|
36 |
+
"rime": 8,
|
37 |
+
"sandstorm": 9,
|
38 |
+
"snow": 10
|
39 |
+
},
|
40 |
+
"layer_norm_eps": 1e-12,
|
41 |
+
"model_type": "vit",
|
42 |
+
"num_attention_heads": 12,
|
43 |
+
"num_channels": 3,
|
44 |
+
"num_hidden_layers": 12,
|
45 |
+
"patch_size": 16,
|
46 |
+
"problem_type": "single_label_classification",
|
47 |
+
"qkv_bias": true,
|
48 |
+
"torch_dtype": "float32",
|
49 |
+
"transformers_version": "4.35.0"
|
50 |
+
}
|
checkpoint-3000/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9ae4ba422a3b361a73f171d81af7c15b32d33aaf3f1858dc734c35604643a25b
|
3 |
+
size 343251660
|
checkpoint-3000/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aca6af4bfbc64f0e51f133ba0921e0acada5d53cbd203cacab809a84d955dac0
|
3 |
+
size 686623749
|
checkpoint-3000/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-3000/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b9fc5d4aacf3430af5e831b54ffdd548ada41ab2bae93024dda18416b342b47d
|
3 |
+
size 14575
|
checkpoint-3000/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b8372bc0b578457ef9bba5e5ce89a3c8faaac172be40d311a0cad7e1bfcf4f91
|
3 |
+
size 627
|
checkpoint-3000/trainer_state.json
ADDED
@@ -0,0 +1,235 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.5382775664329529,
|
3 |
+
"best_model_checkpoint": "weather_types_image_detection/checkpoint-3000",
|
4 |
+
"epoch": 20.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 3000,
|
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.5056426332288402,
|
14 |
+
"eval_loss": 2.195056915283203,
|
15 |
+
"eval_runtime": 39.7075,
|
16 |
+
"eval_samples_per_second": 80.337,
|
17 |
+
"eval_steps_per_second": 2.518,
|
18 |
+
"step": 150
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"epoch": 2.0,
|
22 |
+
"eval_accuracy": 0.7865203761755486,
|
23 |
+
"eval_loss": 1.8913682699203491,
|
24 |
+
"eval_runtime": 39.3657,
|
25 |
+
"eval_samples_per_second": 81.035,
|
26 |
+
"eval_steps_per_second": 2.54,
|
27 |
+
"step": 300
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 3.0,
|
31 |
+
"eval_accuracy": 0.8677115987460815,
|
32 |
+
"eval_loss": 1.5939664840698242,
|
33 |
+
"eval_runtime": 39.9431,
|
34 |
+
"eval_samples_per_second": 79.864,
|
35 |
+
"eval_steps_per_second": 2.504,
|
36 |
+
"step": 450
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 3.33,
|
40 |
+
"learning_rate": 2.5423728813559323e-06,
|
41 |
+
"loss": 1.9398,
|
42 |
+
"step": 500
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"epoch": 4.0,
|
46 |
+
"eval_accuracy": 0.9012539184952978,
|
47 |
+
"eval_loss": 1.3277515172958374,
|
48 |
+
"eval_runtime": 39.2865,
|
49 |
+
"eval_samples_per_second": 81.198,
|
50 |
+
"eval_steps_per_second": 2.545,
|
51 |
+
"step": 600
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 5.0,
|
55 |
+
"eval_accuracy": 0.9078369905956113,
|
56 |
+
"eval_loss": 1.1275917291641235,
|
57 |
+
"eval_runtime": 40.4781,
|
58 |
+
"eval_samples_per_second": 78.808,
|
59 |
+
"eval_steps_per_second": 2.47,
|
60 |
+
"step": 750
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"epoch": 6.0,
|
64 |
+
"eval_accuracy": 0.9109717868338558,
|
65 |
+
"eval_loss": 0.9836059808731079,
|
66 |
+
"eval_runtime": 39.3293,
|
67 |
+
"eval_samples_per_second": 81.11,
|
68 |
+
"eval_steps_per_second": 2.543,
|
69 |
+
"step": 900
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 6.67,
|
73 |
+
"learning_rate": 2.033898305084746e-06,
|
74 |
+
"loss": 1.0736,
|
75 |
+
"step": 1000
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 7.0,
|
79 |
+
"eval_accuracy": 0.9175548589341693,
|
80 |
+
"eval_loss": 0.8796769976615906,
|
81 |
+
"eval_runtime": 38.8684,
|
82 |
+
"eval_samples_per_second": 82.072,
|
83 |
+
"eval_steps_per_second": 2.573,
|
84 |
+
"step": 1050
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 8.0,
|
88 |
+
"eval_accuracy": 0.9260188087774295,
|
89 |
+
"eval_loss": 0.8013343811035156,
|
90 |
+
"eval_runtime": 39.8903,
|
91 |
+
"eval_samples_per_second": 79.969,
|
92 |
+
"eval_steps_per_second": 2.507,
|
93 |
+
"step": 1200
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 9.0,
|
97 |
+
"eval_accuracy": 0.9297805642633229,
|
98 |
+
"eval_loss": 0.741754949092865,
|
99 |
+
"eval_runtime": 39.2379,
|
100 |
+
"eval_samples_per_second": 81.299,
|
101 |
+
"eval_steps_per_second": 2.549,
|
102 |
+
"step": 1350
|
103 |
+
},
|
104 |
+
{
|
105 |
+
"epoch": 10.0,
|
106 |
+
"learning_rate": 1.5254237288135592e-06,
|
107 |
+
"loss": 0.7176,
|
108 |
+
"step": 1500
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"epoch": 10.0,
|
112 |
+
"eval_accuracy": 0.9357366771159875,
|
113 |
+
"eval_loss": 0.6951330304145813,
|
114 |
+
"eval_runtime": 39.6464,
|
115 |
+
"eval_samples_per_second": 80.461,
|
116 |
+
"eval_steps_per_second": 2.522,
|
117 |
+
"step": 1500
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 11.0,
|
121 |
+
"eval_accuracy": 0.936050156739812,
|
122 |
+
"eval_loss": 0.6588802933692932,
|
123 |
+
"eval_runtime": 39.3043,
|
124 |
+
"eval_samples_per_second": 81.162,
|
125 |
+
"eval_steps_per_second": 2.544,
|
126 |
+
"step": 1650
|
127 |
+
},
|
128 |
+
{
|
129 |
+
"epoch": 12.0,
|
130 |
+
"eval_accuracy": 0.9391849529780564,
|
131 |
+
"eval_loss": 0.6289839148521423,
|
132 |
+
"eval_runtime": 40.6101,
|
133 |
+
"eval_samples_per_second": 78.552,
|
134 |
+
"eval_steps_per_second": 2.462,
|
135 |
+
"step": 1800
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 13.0,
|
139 |
+
"eval_accuracy": 0.9435736677115988,
|
140 |
+
"eval_loss": 0.6051485538482666,
|
141 |
+
"eval_runtime": 39.428,
|
142 |
+
"eval_samples_per_second": 80.907,
|
143 |
+
"eval_steps_per_second": 2.536,
|
144 |
+
"step": 1950
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"epoch": 13.33,
|
148 |
+
"learning_rate": 1.016949152542373e-06,
|
149 |
+
"loss": 0.573,
|
150 |
+
"step": 2000
|
151 |
+
},
|
152 |
+
{
|
153 |
+
"epoch": 14.0,
|
154 |
+
"eval_accuracy": 0.9442006269592477,
|
155 |
+
"eval_loss": 0.5864712595939636,
|
156 |
+
"eval_runtime": 38.9051,
|
157 |
+
"eval_samples_per_second": 81.994,
|
158 |
+
"eval_steps_per_second": 2.57,
|
159 |
+
"step": 2100
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 15.0,
|
163 |
+
"eval_accuracy": 0.945141065830721,
|
164 |
+
"eval_loss": 0.5714645385742188,
|
165 |
+
"eval_runtime": 38.9352,
|
166 |
+
"eval_samples_per_second": 81.931,
|
167 |
+
"eval_steps_per_second": 2.568,
|
168 |
+
"step": 2250
|
169 |
+
},
|
170 |
+
{
|
171 |
+
"epoch": 16.0,
|
172 |
+
"eval_accuracy": 0.9460815047021943,
|
173 |
+
"eval_loss": 0.5598732233047485,
|
174 |
+
"eval_runtime": 39.7255,
|
175 |
+
"eval_samples_per_second": 80.301,
|
176 |
+
"eval_steps_per_second": 2.517,
|
177 |
+
"step": 2400
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 16.67,
|
181 |
+
"learning_rate": 5.084745762711865e-07,
|
182 |
+
"loss": 0.5049,
|
183 |
+
"step": 2500
|
184 |
+
},
|
185 |
+
{
|
186 |
+
"epoch": 17.0,
|
187 |
+
"eval_accuracy": 0.9476489028213166,
|
188 |
+
"eval_loss": 0.5497184991836548,
|
189 |
+
"eval_runtime": 38.9155,
|
190 |
+
"eval_samples_per_second": 81.972,
|
191 |
+
"eval_steps_per_second": 2.57,
|
192 |
+
"step": 2550
|
193 |
+
},
|
194 |
+
{
|
195 |
+
"epoch": 18.0,
|
196 |
+
"eval_accuracy": 0.9479623824451411,
|
197 |
+
"eval_loss": 0.5431983470916748,
|
198 |
+
"eval_runtime": 39.2777,
|
199 |
+
"eval_samples_per_second": 81.217,
|
200 |
+
"eval_steps_per_second": 2.546,
|
201 |
+
"step": 2700
|
202 |
+
},
|
203 |
+
{
|
204 |
+
"epoch": 19.0,
|
205 |
+
"eval_accuracy": 0.9482758620689655,
|
206 |
+
"eval_loss": 0.5394731163978577,
|
207 |
+
"eval_runtime": 39.0547,
|
208 |
+
"eval_samples_per_second": 81.68,
|
209 |
+
"eval_steps_per_second": 2.561,
|
210 |
+
"step": 2850
|
211 |
+
},
|
212 |
+
{
|
213 |
+
"epoch": 20.0,
|
214 |
+
"learning_rate": 0.0,
|
215 |
+
"loss": 0.4752,
|
216 |
+
"step": 3000
|
217 |
+
},
|
218 |
+
{
|
219 |
+
"epoch": 20.0,
|
220 |
+
"eval_accuracy": 0.9476489028213166,
|
221 |
+
"eval_loss": 0.5382775664329529,
|
222 |
+
"eval_runtime": 39.1619,
|
223 |
+
"eval_samples_per_second": 81.457,
|
224 |
+
"eval_steps_per_second": 2.554,
|
225 |
+
"step": 3000
|
226 |
+
}
|
227 |
+
],
|
228 |
+
"logging_steps": 500,
|
229 |
+
"max_steps": 3000,
|
230 |
+
"num_train_epochs": 20,
|
231 |
+
"save_steps": 500,
|
232 |
+
"total_flos": 1.4833163220277248e+19,
|
233 |
+
"trial_name": null,
|
234 |
+
"trial_params": null
|
235 |
+
}
|
checkpoint-3000/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9d2b189797acfec84a938a4fc357854a851b15f9b2f780f5ed805d70d7df7571
|
3 |
+
size 4091
|
config.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "dew",
|
13 |
+
"1": "fogsmog",
|
14 |
+
"2": "frost",
|
15 |
+
"3": "glaze",
|
16 |
+
"4": "hail",
|
17 |
+
"5": "lightning",
|
18 |
+
"6": "rain",
|
19 |
+
"7": "rainbow",
|
20 |
+
"8": "rime",
|
21 |
+
"9": "sandstorm",
|
22 |
+
"10": "snow"
|
23 |
+
},
|
24 |
+
"image_size": 224,
|
25 |
+
"initializer_range": 0.02,
|
26 |
+
"intermediate_size": 3072,
|
27 |
+
"label2id": {
|
28 |
+
"dew": 0,
|
29 |
+
"fogsmog": 1,
|
30 |
+
"frost": 2,
|
31 |
+
"glaze": 3,
|
32 |
+
"hail": 4,
|
33 |
+
"lightning": 5,
|
34 |
+
"rain": 6,
|
35 |
+
"rainbow": 7,
|
36 |
+
"rime": 8,
|
37 |
+
"sandstorm": 9,
|
38 |
+
"snow": 10
|
39 |
+
},
|
40 |
+
"layer_norm_eps": 1e-12,
|
41 |
+
"model_type": "vit",
|
42 |
+
"num_attention_heads": 12,
|
43 |
+
"num_channels": 3,
|
44 |
+
"num_hidden_layers": 12,
|
45 |
+
"patch_size": 16,
|
46 |
+
"problem_type": "single_label_classification",
|
47 |
+
"qkv_bias": true,
|
48 |
+
"torch_dtype": "float32",
|
49 |
+
"transformers_version": "4.35.0"
|
50 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9ae4ba422a3b361a73f171d81af7c15b32d33aaf3f1858dc734c35604643a25b
|
3 |
+
size 343251660
|
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:9d2b189797acfec84a938a4fc357854a851b15f9b2f780f5ed805d70d7df7571
|
3 |
+
size 4091
|