Upload folder using huggingface_hub
Browse files- checkpoint-5070/config.json +74 -0
- checkpoint-5070/optimizer.pt +3 -0
- checkpoint-5070/preprocessor_config.json +22 -0
- checkpoint-5070/pytorch_model.bin +3 -0
- checkpoint-5070/rng_state.pth +3 -0
- checkpoint-5070/scheduler.pt +3 -0
- checkpoint-5070/trainer_state.json +349 -0
- checkpoint-5070/training_args.bin +3 -0
- config.json +74 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
checkpoint-5070/config.json
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "donuts",
|
13 |
+
"1": "hamburguer",
|
14 |
+
"2": "feijoada",
|
15 |
+
"3": "batatas_fritas",
|
16 |
+
"4": "esparguete_bolonhesa",
|
17 |
+
"5": "caldo_verde",
|
18 |
+
"6": "pasteis_bacalhau",
|
19 |
+
"7": "cozido_portuguesa",
|
20 |
+
"8": "jardineira",
|
21 |
+
"9": "arroz_cabidela",
|
22 |
+
"10": "nata",
|
23 |
+
"11": "croissant",
|
24 |
+
"12": "cachorro",
|
25 |
+
"13": "tripas_moda_porto",
|
26 |
+
"14": "aletria",
|
27 |
+
"15": "pizza",
|
28 |
+
"16": "bacalhau_natas",
|
29 |
+
"17": "ovo",
|
30 |
+
"18": "waffles",
|
31 |
+
"19": "francesinha",
|
32 |
+
"20": "bolo_chocolate",
|
33 |
+
"21": "gelado",
|
34 |
+
"22": "bacalhau_bras"
|
35 |
+
},
|
36 |
+
"image_size": 224,
|
37 |
+
"initializer_range": 0.02,
|
38 |
+
"intermediate_size": 3072,
|
39 |
+
"label2id": {
|
40 |
+
"aletria": 14,
|
41 |
+
"arroz_cabidela": 9,
|
42 |
+
"bacalhau_bras": 22,
|
43 |
+
"bacalhau_natas": 16,
|
44 |
+
"batatas_fritas": 3,
|
45 |
+
"bolo_chocolate": 20,
|
46 |
+
"cachorro": 12,
|
47 |
+
"caldo_verde": 5,
|
48 |
+
"cozido_portuguesa": 7,
|
49 |
+
"croissant": 11,
|
50 |
+
"donuts": 0,
|
51 |
+
"esparguete_bolonhesa": 4,
|
52 |
+
"feijoada": 2,
|
53 |
+
"francesinha": 19,
|
54 |
+
"gelado": 21,
|
55 |
+
"hamburguer": 1,
|
56 |
+
"jardineira": 8,
|
57 |
+
"nata": 10,
|
58 |
+
"ovo": 17,
|
59 |
+
"pasteis_bacalhau": 6,
|
60 |
+
"pizza": 15,
|
61 |
+
"tripas_moda_porto": 13,
|
62 |
+
"waffles": 18
|
63 |
+
},
|
64 |
+
"layer_norm_eps": 1e-12,
|
65 |
+
"model_type": "vit",
|
66 |
+
"num_attention_heads": 12,
|
67 |
+
"num_channels": 3,
|
68 |
+
"num_hidden_layers": 12,
|
69 |
+
"patch_size": 16,
|
70 |
+
"problem_type": "single_label_classification",
|
71 |
+
"qkv_bias": true,
|
72 |
+
"torch_dtype": "float32",
|
73 |
+
"transformers_version": "4.33.2"
|
74 |
+
}
|
checkpoint-5070/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:20e61b72a84c4ce4a4ae8b124d640404cd1fd9cf7630684e577a05b79723b63f
|
3 |
+
size 686697605
|
checkpoint-5070/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-5070/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4b57db8ed02d1ce1dff7f335f51d5640e21799542d8e0faab64997342fa9d564
|
3 |
+
size 343333293
|
checkpoint-5070/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:24c2ad5a91b3386fa193abd2aec4d72a7d3f458d41b0b45087288e4bed0e4401
|
3 |
+
size 14575
|
checkpoint-5070/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:22c28b73506f3c4095673e3ce2c59dcd6ffcef67298d2297a928a673f220df80
|
3 |
+
size 627
|
checkpoint-5070/trainer_state.json
ADDED
@@ -0,0 +1,349 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.15817709267139435,
|
3 |
+
"best_model_checkpoint": "portuguese_meals_image_detection/checkpoint-5070",
|
4 |
+
"epoch": 30.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 5070,
|
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.7986627043090639,
|
14 |
+
"eval_loss": 2.3052420616149902,
|
15 |
+
"eval_runtime": 22.7197,
|
16 |
+
"eval_samples_per_second": 59.244,
|
17 |
+
"eval_steps_per_second": 7.438,
|
18 |
+
"step": 169
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"epoch": 2.0,
|
22 |
+
"eval_accuracy": 0.9049034175334324,
|
23 |
+
"eval_loss": 1.5531599521636963,
|
24 |
+
"eval_runtime": 22.3802,
|
25 |
+
"eval_samples_per_second": 60.143,
|
26 |
+
"eval_steps_per_second": 7.551,
|
27 |
+
"step": 338
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 2.96,
|
31 |
+
"learning_rate": 9.103585657370518e-06,
|
32 |
+
"loss": 1.9788,
|
33 |
+
"step": 500
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 3.0,
|
37 |
+
"eval_accuracy": 0.9420505200594353,
|
38 |
+
"eval_loss": 1.1377794742584229,
|
39 |
+
"eval_runtime": 22.8971,
|
40 |
+
"eval_samples_per_second": 58.785,
|
41 |
+
"eval_steps_per_second": 7.381,
|
42 |
+
"step": 507
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"epoch": 4.0,
|
46 |
+
"eval_accuracy": 0.9613670133729569,
|
47 |
+
"eval_loss": 0.8949278593063354,
|
48 |
+
"eval_runtime": 22.8451,
|
49 |
+
"eval_samples_per_second": 58.919,
|
50 |
+
"eval_steps_per_second": 7.398,
|
51 |
+
"step": 676
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 5.0,
|
55 |
+
"eval_accuracy": 0.9710252600297177,
|
56 |
+
"eval_loss": 0.7272208333015442,
|
57 |
+
"eval_runtime": 22.5952,
|
58 |
+
"eval_samples_per_second": 59.57,
|
59 |
+
"eval_steps_per_second": 7.479,
|
60 |
+
"step": 845
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"epoch": 5.92,
|
64 |
+
"learning_rate": 8.107569721115539e-06,
|
65 |
+
"loss": 0.7727,
|
66 |
+
"step": 1000
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"epoch": 6.0,
|
70 |
+
"eval_accuracy": 0.9769687964338781,
|
71 |
+
"eval_loss": 0.6021968126296997,
|
72 |
+
"eval_runtime": 22.9952,
|
73 |
+
"eval_samples_per_second": 58.534,
|
74 |
+
"eval_steps_per_second": 7.349,
|
75 |
+
"step": 1014
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 7.0,
|
79 |
+
"eval_accuracy": 0.9799405646359584,
|
80 |
+
"eval_loss": 0.5113309621810913,
|
81 |
+
"eval_runtime": 22.744,
|
82 |
+
"eval_samples_per_second": 59.18,
|
83 |
+
"eval_steps_per_second": 7.431,
|
84 |
+
"step": 1183
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 8.0,
|
88 |
+
"eval_accuracy": 0.9806835066864784,
|
89 |
+
"eval_loss": 0.4436838626861572,
|
90 |
+
"eval_runtime": 22.2626,
|
91 |
+
"eval_samples_per_second": 60.46,
|
92 |
+
"eval_steps_per_second": 7.591,
|
93 |
+
"step": 1352
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 8.88,
|
97 |
+
"learning_rate": 7.111553784860559e-06,
|
98 |
+
"loss": 0.4181,
|
99 |
+
"step": 1500
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 9.0,
|
103 |
+
"eval_accuracy": 0.9799405646359584,
|
104 |
+
"eval_loss": 0.38924625515937805,
|
105 |
+
"eval_runtime": 22.8549,
|
106 |
+
"eval_samples_per_second": 58.893,
|
107 |
+
"eval_steps_per_second": 7.394,
|
108 |
+
"step": 1521
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"epoch": 10.0,
|
112 |
+
"eval_accuracy": 0.9814264487369985,
|
113 |
+
"eval_loss": 0.3481634855270386,
|
114 |
+
"eval_runtime": 22.5124,
|
115 |
+
"eval_samples_per_second": 59.789,
|
116 |
+
"eval_steps_per_second": 7.507,
|
117 |
+
"step": 1690
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 11.0,
|
121 |
+
"eval_accuracy": 0.9814264487369985,
|
122 |
+
"eval_loss": 0.3135211169719696,
|
123 |
+
"eval_runtime": 22.4742,
|
124 |
+
"eval_samples_per_second": 59.891,
|
125 |
+
"eval_steps_per_second": 7.52,
|
126 |
+
"step": 1859
|
127 |
+
},
|
128 |
+
{
|
129 |
+
"epoch": 11.83,
|
130 |
+
"learning_rate": 6.115537848605578e-06,
|
131 |
+
"loss": 0.266,
|
132 |
+
"step": 2000
|
133 |
+
},
|
134 |
+
{
|
135 |
+
"epoch": 12.0,
|
136 |
+
"eval_accuracy": 0.9821693907875185,
|
137 |
+
"eval_loss": 0.28906822204589844,
|
138 |
+
"eval_runtime": 22.7533,
|
139 |
+
"eval_samples_per_second": 59.156,
|
140 |
+
"eval_steps_per_second": 7.427,
|
141 |
+
"step": 2028
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"epoch": 13.0,
|
145 |
+
"eval_accuracy": 0.9829123328380386,
|
146 |
+
"eval_loss": 0.268048495054245,
|
147 |
+
"eval_runtime": 22.694,
|
148 |
+
"eval_samples_per_second": 59.311,
|
149 |
+
"eval_steps_per_second": 7.447,
|
150 |
+
"step": 2197
|
151 |
+
},
|
152 |
+
{
|
153 |
+
"epoch": 14.0,
|
154 |
+
"eval_accuracy": 0.9829123328380386,
|
155 |
+
"eval_loss": 0.24836774170398712,
|
156 |
+
"eval_runtime": 22.5694,
|
157 |
+
"eval_samples_per_second": 59.638,
|
158 |
+
"eval_steps_per_second": 7.488,
|
159 |
+
"step": 2366
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 14.79,
|
163 |
+
"learning_rate": 5.119521912350598e-06,
|
164 |
+
"loss": 0.1903,
|
165 |
+
"step": 2500
|
166 |
+
},
|
167 |
+
{
|
168 |
+
"epoch": 15.0,
|
169 |
+
"eval_accuracy": 0.9829123328380386,
|
170 |
+
"eval_loss": 0.23243731260299683,
|
171 |
+
"eval_runtime": 22.7926,
|
172 |
+
"eval_samples_per_second": 59.054,
|
173 |
+
"eval_steps_per_second": 7.415,
|
174 |
+
"step": 2535
|
175 |
+
},
|
176 |
+
{
|
177 |
+
"epoch": 16.0,
|
178 |
+
"eval_accuracy": 0.9806835066864784,
|
179 |
+
"eval_loss": 0.22185435891151428,
|
180 |
+
"eval_runtime": 22.6881,
|
181 |
+
"eval_samples_per_second": 59.326,
|
182 |
+
"eval_steps_per_second": 7.449,
|
183 |
+
"step": 2704
|
184 |
+
},
|
185 |
+
{
|
186 |
+
"epoch": 17.0,
|
187 |
+
"eval_accuracy": 0.9814264487369985,
|
188 |
+
"eval_loss": 0.20966528356075287,
|
189 |
+
"eval_runtime": 22.358,
|
190 |
+
"eval_samples_per_second": 60.202,
|
191 |
+
"eval_steps_per_second": 7.559,
|
192 |
+
"step": 2873
|
193 |
+
},
|
194 |
+
{
|
195 |
+
"epoch": 17.75,
|
196 |
+
"learning_rate": 4.123505976095618e-06,
|
197 |
+
"loss": 0.1472,
|
198 |
+
"step": 3000
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 18.0,
|
202 |
+
"eval_accuracy": 0.9814264487369985,
|
203 |
+
"eval_loss": 0.20012235641479492,
|
204 |
+
"eval_runtime": 22.9511,
|
205 |
+
"eval_samples_per_second": 58.646,
|
206 |
+
"eval_steps_per_second": 7.363,
|
207 |
+
"step": 3042
|
208 |
+
},
|
209 |
+
{
|
210 |
+
"epoch": 19.0,
|
211 |
+
"eval_accuracy": 0.9821693907875185,
|
212 |
+
"eval_loss": 0.19222623109817505,
|
213 |
+
"eval_runtime": 25.4756,
|
214 |
+
"eval_samples_per_second": 52.835,
|
215 |
+
"eval_steps_per_second": 6.634,
|
216 |
+
"step": 3211
|
217 |
+
},
|
218 |
+
{
|
219 |
+
"epoch": 20.0,
|
220 |
+
"eval_accuracy": 0.9829123328380386,
|
221 |
+
"eval_loss": 0.1853048950433731,
|
222 |
+
"eval_runtime": 23.0714,
|
223 |
+
"eval_samples_per_second": 58.341,
|
224 |
+
"eval_steps_per_second": 7.325,
|
225 |
+
"step": 3380
|
226 |
+
},
|
227 |
+
{
|
228 |
+
"epoch": 20.71,
|
229 |
+
"learning_rate": 3.1274900398406375e-06,
|
230 |
+
"loss": 0.1212,
|
231 |
+
"step": 3500
|
232 |
+
},
|
233 |
+
{
|
234 |
+
"epoch": 21.0,
|
235 |
+
"eval_accuracy": 0.9814264487369985,
|
236 |
+
"eval_loss": 0.18127979338169098,
|
237 |
+
"eval_runtime": 22.5621,
|
238 |
+
"eval_samples_per_second": 59.658,
|
239 |
+
"eval_steps_per_second": 7.49,
|
240 |
+
"step": 3549
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 22.0,
|
244 |
+
"eval_accuracy": 0.9814264487369985,
|
245 |
+
"eval_loss": 0.1769726574420929,
|
246 |
+
"eval_runtime": 22.898,
|
247 |
+
"eval_samples_per_second": 58.782,
|
248 |
+
"eval_steps_per_second": 7.381,
|
249 |
+
"step": 3718
|
250 |
+
},
|
251 |
+
{
|
252 |
+
"epoch": 23.0,
|
253 |
+
"eval_accuracy": 0.9806835066864784,
|
254 |
+
"eval_loss": 0.17226694524288177,
|
255 |
+
"eval_runtime": 22.9554,
|
256 |
+
"eval_samples_per_second": 58.635,
|
257 |
+
"eval_steps_per_second": 7.362,
|
258 |
+
"step": 3887
|
259 |
+
},
|
260 |
+
{
|
261 |
+
"epoch": 23.67,
|
262 |
+
"learning_rate": 2.1314741035856577e-06,
|
263 |
+
"loss": 0.1041,
|
264 |
+
"step": 4000
|
265 |
+
},
|
266 |
+
{
|
267 |
+
"epoch": 24.0,
|
268 |
+
"eval_accuracy": 0.9821693907875185,
|
269 |
+
"eval_loss": 0.16755062341690063,
|
270 |
+
"eval_runtime": 22.569,
|
271 |
+
"eval_samples_per_second": 59.639,
|
272 |
+
"eval_steps_per_second": 7.488,
|
273 |
+
"step": 4056
|
274 |
+
},
|
275 |
+
{
|
276 |
+
"epoch": 25.0,
|
277 |
+
"eval_accuracy": 0.9821693907875185,
|
278 |
+
"eval_loss": 0.16521112620830536,
|
279 |
+
"eval_runtime": 23.0831,
|
280 |
+
"eval_samples_per_second": 58.311,
|
281 |
+
"eval_steps_per_second": 7.321,
|
282 |
+
"step": 4225
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"epoch": 26.0,
|
286 |
+
"eval_accuracy": 0.9806835066864784,
|
287 |
+
"eval_loss": 0.1628224402666092,
|
288 |
+
"eval_runtime": 23.1794,
|
289 |
+
"eval_samples_per_second": 58.069,
|
290 |
+
"eval_steps_per_second": 7.291,
|
291 |
+
"step": 4394
|
292 |
+
},
|
293 |
+
{
|
294 |
+
"epoch": 26.63,
|
295 |
+
"learning_rate": 1.1354581673306774e-06,
|
296 |
+
"loss": 0.0941,
|
297 |
+
"step": 4500
|
298 |
+
},
|
299 |
+
{
|
300 |
+
"epoch": 27.0,
|
301 |
+
"eval_accuracy": 0.9806835066864784,
|
302 |
+
"eval_loss": 0.1619950830936432,
|
303 |
+
"eval_runtime": 22.8344,
|
304 |
+
"eval_samples_per_second": 58.946,
|
305 |
+
"eval_steps_per_second": 7.401,
|
306 |
+
"step": 4563
|
307 |
+
},
|
308 |
+
{
|
309 |
+
"epoch": 28.0,
|
310 |
+
"eval_accuracy": 0.9821693907875185,
|
311 |
+
"eval_loss": 0.1596996784210205,
|
312 |
+
"eval_runtime": 23.0761,
|
313 |
+
"eval_samples_per_second": 58.329,
|
314 |
+
"eval_steps_per_second": 7.324,
|
315 |
+
"step": 4732
|
316 |
+
},
|
317 |
+
{
|
318 |
+
"epoch": 29.0,
|
319 |
+
"eval_accuracy": 0.9829123328380386,
|
320 |
+
"eval_loss": 0.15874390304088593,
|
321 |
+
"eval_runtime": 22.9713,
|
322 |
+
"eval_samples_per_second": 58.595,
|
323 |
+
"eval_steps_per_second": 7.357,
|
324 |
+
"step": 4901
|
325 |
+
},
|
326 |
+
{
|
327 |
+
"epoch": 29.59,
|
328 |
+
"learning_rate": 1.3944223107569722e-07,
|
329 |
+
"loss": 0.089,
|
330 |
+
"step": 5000
|
331 |
+
},
|
332 |
+
{
|
333 |
+
"epoch": 30.0,
|
334 |
+
"eval_accuracy": 0.9829123328380386,
|
335 |
+
"eval_loss": 0.15817709267139435,
|
336 |
+
"eval_runtime": 22.2,
|
337 |
+
"eval_samples_per_second": 60.631,
|
338 |
+
"eval_steps_per_second": 7.613,
|
339 |
+
"step": 5070
|
340 |
+
}
|
341 |
+
],
|
342 |
+
"logging_steps": 500,
|
343 |
+
"max_steps": 5070,
|
344 |
+
"num_train_epochs": 30,
|
345 |
+
"save_steps": 500,
|
346 |
+
"total_flos": 1.2509561184764314e+19,
|
347 |
+
"trial_name": null,
|
348 |
+
"trial_params": null
|
349 |
+
}
|
checkpoint-5070/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:af4f2821cfa37f0b7e36337cc06f13404dbf23704373461b8bf22aeef86f42bd
|
3 |
+
size 4027
|
config.json
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "donuts",
|
13 |
+
"1": "hamburguer",
|
14 |
+
"2": "feijoada",
|
15 |
+
"3": "batatas_fritas",
|
16 |
+
"4": "esparguete_bolonhesa",
|
17 |
+
"5": "caldo_verde",
|
18 |
+
"6": "pasteis_bacalhau",
|
19 |
+
"7": "cozido_portuguesa",
|
20 |
+
"8": "jardineira",
|
21 |
+
"9": "arroz_cabidela",
|
22 |
+
"10": "nata",
|
23 |
+
"11": "croissant",
|
24 |
+
"12": "cachorro",
|
25 |
+
"13": "tripas_moda_porto",
|
26 |
+
"14": "aletria",
|
27 |
+
"15": "pizza",
|
28 |
+
"16": "bacalhau_natas",
|
29 |
+
"17": "ovo",
|
30 |
+
"18": "waffles",
|
31 |
+
"19": "francesinha",
|
32 |
+
"20": "bolo_chocolate",
|
33 |
+
"21": "gelado",
|
34 |
+
"22": "bacalhau_bras"
|
35 |
+
},
|
36 |
+
"image_size": 224,
|
37 |
+
"initializer_range": 0.02,
|
38 |
+
"intermediate_size": 3072,
|
39 |
+
"label2id": {
|
40 |
+
"aletria": 14,
|
41 |
+
"arroz_cabidela": 9,
|
42 |
+
"bacalhau_bras": 22,
|
43 |
+
"bacalhau_natas": 16,
|
44 |
+
"batatas_fritas": 3,
|
45 |
+
"bolo_chocolate": 20,
|
46 |
+
"cachorro": 12,
|
47 |
+
"caldo_verde": 5,
|
48 |
+
"cozido_portuguesa": 7,
|
49 |
+
"croissant": 11,
|
50 |
+
"donuts": 0,
|
51 |
+
"esparguete_bolonhesa": 4,
|
52 |
+
"feijoada": 2,
|
53 |
+
"francesinha": 19,
|
54 |
+
"gelado": 21,
|
55 |
+
"hamburguer": 1,
|
56 |
+
"jardineira": 8,
|
57 |
+
"nata": 10,
|
58 |
+
"ovo": 17,
|
59 |
+
"pasteis_bacalhau": 6,
|
60 |
+
"pizza": 15,
|
61 |
+
"tripas_moda_porto": 13,
|
62 |
+
"waffles": 18
|
63 |
+
},
|
64 |
+
"layer_norm_eps": 1e-12,
|
65 |
+
"model_type": "vit",
|
66 |
+
"num_attention_heads": 12,
|
67 |
+
"num_channels": 3,
|
68 |
+
"num_hidden_layers": 12,
|
69 |
+
"patch_size": 16,
|
70 |
+
"problem_type": "single_label_classification",
|
71 |
+
"qkv_bias": true,
|
72 |
+
"torch_dtype": "float32",
|
73 |
+
"transformers_version": "4.33.2"
|
74 |
+
}
|
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:4b57db8ed02d1ce1dff7f335f51d5640e21799542d8e0faab64997342fa9d564
|
3 |
+
size 343333293
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:af4f2821cfa37f0b7e36337cc06f13404dbf23704373461b8bf22aeef86f42bd
|
3 |
+
size 4027
|