dima806 commited on
Commit
ce2934c
1 Parent(s): 1d19013

Upload folder using huggingface_hub

Browse files
checkpoint-930/config.json ADDED
@@ -0,0 +1,328 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/pokemon_types_image_detection",
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": "Wartortle",
13
+ "1": "Arcanine",
14
+ "2": "Staryu",
15
+ "3": "Arbok",
16
+ "4": "Butterfree",
17
+ "5": "Geodude",
18
+ "6": "Seaking",
19
+ "7": "Diglett",
20
+ "8": "Jynx",
21
+ "9": "Sandslash",
22
+ "10": "Magneton",
23
+ "11": "Scyther",
24
+ "12": "Kabuto",
25
+ "13": "Cubone",
26
+ "14": "Golem",
27
+ "15": "Dewgong",
28
+ "16": "Pidgey",
29
+ "17": "Kadabra",
30
+ "18": "Ditto",
31
+ "19": "Venomoth",
32
+ "20": "Rattata",
33
+ "21": "Alakazam",
34
+ "22": "Machoke",
35
+ "23": "Farfetchd",
36
+ "24": "Omastar",
37
+ "25": "Machamp",
38
+ "26": "Jigglypuff",
39
+ "27": "Dragonite",
40
+ "28": "Weepinbell",
41
+ "29": "Sandshrew",
42
+ "30": "Dugtrio",
43
+ "31": "Mankey",
44
+ "32": "Hitmonchan",
45
+ "33": "Spearow",
46
+ "34": "Caterpie",
47
+ "35": "Dratini",
48
+ "36": "Bulbasaur",
49
+ "37": "Tentacool",
50
+ "38": "Gengar",
51
+ "39": "Machop",
52
+ "40": "Raichu",
53
+ "41": "Alolan Sandslash",
54
+ "42": "Eevee",
55
+ "43": "Abra",
56
+ "44": "Haunter",
57
+ "45": "Metapod",
58
+ "46": "Fearow",
59
+ "47": "Nidorina",
60
+ "48": "Zapdos",
61
+ "49": "Ninetales",
62
+ "50": "Chansey",
63
+ "51": "Kangaskhan",
64
+ "52": "Poliwrath",
65
+ "53": "Gyarados",
66
+ "54": "Charmeleon",
67
+ "55": "Vulpix",
68
+ "56": "Pidgeot",
69
+ "57": "Blastoise",
70
+ "58": "Porygon",
71
+ "59": "Psyduck",
72
+ "60": "Dragonair",
73
+ "61": "Raticate",
74
+ "62": "Squirtle",
75
+ "63": "Charizard",
76
+ "64": "Electrode",
77
+ "65": "Flareon",
78
+ "66": "Exeggutor",
79
+ "67": "Pikachu",
80
+ "68": "Wigglytuff",
81
+ "69": "Venusaur",
82
+ "70": "Mewtwo",
83
+ "71": "Clefable",
84
+ "72": "Oddish",
85
+ "73": "Ekans",
86
+ "74": "Shellder",
87
+ "75": "Marowak",
88
+ "76": "Kakuna",
89
+ "77": "Rapidash",
90
+ "78": "Rhydon",
91
+ "79": "Ivysaur",
92
+ "80": "Slowpoke",
93
+ "81": "Lapras",
94
+ "82": "Clefairy",
95
+ "83": "Hitmonlee",
96
+ "84": "Jolteon",
97
+ "85": "Growlithe",
98
+ "86": "Gastly",
99
+ "87": "Aerodactyl",
100
+ "88": "Weedle",
101
+ "89": "Tauros",
102
+ "90": "Seel",
103
+ "91": "Zubat",
104
+ "92": "Meowth",
105
+ "93": "Persian",
106
+ "94": "Articuno",
107
+ "95": "Weezing",
108
+ "96": "Magnemite",
109
+ "97": "Omanyte",
110
+ "98": "Mew",
111
+ "99": "Vileplume",
112
+ "100": "Nidoqueen",
113
+ "101": "Vaporeon",
114
+ "102": "Ponyta",
115
+ "103": "Moltres",
116
+ "104": "Voltorb",
117
+ "105": "Magikarp",
118
+ "106": "Beedrill",
119
+ "107": "Nidoking",
120
+ "108": "Paras",
121
+ "109": "Grimer",
122
+ "110": "Dodrio",
123
+ "111": "Charmander",
124
+ "112": "Muk",
125
+ "113": "Primeape",
126
+ "114": "Victreebel",
127
+ "115": "Golbat",
128
+ "116": "Horsea",
129
+ "117": "Goldeen",
130
+ "118": "Pidgeotto",
131
+ "119": "Koffing",
132
+ "120": "Seadra",
133
+ "121": "Tentacruel",
134
+ "122": "Pinsir",
135
+ "123": "Cloyster",
136
+ "124": "Gloom",
137
+ "125": "Graveler",
138
+ "126": "Magmar",
139
+ "127": "Krabby",
140
+ "128": "Electabuzz",
141
+ "129": "Poliwhirl",
142
+ "130": "Golduck",
143
+ "131": "Onix",
144
+ "132": "Nidorino",
145
+ "133": "Snorlax",
146
+ "134": "Starmie",
147
+ "135": "Slowbro",
148
+ "136": "MrMime",
149
+ "137": "Venonat",
150
+ "138": "Kabutops",
151
+ "139": "Drowzee",
152
+ "140": "Rhyhorn",
153
+ "141": "Tangela",
154
+ "142": "Doduo",
155
+ "143": "Exeggcute",
156
+ "144": "Poliwag",
157
+ "145": "Lickitung",
158
+ "146": "Hypno",
159
+ "147": "Bellsprout",
160
+ "148": "Parasect",
161
+ "149": "Kingler"
162
+ },
163
+ "image_size": 224,
164
+ "initializer_range": 0.02,
165
+ "intermediate_size": 3072,
166
+ "label2id": {
167
+ "Abra": 43,
168
+ "Aerodactyl": 87,
169
+ "Alakazam": 21,
170
+ "Alolan Sandslash": 41,
171
+ "Arbok": 3,
172
+ "Arcanine": 1,
173
+ "Articuno": 94,
174
+ "Beedrill": 106,
175
+ "Bellsprout": 147,
176
+ "Blastoise": 57,
177
+ "Bulbasaur": 36,
178
+ "Butterfree": 4,
179
+ "Caterpie": 34,
180
+ "Chansey": 50,
181
+ "Charizard": 63,
182
+ "Charmander": 111,
183
+ "Charmeleon": 54,
184
+ "Clefable": 71,
185
+ "Clefairy": 82,
186
+ "Cloyster": 123,
187
+ "Cubone": 13,
188
+ "Dewgong": 15,
189
+ "Diglett": 7,
190
+ "Ditto": 18,
191
+ "Dodrio": 110,
192
+ "Doduo": 142,
193
+ "Dragonair": 60,
194
+ "Dragonite": 27,
195
+ "Dratini": 35,
196
+ "Drowzee": 139,
197
+ "Dugtrio": 30,
198
+ "Eevee": 42,
199
+ "Ekans": 73,
200
+ "Electabuzz": 128,
201
+ "Electrode": 64,
202
+ "Exeggcute": 143,
203
+ "Exeggutor": 66,
204
+ "Farfetchd": 23,
205
+ "Fearow": 46,
206
+ "Flareon": 65,
207
+ "Gastly": 86,
208
+ "Gengar": 38,
209
+ "Geodude": 5,
210
+ "Gloom": 124,
211
+ "Golbat": 115,
212
+ "Goldeen": 117,
213
+ "Golduck": 130,
214
+ "Golem": 14,
215
+ "Graveler": 125,
216
+ "Grimer": 109,
217
+ "Growlithe": 85,
218
+ "Gyarados": 53,
219
+ "Haunter": 44,
220
+ "Hitmonchan": 32,
221
+ "Hitmonlee": 83,
222
+ "Horsea": 116,
223
+ "Hypno": 146,
224
+ "Ivysaur": 79,
225
+ "Jigglypuff": 26,
226
+ "Jolteon": 84,
227
+ "Jynx": 8,
228
+ "Kabuto": 12,
229
+ "Kabutops": 138,
230
+ "Kadabra": 17,
231
+ "Kakuna": 76,
232
+ "Kangaskhan": 51,
233
+ "Kingler": 149,
234
+ "Koffing": 119,
235
+ "Krabby": 127,
236
+ "Lapras": 81,
237
+ "Lickitung": 145,
238
+ "Machamp": 25,
239
+ "Machoke": 22,
240
+ "Machop": 39,
241
+ "Magikarp": 105,
242
+ "Magmar": 126,
243
+ "Magnemite": 96,
244
+ "Magneton": 10,
245
+ "Mankey": 31,
246
+ "Marowak": 75,
247
+ "Meowth": 92,
248
+ "Metapod": 45,
249
+ "Mew": 98,
250
+ "Mewtwo": 70,
251
+ "Moltres": 103,
252
+ "MrMime": 136,
253
+ "Muk": 112,
254
+ "Nidoking": 107,
255
+ "Nidoqueen": 100,
256
+ "Nidorina": 47,
257
+ "Nidorino": 132,
258
+ "Ninetales": 49,
259
+ "Oddish": 72,
260
+ "Omanyte": 97,
261
+ "Omastar": 24,
262
+ "Onix": 131,
263
+ "Paras": 108,
264
+ "Parasect": 148,
265
+ "Persian": 93,
266
+ "Pidgeot": 56,
267
+ "Pidgeotto": 118,
268
+ "Pidgey": 16,
269
+ "Pikachu": 67,
270
+ "Pinsir": 122,
271
+ "Poliwag": 144,
272
+ "Poliwhirl": 129,
273
+ "Poliwrath": 52,
274
+ "Ponyta": 102,
275
+ "Porygon": 58,
276
+ "Primeape": 113,
277
+ "Psyduck": 59,
278
+ "Raichu": 40,
279
+ "Rapidash": 77,
280
+ "Raticate": 61,
281
+ "Rattata": 20,
282
+ "Rhydon": 78,
283
+ "Rhyhorn": 140,
284
+ "Sandshrew": 29,
285
+ "Sandslash": 9,
286
+ "Scyther": 11,
287
+ "Seadra": 120,
288
+ "Seaking": 6,
289
+ "Seel": 90,
290
+ "Shellder": 74,
291
+ "Slowbro": 135,
292
+ "Slowpoke": 80,
293
+ "Snorlax": 133,
294
+ "Spearow": 33,
295
+ "Squirtle": 62,
296
+ "Starmie": 134,
297
+ "Staryu": 2,
298
+ "Tangela": 141,
299
+ "Tauros": 89,
300
+ "Tentacool": 37,
301
+ "Tentacruel": 121,
302
+ "Vaporeon": 101,
303
+ "Venomoth": 19,
304
+ "Venonat": 137,
305
+ "Venusaur": 69,
306
+ "Victreebel": 114,
307
+ "Vileplume": 99,
308
+ "Voltorb": 104,
309
+ "Vulpix": 55,
310
+ "Wartortle": 0,
311
+ "Weedle": 88,
312
+ "Weepinbell": 28,
313
+ "Weezing": 95,
314
+ "Wigglytuff": 68,
315
+ "Zapdos": 48,
316
+ "Zubat": 91
317
+ },
318
+ "layer_norm_eps": 1e-12,
319
+ "model_type": "vit",
320
+ "num_attention_heads": 12,
321
+ "num_channels": 3,
322
+ "num_hidden_layers": 12,
323
+ "patch_size": 16,
324
+ "problem_type": "single_label_classification",
325
+ "qkv_bias": true,
326
+ "torch_dtype": "float32",
327
+ "transformers_version": "4.39.2"
328
+ }
checkpoint-930/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ec9f5587a8c864f3981072a01b7b1e7033974316e5ad16a85cd404eca2ae8db
3
+ size 343679232
checkpoint-930/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0dd5f300bea8e79cd06793dbdb9973eecfb98dcd92815f0d2df70ce521646a14
3
+ size 687478917
checkpoint-930/preprocessor_config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "resample",
7
+ "do_rescale",
8
+ "rescale_factor",
9
+ "do_normalize",
10
+ "image_mean",
11
+ "image_std",
12
+ "return_tensors",
13
+ "data_format",
14
+ "input_data_format"
15
+ ],
16
+ "do_normalize": true,
17
+ "do_rescale": true,
18
+ "do_resize": true,
19
+ "image_mean": [
20
+ 0.5,
21
+ 0.5,
22
+ 0.5
23
+ ],
24
+ "image_processor_type": "ViTImageProcessor",
25
+ "image_std": [
26
+ 0.5,
27
+ 0.5,
28
+ 0.5
29
+ ],
30
+ "resample": 2,
31
+ "rescale_factor": 0.00392156862745098,
32
+ "size": {
33
+ "height": 224,
34
+ "width": 224
35
+ }
36
+ }
checkpoint-930/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f1c13a449bc6445c5f6889c9270da62a1818cb9c7160ac6eb40a3d61cfbe400
3
+ size 14575
checkpoint-930/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80998c66b6a79f59ae7be99a33953186a66cd85b1ec9d9de3abe24cf6096c32d
3
+ size 627
checkpoint-930/trainer_state.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.9411983489990234,
3
+ "best_model_checkpoint": "pokemon_types_image_detection/checkpoint-930",
4
+ "epoch": 5.0,
5
+ "eval_steps": 500,
6
+ "global_step": 930,
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.9583333333333334,
14
+ "eval_loss": 0.9651849269866943,
15
+ "eval_runtime": 51.6263,
16
+ "eval_samples_per_second": 76.705,
17
+ "eval_steps_per_second": 9.588,
18
+ "step": 186
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.9585858585858585,
23
+ "eval_loss": 0.9547479748725891,
24
+ "eval_runtime": 51.7206,
25
+ "eval_samples_per_second": 76.565,
26
+ "eval_steps_per_second": 9.571,
27
+ "step": 372
28
+ },
29
+ {
30
+ "epoch": 2.69,
31
+ "grad_norm": 1.6661704778671265,
32
+ "learning_rate": 4.886363636363636e-07,
33
+ "loss": 1.0008,
34
+ "step": 500
35
+ },
36
+ {
37
+ "epoch": 3.0,
38
+ "eval_accuracy": 0.9588383838383838,
39
+ "eval_loss": 0.9472126364707947,
40
+ "eval_runtime": 51.7404,
41
+ "eval_samples_per_second": 76.536,
42
+ "eval_steps_per_second": 9.567,
43
+ "step": 558
44
+ },
45
+ {
46
+ "epoch": 4.0,
47
+ "eval_accuracy": 0.9588383838383838,
48
+ "eval_loss": 0.9425832033157349,
49
+ "eval_runtime": 51.3176,
50
+ "eval_samples_per_second": 77.166,
51
+ "eval_steps_per_second": 9.646,
52
+ "step": 744
53
+ },
54
+ {
55
+ "epoch": 5.0,
56
+ "eval_accuracy": 0.9588383838383838,
57
+ "eval_loss": 0.9411983489990234,
58
+ "eval_runtime": 51.6442,
59
+ "eval_samples_per_second": 76.678,
60
+ "eval_steps_per_second": 9.585,
61
+ "step": 930
62
+ }
63
+ ],
64
+ "logging_steps": 500,
65
+ "max_steps": 930,
66
+ "num_input_tokens_seen": 0,
67
+ "num_train_epochs": 5,
68
+ "save_steps": 500,
69
+ "total_flos": 2.3045649948389376e+18,
70
+ "train_batch_size": 32,
71
+ "trial_name": null,
72
+ "trial_params": null
73
+ }
checkpoint-930/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9aa2e336d9398f0df1f7ee740816bdc17f00243e383bf6d349a087b7f7b38b73
3
+ size 4411
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "google/vit-base-patch16-224-in21k",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
@@ -324,5 +324,5 @@
324
  "problem_type": "single_label_classification",
325
  "qkv_bias": true,
326
  "torch_dtype": "float32",
327
- "transformers_version": "4.33.3"
328
  }
 
1
  {
2
+ "_name_or_path": "dima806/pokemon_types_image_detection",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
 
324
  "problem_type": "single_label_classification",
325
  "qkv_bias": true,
326
  "torch_dtype": "float32",
327
+ "transformers_version": "4.39.2"
328
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ec9f5587a8c864f3981072a01b7b1e7033974316e5ad16a85cd404eca2ae8db
3
+ size 343679232
preprocessor_config.json CHANGED
@@ -1,4 +1,18 @@
1
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  "do_normalize": true,
3
  "do_rescale": true,
4
  "do_resize": true,
 
1
  {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "resample",
7
+ "do_rescale",
8
+ "rescale_factor",
9
+ "do_normalize",
10
+ "image_mean",
11
+ "image_std",
12
+ "return_tensors",
13
+ "data_format",
14
+ "input_data_format"
15
+ ],
16
  "do_normalize": true,
17
  "do_rescale": true,
18
  "do_resize": true,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5eb2aa0893f36bd4bccb5cedd2df63d8fd8a20363e40239439d362401df751c6
3
- size 4027
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9aa2e336d9398f0df1f7ee740816bdc17f00243e383bf6d349a087b7f7b38b73
3
+ size 4411