Aoishi19 commited on
Commit
c190f55
·
verified ·
1 Parent(s): 715cf4c

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: Falconsai/nsfw_image_detection
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.5076770186424255
22
+
23
+ f1_macro: 0.9034486384853411
24
+
25
+ f1_micro: 0.9506314580941446
26
+
27
+ f1_weighted: 0.9453900122810057
28
+
29
+ precision_macro: 0.9375712446090816
30
+
31
+ precision_micro: 0.9506314580941446
32
+
33
+ precision_weighted: 0.9538751552377964
34
+
35
+ recall_macro: 0.89997224997225
36
+
37
+ recall_micro: 0.9506314580941446
38
+
39
+ recall_weighted: 0.9506314580941446
40
+
41
+ accuracy: 0.9506314580941446
checkpoint-1308/config.json ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Falconsai/nsfw_image_detection",
3
+ "_num_labels": 42,
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": 768,
12
+ "id2label": {
13
+ "0": "Balon_Baseball",
14
+ "1": "Balon_Basketball",
15
+ "2": "Balon_Billar",
16
+ "3": "Balon_Bolos",
17
+ "4": "Balon_Futbol",
18
+ "5": "Balon_Futbol_Americano",
19
+ "6": "Balon_Golf",
20
+ "7": "Balon_Rugby",
21
+ "8": "Balon_Tennis",
22
+ "9": "Balon_Tennis_Mesa",
23
+ "10": "Balon_Volleyball",
24
+ "11": "Camisas",
25
+ "12": "Fruta_Arandano",
26
+ "13": "Fruta_Banana",
27
+ "14": "Fruta_Cebolla Blanca",
28
+ "15": "Fruta_Cereza",
29
+ "16": "Fruta_Ciruela",
30
+ "17": "Fruta_Durazno",
31
+ "18": "Fruta_Frambuesa",
32
+ "19": "Fruta_Fresa",
33
+ "20": "Fruta_Granada",
34
+ "21": "Fruta_Kiwi",
35
+ "22": "Fruta_Limon",
36
+ "23": "Fruta_Mango",
37
+ "24": "Fruta_Manzana Braeburn",
38
+ "25": "Fruta_Mazorca",
39
+ "26": "Fruta_Naranja",
40
+ "27": "Fruta_Papaya",
41
+ "28": "Fruta_Passion Fruit",
42
+ "29": "Fruta_Pera",
43
+ "30": "Fruta_Pimenton Rojo",
44
+ "31": "Fruta_Pimenton Verde",
45
+ "32": "Fruta_Pi\u00f1a",
46
+ "33": "Fruta_Sandia",
47
+ "34": "Fruta_Tomate",
48
+ "35": "Fruta_Uva",
49
+ "36": "Mesas",
50
+ "37": "Pantalones",
51
+ "38": "Vasos",
52
+ "39": "Zapatos",
53
+ "40": "gaseosa",
54
+ "41": "gorros"
55
+ },
56
+ "image_size": 224,
57
+ "initializer_range": 0.02,
58
+ "intermediate_size": 3072,
59
+ "label2id": {
60
+ "Balon_Baseball": 0,
61
+ "Balon_Basketball": 1,
62
+ "Balon_Billar": 2,
63
+ "Balon_Bolos": 3,
64
+ "Balon_Futbol": 4,
65
+ "Balon_Futbol_Americano": 5,
66
+ "Balon_Golf": 6,
67
+ "Balon_Rugby": 7,
68
+ "Balon_Tennis": 8,
69
+ "Balon_Tennis_Mesa": 9,
70
+ "Balon_Volleyball": 10,
71
+ "Camisas": 11,
72
+ "Fruta_Arandano": 12,
73
+ "Fruta_Banana": 13,
74
+ "Fruta_Cebolla Blanca": 14,
75
+ "Fruta_Cereza": 15,
76
+ "Fruta_Ciruela": 16,
77
+ "Fruta_Durazno": 17,
78
+ "Fruta_Frambuesa": 18,
79
+ "Fruta_Fresa": 19,
80
+ "Fruta_Granada": 20,
81
+ "Fruta_Kiwi": 21,
82
+ "Fruta_Limon": 22,
83
+ "Fruta_Mango": 23,
84
+ "Fruta_Manzana Braeburn": 24,
85
+ "Fruta_Mazorca": 25,
86
+ "Fruta_Naranja": 26,
87
+ "Fruta_Papaya": 27,
88
+ "Fruta_Passion Fruit": 28,
89
+ "Fruta_Pera": 29,
90
+ "Fruta_Pimenton Rojo": 30,
91
+ "Fruta_Pimenton Verde": 31,
92
+ "Fruta_Pi\u00f1a": 32,
93
+ "Fruta_Sandia": 33,
94
+ "Fruta_Tomate": 34,
95
+ "Fruta_Uva": 35,
96
+ "Mesas": 36,
97
+ "Pantalones": 37,
98
+ "Vasos": 38,
99
+ "Zapatos": 39,
100
+ "gaseosa": 40,
101
+ "gorros": 41
102
+ },
103
+ "layer_norm_eps": 1e-12,
104
+ "model_type": "vit",
105
+ "num_attention_heads": 12,
106
+ "num_channels": 3,
107
+ "num_hidden_layers": 12,
108
+ "patch_size": 16,
109
+ "problem_type": "single_label_classification",
110
+ "qkv_bias": true,
111
+ "torch_dtype": "float32",
112
+ "transformers_version": "4.44.2"
113
+ }
checkpoint-1308/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7654b00bb4abbfc96e41113fe28a5ac8218826346ec6bf67f2dc96efff201d75
3
+ size 343347024
checkpoint-1308/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a55ed3cad0475be93df4fa997d85aee6f1e6508d1f01a59dca77a00850b1216
3
+ size 686809274
checkpoint-1308/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f2be57720a1bff8062502dee7a499f67067283248c0781a6588ca1bdde79163
3
+ size 13990
checkpoint-1308/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2944300a1cd37242dd8c86e222f706eecad1f51d19dfbcb620e1f4ad8303f13
3
+ size 1064
checkpoint-1308/trainer_state.json ADDED
@@ -0,0 +1,530 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.5076770186424255,
3
+ "best_model_checkpoint": "autotrain-supermarket2/checkpoint-1308",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 1308,
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.0481651376146789,
13
+ "grad_norm": 2.6259849071502686,
14
+ "learning_rate": 8.015267175572519e-06,
15
+ "loss": 3.7357,
16
+ "step": 21
17
+ },
18
+ {
19
+ "epoch": 0.0963302752293578,
20
+ "grad_norm": 2.665346622467041,
21
+ "learning_rate": 1.6030534351145038e-05,
22
+ "loss": 3.7191,
23
+ "step": 42
24
+ },
25
+ {
26
+ "epoch": 0.1444954128440367,
27
+ "grad_norm": 2.5689873695373535,
28
+ "learning_rate": 2.404580152671756e-05,
29
+ "loss": 3.6684,
30
+ "step": 63
31
+ },
32
+ {
33
+ "epoch": 0.1926605504587156,
34
+ "grad_norm": 2.7761011123657227,
35
+ "learning_rate": 3.2061068702290076e-05,
36
+ "loss": 3.5678,
37
+ "step": 84
38
+ },
39
+ {
40
+ "epoch": 0.2408256880733945,
41
+ "grad_norm": 2.9012181758880615,
42
+ "learning_rate": 4.00763358778626e-05,
43
+ "loss": 3.4066,
44
+ "step": 105
45
+ },
46
+ {
47
+ "epoch": 0.2889908256880734,
48
+ "grad_norm": 2.9068140983581543,
49
+ "learning_rate": 4.809160305343512e-05,
50
+ "loss": 3.2444,
51
+ "step": 126
52
+ },
53
+ {
54
+ "epoch": 0.33715596330275227,
55
+ "grad_norm": 3.4494290351867676,
56
+ "learning_rate": 4.9320305862361936e-05,
57
+ "loss": 3.0415,
58
+ "step": 147
59
+ },
60
+ {
61
+ "epoch": 0.3853211009174312,
62
+ "grad_norm": 3.0459189414978027,
63
+ "learning_rate": 4.842820730671198e-05,
64
+ "loss": 2.7843,
65
+ "step": 168
66
+ },
67
+ {
68
+ "epoch": 0.4334862385321101,
69
+ "grad_norm": 3.2792389392852783,
70
+ "learning_rate": 4.753610875106202e-05,
71
+ "loss": 2.6448,
72
+ "step": 189
73
+ },
74
+ {
75
+ "epoch": 0.481651376146789,
76
+ "grad_norm": 2.7588303089141846,
77
+ "learning_rate": 4.664401019541207e-05,
78
+ "loss": 2.3919,
79
+ "step": 210
80
+ },
81
+ {
82
+ "epoch": 0.5298165137614679,
83
+ "grad_norm": 2.8580849170684814,
84
+ "learning_rate": 4.575191163976211e-05,
85
+ "loss": 2.2598,
86
+ "step": 231
87
+ },
88
+ {
89
+ "epoch": 0.5779816513761468,
90
+ "grad_norm": 2.777858257293701,
91
+ "learning_rate": 4.485981308411215e-05,
92
+ "loss": 2.0419,
93
+ "step": 252
94
+ },
95
+ {
96
+ "epoch": 0.6261467889908257,
97
+ "grad_norm": 2.656637191772461,
98
+ "learning_rate": 4.3967714528462196e-05,
99
+ "loss": 1.9219,
100
+ "step": 273
101
+ },
102
+ {
103
+ "epoch": 0.6743119266055045,
104
+ "grad_norm": 2.7383124828338623,
105
+ "learning_rate": 4.3075615972812236e-05,
106
+ "loss": 1.9097,
107
+ "step": 294
108
+ },
109
+ {
110
+ "epoch": 0.7224770642201835,
111
+ "grad_norm": 3.3833014965057373,
112
+ "learning_rate": 4.2183517417162276e-05,
113
+ "loss": 1.7911,
114
+ "step": 315
115
+ },
116
+ {
117
+ "epoch": 0.7706422018348624,
118
+ "grad_norm": 2.991527557373047,
119
+ "learning_rate": 4.129141886151232e-05,
120
+ "loss": 1.6925,
121
+ "step": 336
122
+ },
123
+ {
124
+ "epoch": 0.8188073394495413,
125
+ "grad_norm": 2.3825151920318604,
126
+ "learning_rate": 4.039932030586236e-05,
127
+ "loss": 1.6615,
128
+ "step": 357
129
+ },
130
+ {
131
+ "epoch": 0.8669724770642202,
132
+ "grad_norm": 3.524968147277832,
133
+ "learning_rate": 3.950722175021241e-05,
134
+ "loss": 1.4646,
135
+ "step": 378
136
+ },
137
+ {
138
+ "epoch": 0.9151376146788991,
139
+ "grad_norm": 2.9827630519866943,
140
+ "learning_rate": 3.861512319456245e-05,
141
+ "loss": 1.5763,
142
+ "step": 399
143
+ },
144
+ {
145
+ "epoch": 0.963302752293578,
146
+ "grad_norm": 3.3327395915985107,
147
+ "learning_rate": 3.772302463891249e-05,
148
+ "loss": 1.4844,
149
+ "step": 420
150
+ },
151
+ {
152
+ "epoch": 1.0,
153
+ "eval_accuracy": 0.894374282433984,
154
+ "eval_f1_macro": 0.8051053828192507,
155
+ "eval_f1_micro": 0.894374282433984,
156
+ "eval_f1_weighted": 0.873046532458625,
157
+ "eval_loss": 1.2569515705108643,
158
+ "eval_precision_macro": 0.8115089918981042,
159
+ "eval_precision_micro": 0.894374282433984,
160
+ "eval_precision_weighted": 0.8651899492644617,
161
+ "eval_recall_macro": 0.8114935647033297,
162
+ "eval_recall_micro": 0.894374282433984,
163
+ "eval_recall_weighted": 0.894374282433984,
164
+ "eval_runtime": 239.8294,
165
+ "eval_samples_per_second": 3.632,
166
+ "eval_steps_per_second": 0.229,
167
+ "step": 436
168
+ },
169
+ {
170
+ "epoch": 1.011467889908257,
171
+ "grad_norm": 2.779827356338501,
172
+ "learning_rate": 3.683092608326254e-05,
173
+ "loss": 1.3492,
174
+ "step": 441
175
+ },
176
+ {
177
+ "epoch": 1.0596330275229358,
178
+ "grad_norm": 1.8907132148742676,
179
+ "learning_rate": 3.593882752761258e-05,
180
+ "loss": 1.1687,
181
+ "step": 462
182
+ },
183
+ {
184
+ "epoch": 1.1077981651376148,
185
+ "grad_norm": 2.820099353790283,
186
+ "learning_rate": 3.504672897196262e-05,
187
+ "loss": 1.1674,
188
+ "step": 483
189
+ },
190
+ {
191
+ "epoch": 1.1559633027522935,
192
+ "grad_norm": 2.1670854091644287,
193
+ "learning_rate": 3.4154630416312664e-05,
194
+ "loss": 1.0214,
195
+ "step": 504
196
+ },
197
+ {
198
+ "epoch": 1.2041284403669725,
199
+ "grad_norm": 3.120657205581665,
200
+ "learning_rate": 3.3262531860662704e-05,
201
+ "loss": 1.0219,
202
+ "step": 525
203
+ },
204
+ {
205
+ "epoch": 1.2522935779816513,
206
+ "grad_norm": 2.640239953994751,
207
+ "learning_rate": 3.237043330501275e-05,
208
+ "loss": 1.1357,
209
+ "step": 546
210
+ },
211
+ {
212
+ "epoch": 1.3004587155963303,
213
+ "grad_norm": 1.9752024412155151,
214
+ "learning_rate": 3.1478334749362784e-05,
215
+ "loss": 1.0555,
216
+ "step": 567
217
+ },
218
+ {
219
+ "epoch": 1.3486238532110093,
220
+ "grad_norm": 1.71910560131073,
221
+ "learning_rate": 3.058623619371283e-05,
222
+ "loss": 1.0783,
223
+ "step": 588
224
+ },
225
+ {
226
+ "epoch": 1.396788990825688,
227
+ "grad_norm": 9.664629936218262,
228
+ "learning_rate": 2.9694137638062874e-05,
229
+ "loss": 0.9832,
230
+ "step": 609
231
+ },
232
+ {
233
+ "epoch": 1.4449541284403669,
234
+ "grad_norm": 2.451026678085327,
235
+ "learning_rate": 2.8802039082412917e-05,
236
+ "loss": 0.8341,
237
+ "step": 630
238
+ },
239
+ {
240
+ "epoch": 1.4931192660550459,
241
+ "grad_norm": 2.1199676990509033,
242
+ "learning_rate": 2.7909940526762957e-05,
243
+ "loss": 1.0136,
244
+ "step": 651
245
+ },
246
+ {
247
+ "epoch": 1.5412844036697249,
248
+ "grad_norm": 3.5715463161468506,
249
+ "learning_rate": 2.7017841971113e-05,
250
+ "loss": 0.7984,
251
+ "step": 672
252
+ },
253
+ {
254
+ "epoch": 1.5894495412844036,
255
+ "grad_norm": 1.626522421836853,
256
+ "learning_rate": 2.6125743415463044e-05,
257
+ "loss": 0.9559,
258
+ "step": 693
259
+ },
260
+ {
261
+ "epoch": 1.6376146788990824,
262
+ "grad_norm": 1.7497867345809937,
263
+ "learning_rate": 2.5233644859813084e-05,
264
+ "loss": 0.8368,
265
+ "step": 714
266
+ },
267
+ {
268
+ "epoch": 1.6857798165137616,
269
+ "grad_norm": 2.7178101539611816,
270
+ "learning_rate": 2.4341546304163128e-05,
271
+ "loss": 0.8023,
272
+ "step": 735
273
+ },
274
+ {
275
+ "epoch": 1.7339449541284404,
276
+ "grad_norm": 2.281031847000122,
277
+ "learning_rate": 2.344944774851317e-05,
278
+ "loss": 0.7453,
279
+ "step": 756
280
+ },
281
+ {
282
+ "epoch": 1.7821100917431192,
283
+ "grad_norm": 1.7821966409683228,
284
+ "learning_rate": 2.255734919286321e-05,
285
+ "loss": 0.8015,
286
+ "step": 777
287
+ },
288
+ {
289
+ "epoch": 1.8302752293577982,
290
+ "grad_norm": 1.3424816131591797,
291
+ "learning_rate": 2.1665250637213254e-05,
292
+ "loss": 0.7275,
293
+ "step": 798
294
+ },
295
+ {
296
+ "epoch": 1.8784403669724772,
297
+ "grad_norm": 1.7806196212768555,
298
+ "learning_rate": 2.0773152081563298e-05,
299
+ "loss": 0.6145,
300
+ "step": 819
301
+ },
302
+ {
303
+ "epoch": 1.926605504587156,
304
+ "grad_norm": 4.092787742614746,
305
+ "learning_rate": 1.988105352591334e-05,
306
+ "loss": 0.8425,
307
+ "step": 840
308
+ },
309
+ {
310
+ "epoch": 1.9747706422018347,
311
+ "grad_norm": 1.5650473833084106,
312
+ "learning_rate": 1.898895497026338e-05,
313
+ "loss": 0.611,
314
+ "step": 861
315
+ },
316
+ {
317
+ "epoch": 2.0,
318
+ "eval_accuracy": 0.9299655568312285,
319
+ "eval_f1_macro": 0.8694486039564705,
320
+ "eval_f1_micro": 0.9299655568312285,
321
+ "eval_f1_weighted": 0.921007849889886,
322
+ "eval_loss": 0.651887834072113,
323
+ "eval_precision_macro": 0.9050329236018922,
324
+ "eval_precision_micro": 0.9299655568312285,
325
+ "eval_precision_weighted": 0.930114609660056,
326
+ "eval_recall_macro": 0.8686805918948776,
327
+ "eval_recall_micro": 0.9299655568312285,
328
+ "eval_recall_weighted": 0.9299655568312285,
329
+ "eval_runtime": 246.9545,
330
+ "eval_samples_per_second": 3.527,
331
+ "eval_steps_per_second": 0.223,
332
+ "step": 872
333
+ },
334
+ {
335
+ "epoch": 2.022935779816514,
336
+ "grad_norm": 1.7228009700775146,
337
+ "learning_rate": 1.8096856414613425e-05,
338
+ "loss": 0.6149,
339
+ "step": 882
340
+ },
341
+ {
342
+ "epoch": 2.0711009174311927,
343
+ "grad_norm": 1.0110563039779663,
344
+ "learning_rate": 1.7204757858963465e-05,
345
+ "loss": 0.6054,
346
+ "step": 903
347
+ },
348
+ {
349
+ "epoch": 2.1192660550458715,
350
+ "grad_norm": 2.089489459991455,
351
+ "learning_rate": 1.631265930331351e-05,
352
+ "loss": 0.5892,
353
+ "step": 924
354
+ },
355
+ {
356
+ "epoch": 2.1674311926605503,
357
+ "grad_norm": 3.8727471828460693,
358
+ "learning_rate": 1.542056074766355e-05,
359
+ "loss": 0.6047,
360
+ "step": 945
361
+ },
362
+ {
363
+ "epoch": 2.2155963302752295,
364
+ "grad_norm": 6.963907718658447,
365
+ "learning_rate": 1.4528462192013595e-05,
366
+ "loss": 0.7119,
367
+ "step": 966
368
+ },
369
+ {
370
+ "epoch": 2.2637614678899083,
371
+ "grad_norm": 8.155523300170898,
372
+ "learning_rate": 1.3636363636363637e-05,
373
+ "loss": 0.5669,
374
+ "step": 987
375
+ },
376
+ {
377
+ "epoch": 2.311926605504587,
378
+ "grad_norm": 1.108087182044983,
379
+ "learning_rate": 1.274426508071368e-05,
380
+ "loss": 0.5578,
381
+ "step": 1008
382
+ },
383
+ {
384
+ "epoch": 2.3600917431192663,
385
+ "grad_norm": 1.5833345651626587,
386
+ "learning_rate": 1.1852166525063722e-05,
387
+ "loss": 0.5166,
388
+ "step": 1029
389
+ },
390
+ {
391
+ "epoch": 2.408256880733945,
392
+ "grad_norm": 1.2604899406433105,
393
+ "learning_rate": 1.0960067969413765e-05,
394
+ "loss": 0.5601,
395
+ "step": 1050
396
+ },
397
+ {
398
+ "epoch": 2.456422018348624,
399
+ "grad_norm": 4.4068803787231445,
400
+ "learning_rate": 1.0067969413763807e-05,
401
+ "loss": 0.6205,
402
+ "step": 1071
403
+ },
404
+ {
405
+ "epoch": 2.5045871559633026,
406
+ "grad_norm": 1.395455241203308,
407
+ "learning_rate": 9.17587085811385e-06,
408
+ "loss": 0.5442,
409
+ "step": 1092
410
+ },
411
+ {
412
+ "epoch": 2.5527522935779814,
413
+ "grad_norm": 1.0073862075805664,
414
+ "learning_rate": 8.283772302463892e-06,
415
+ "loss": 0.5595,
416
+ "step": 1113
417
+ },
418
+ {
419
+ "epoch": 2.6009174311926606,
420
+ "grad_norm": 0.7341888546943665,
421
+ "learning_rate": 7.3916737468139344e-06,
422
+ "loss": 0.5467,
423
+ "step": 1134
424
+ },
425
+ {
426
+ "epoch": 2.6490825688073394,
427
+ "grad_norm": 2.1980624198913574,
428
+ "learning_rate": 6.499575191163977e-06,
429
+ "loss": 0.4944,
430
+ "step": 1155
431
+ },
432
+ {
433
+ "epoch": 2.6972477064220186,
434
+ "grad_norm": 0.7979319095611572,
435
+ "learning_rate": 5.607476635514019e-06,
436
+ "loss": 0.4762,
437
+ "step": 1176
438
+ },
439
+ {
440
+ "epoch": 2.7454128440366974,
441
+ "grad_norm": 0.8854362964630127,
442
+ "learning_rate": 4.715378079864061e-06,
443
+ "loss": 0.4859,
444
+ "step": 1197
445
+ },
446
+ {
447
+ "epoch": 2.793577981651376,
448
+ "grad_norm": 3.9355533123016357,
449
+ "learning_rate": 3.823279524214104e-06,
450
+ "loss": 0.5437,
451
+ "step": 1218
452
+ },
453
+ {
454
+ "epoch": 2.841743119266055,
455
+ "grad_norm": 1.979769229888916,
456
+ "learning_rate": 2.9311809685641464e-06,
457
+ "loss": 0.6145,
458
+ "step": 1239
459
+ },
460
+ {
461
+ "epoch": 2.8899082568807337,
462
+ "grad_norm": 2.3662595748901367,
463
+ "learning_rate": 2.039082412914189e-06,
464
+ "loss": 0.5707,
465
+ "step": 1260
466
+ },
467
+ {
468
+ "epoch": 2.938073394495413,
469
+ "grad_norm": 0.9545218348503113,
470
+ "learning_rate": 1.1469838572642313e-06,
471
+ "loss": 0.5762,
472
+ "step": 1281
473
+ },
474
+ {
475
+ "epoch": 2.9862385321100917,
476
+ "grad_norm": 0.9657421708106995,
477
+ "learning_rate": 2.548853016142736e-07,
478
+ "loss": 0.5072,
479
+ "step": 1302
480
+ },
481
+ {
482
+ "epoch": 3.0,
483
+ "eval_accuracy": 0.9506314580941446,
484
+ "eval_f1_macro": 0.9034486384853411,
485
+ "eval_f1_micro": 0.9506314580941446,
486
+ "eval_f1_weighted": 0.9453900122810057,
487
+ "eval_loss": 0.5076770186424255,
488
+ "eval_precision_macro": 0.9375712446090816,
489
+ "eval_precision_micro": 0.9506314580941446,
490
+ "eval_precision_weighted": 0.9538751552377964,
491
+ "eval_recall_macro": 0.89997224997225,
492
+ "eval_recall_micro": 0.9506314580941446,
493
+ "eval_recall_weighted": 0.9506314580941446,
494
+ "eval_runtime": 251.978,
495
+ "eval_samples_per_second": 3.457,
496
+ "eval_steps_per_second": 0.218,
497
+ "step": 1308
498
+ }
499
+ ],
500
+ "logging_steps": 21,
501
+ "max_steps": 1308,
502
+ "num_input_tokens_seen": 0,
503
+ "num_train_epochs": 3,
504
+ "save_steps": 500,
505
+ "stateful_callbacks": {
506
+ "EarlyStoppingCallback": {
507
+ "args": {
508
+ "early_stopping_patience": 5,
509
+ "early_stopping_threshold": 0.01
510
+ },
511
+ "attributes": {
512
+ "early_stopping_patience_counter": 0
513
+ }
514
+ },
515
+ "TrainerControl": {
516
+ "args": {
517
+ "should_epoch_stop": false,
518
+ "should_evaluate": false,
519
+ "should_log": false,
520
+ "should_save": true,
521
+ "should_training_stop": true
522
+ },
523
+ "attributes": {}
524
+ }
525
+ },
526
+ "total_flos": 8.095389692033065e+17,
527
+ "train_batch_size": 8,
528
+ "trial_name": null,
529
+ "trial_params": null
530
+ }
checkpoint-1308/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ec14c45fd1978478c1a0e1f00ad475f8f702fa2626cb07425d06ddfd1b128ff
3
+ size 5240
config.json ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Falconsai/nsfw_image_detection",
3
+ "_num_labels": 42,
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": 768,
12
+ "id2label": {
13
+ "0": "Balon_Baseball",
14
+ "1": "Balon_Basketball",
15
+ "2": "Balon_Billar",
16
+ "3": "Balon_Bolos",
17
+ "4": "Balon_Futbol",
18
+ "5": "Balon_Futbol_Americano",
19
+ "6": "Balon_Golf",
20
+ "7": "Balon_Rugby",
21
+ "8": "Balon_Tennis",
22
+ "9": "Balon_Tennis_Mesa",
23
+ "10": "Balon_Volleyball",
24
+ "11": "Camisas",
25
+ "12": "Fruta_Arandano",
26
+ "13": "Fruta_Banana",
27
+ "14": "Fruta_Cebolla Blanca",
28
+ "15": "Fruta_Cereza",
29
+ "16": "Fruta_Ciruela",
30
+ "17": "Fruta_Durazno",
31
+ "18": "Fruta_Frambuesa",
32
+ "19": "Fruta_Fresa",
33
+ "20": "Fruta_Granada",
34
+ "21": "Fruta_Kiwi",
35
+ "22": "Fruta_Limon",
36
+ "23": "Fruta_Mango",
37
+ "24": "Fruta_Manzana Braeburn",
38
+ "25": "Fruta_Mazorca",
39
+ "26": "Fruta_Naranja",
40
+ "27": "Fruta_Papaya",
41
+ "28": "Fruta_Passion Fruit",
42
+ "29": "Fruta_Pera",
43
+ "30": "Fruta_Pimenton Rojo",
44
+ "31": "Fruta_Pimenton Verde",
45
+ "32": "Fruta_Pi\u00f1a",
46
+ "33": "Fruta_Sandia",
47
+ "34": "Fruta_Tomate",
48
+ "35": "Fruta_Uva",
49
+ "36": "Mesas",
50
+ "37": "Pantalones",
51
+ "38": "Vasos",
52
+ "39": "Zapatos",
53
+ "40": "gaseosa",
54
+ "41": "gorros"
55
+ },
56
+ "image_size": 224,
57
+ "initializer_range": 0.02,
58
+ "intermediate_size": 3072,
59
+ "label2id": {
60
+ "Balon_Baseball": 0,
61
+ "Balon_Basketball": 1,
62
+ "Balon_Billar": 2,
63
+ "Balon_Bolos": 3,
64
+ "Balon_Futbol": 4,
65
+ "Balon_Futbol_Americano": 5,
66
+ "Balon_Golf": 6,
67
+ "Balon_Rugby": 7,
68
+ "Balon_Tennis": 8,
69
+ "Balon_Tennis_Mesa": 9,
70
+ "Balon_Volleyball": 10,
71
+ "Camisas": 11,
72
+ "Fruta_Arandano": 12,
73
+ "Fruta_Banana": 13,
74
+ "Fruta_Cebolla Blanca": 14,
75
+ "Fruta_Cereza": 15,
76
+ "Fruta_Ciruela": 16,
77
+ "Fruta_Durazno": 17,
78
+ "Fruta_Frambuesa": 18,
79
+ "Fruta_Fresa": 19,
80
+ "Fruta_Granada": 20,
81
+ "Fruta_Kiwi": 21,
82
+ "Fruta_Limon": 22,
83
+ "Fruta_Mango": 23,
84
+ "Fruta_Manzana Braeburn": 24,
85
+ "Fruta_Mazorca": 25,
86
+ "Fruta_Naranja": 26,
87
+ "Fruta_Papaya": 27,
88
+ "Fruta_Passion Fruit": 28,
89
+ "Fruta_Pera": 29,
90
+ "Fruta_Pimenton Rojo": 30,
91
+ "Fruta_Pimenton Verde": 31,
92
+ "Fruta_Pi\u00f1a": 32,
93
+ "Fruta_Sandia": 33,
94
+ "Fruta_Tomate": 34,
95
+ "Fruta_Uva": 35,
96
+ "Mesas": 36,
97
+ "Pantalones": 37,
98
+ "Vasos": 38,
99
+ "Zapatos": 39,
100
+ "gaseosa": 40,
101
+ "gorros": 41
102
+ },
103
+ "layer_norm_eps": 1e-12,
104
+ "model_type": "vit",
105
+ "num_attention_heads": 12,
106
+ "num_channels": 3,
107
+ "num_hidden_layers": 12,
108
+ "patch_size": 16,
109
+ "problem_type": "single_label_classification",
110
+ "qkv_bias": true,
111
+ "torch_dtype": "float32",
112
+ "transformers_version": "4.44.2"
113
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7654b00bb4abbfc96e41113fe28a5ac8218826346ec6bf67f2dc96efff201d75
3
+ size 343347024
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/Sep24_17-35-18_r-aoishi19-autotrain-supermarket-2-dfyb4tsk-ab4bf-h6pjq/events.out.tfevents.1727199321.r-aoishi19-autotrain-supermarket-2-dfyb4tsk-ab4bf-h6pjq.388.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c88a426a11def82371e572e77af5dff0cde2cd560d38141eeece789bdb2ccf0a
3
- size 21425
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c63d10483808c5530a25a1c4d4c8d509eaafd31e120ddc599ed4cb3731ae89e1
3
+ size 23034
runs/Sep24_17-35-18_r-aoishi19-autotrain-supermarket-2-dfyb4tsk-ab4bf-h6pjq/events.out.tfevents.1727209883.r-aoishi19-autotrain-supermarket-2-dfyb4tsk-ab4bf-h6pjq.388.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ed7f34e48cf37a031dc0065207c7399c8531ffd164643d77995fcecfeba4e04
3
+ size 921
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ec14c45fd1978478c1a0e1f00ad475f8f702fa2626cb07425d06ddfd1b128ff
3
+ size 5240
training_params.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "autotrain-supermarket2/autotrain-data",
3
+ "model": "Falconsai/nsfw_image_detection",
4
+ "username": "Aoishi19",
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": "autotrain-supermarket2",
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
+ }