Upload folder using huggingface_hub
Browse files- checkpoint-7622/config.json +124 -0
- checkpoint-7622/model.safetensors +3 -0
- checkpoint-7622/optimizer.pt +3 -0
- checkpoint-7622/preprocessor_config.json +22 -0
- checkpoint-7622/rng_state.pth +3 -0
- checkpoint-7622/scheduler.pt +3 -0
- checkpoint-7622/trainer_state.json +129 -0
- checkpoint-7622/training_args.bin +3 -0
- model.safetensors +1 -1
- training_args.bin +1 -1
checkpoint-7622/config.json
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "dima806/cat_breed_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": "Abyssinian",
|
13 |
+
"1": "American Bobtail",
|
14 |
+
"2": "American Curl",
|
15 |
+
"3": "American Shorthair",
|
16 |
+
"4": "Applehead Siamese",
|
17 |
+
"5": "Balinese",
|
18 |
+
"6": "Bengal",
|
19 |
+
"7": "Birman",
|
20 |
+
"8": "Bombay",
|
21 |
+
"9": "British Shorthair",
|
22 |
+
"10": "Burmese",
|
23 |
+
"11": "Calico",
|
24 |
+
"12": "Cornish Rex",
|
25 |
+
"13": "Devon Rex",
|
26 |
+
"14": "Dilute Calico",
|
27 |
+
"15": "Dilute Tortoiseshell",
|
28 |
+
"16": "Domestic Long Hair",
|
29 |
+
"17": "Domestic Medium Hair",
|
30 |
+
"18": "Domestic Short Hair",
|
31 |
+
"19": "Egyptian Mau",
|
32 |
+
"20": "Exotic Shorthair",
|
33 |
+
"21": "Extra-Toes Cat - Hemingway Polydactyl",
|
34 |
+
"22": "Havana",
|
35 |
+
"23": "Himalayan",
|
36 |
+
"24": "Japanese Bobtail",
|
37 |
+
"25": "Maine Coon",
|
38 |
+
"26": "Manx",
|
39 |
+
"27": "Munchkin",
|
40 |
+
"28": "Nebelung",
|
41 |
+
"29": "Norwegian Forest",
|
42 |
+
"30": "Oriental Short Hair",
|
43 |
+
"31": "Persian",
|
44 |
+
"32": "Ragamuffin",
|
45 |
+
"33": "Ragdoll",
|
46 |
+
"34": "Russian Blue",
|
47 |
+
"35": "Scottish Fold",
|
48 |
+
"36": "Siamese",
|
49 |
+
"37": "Siberian",
|
50 |
+
"38": "Snowshoe",
|
51 |
+
"39": "Sphynx",
|
52 |
+
"40": "Tabby",
|
53 |
+
"41": "Tiger",
|
54 |
+
"42": "Tonkinese",
|
55 |
+
"43": "Torbie",
|
56 |
+
"44": "Tortoiseshell",
|
57 |
+
"45": "Turkish Angora",
|
58 |
+
"46": "Turkish Van",
|
59 |
+
"47": "Tuxedo"
|
60 |
+
},
|
61 |
+
"image_size": 224,
|
62 |
+
"initializer_range": 0.02,
|
63 |
+
"intermediate_size": 3072,
|
64 |
+
"label2id": {
|
65 |
+
"Abyssinian": 0,
|
66 |
+
"American Bobtail": 1,
|
67 |
+
"American Curl": 2,
|
68 |
+
"American Shorthair": 3,
|
69 |
+
"Applehead Siamese": 4,
|
70 |
+
"Balinese": 5,
|
71 |
+
"Bengal": 6,
|
72 |
+
"Birman": 7,
|
73 |
+
"Bombay": 8,
|
74 |
+
"British Shorthair": 9,
|
75 |
+
"Burmese": 10,
|
76 |
+
"Calico": 11,
|
77 |
+
"Cornish Rex": 12,
|
78 |
+
"Devon Rex": 13,
|
79 |
+
"Dilute Calico": 14,
|
80 |
+
"Dilute Tortoiseshell": 15,
|
81 |
+
"Domestic Long Hair": 16,
|
82 |
+
"Domestic Medium Hair": 17,
|
83 |
+
"Domestic Short Hair": 18,
|
84 |
+
"Egyptian Mau": 19,
|
85 |
+
"Exotic Shorthair": 20,
|
86 |
+
"Extra-Toes Cat - Hemingway Polydactyl": 21,
|
87 |
+
"Havana": 22,
|
88 |
+
"Himalayan": 23,
|
89 |
+
"Japanese Bobtail": 24,
|
90 |
+
"Maine Coon": 25,
|
91 |
+
"Manx": 26,
|
92 |
+
"Munchkin": 27,
|
93 |
+
"Nebelung": 28,
|
94 |
+
"Norwegian Forest": 29,
|
95 |
+
"Oriental Short Hair": 30,
|
96 |
+
"Persian": 31,
|
97 |
+
"Ragamuffin": 32,
|
98 |
+
"Ragdoll": 33,
|
99 |
+
"Russian Blue": 34,
|
100 |
+
"Scottish Fold": 35,
|
101 |
+
"Siamese": 36,
|
102 |
+
"Siberian": 37,
|
103 |
+
"Snowshoe": 38,
|
104 |
+
"Sphynx": 39,
|
105 |
+
"Tabby": 40,
|
106 |
+
"Tiger": 41,
|
107 |
+
"Tonkinese": 42,
|
108 |
+
"Torbie": 43,
|
109 |
+
"Tortoiseshell": 44,
|
110 |
+
"Turkish Angora": 45,
|
111 |
+
"Turkish Van": 46,
|
112 |
+
"Tuxedo": 47
|
113 |
+
},
|
114 |
+
"layer_norm_eps": 1e-12,
|
115 |
+
"model_type": "vit",
|
116 |
+
"num_attention_heads": 12,
|
117 |
+
"num_channels": 3,
|
118 |
+
"num_hidden_layers": 12,
|
119 |
+
"patch_size": 16,
|
120 |
+
"problem_type": "single_label_classification",
|
121 |
+
"qkv_bias": true,
|
122 |
+
"torch_dtype": "float32",
|
123 |
+
"transformers_version": "4.37.2"
|
124 |
+
}
|
checkpoint-7622/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b1a898ed23ff7a7d370830f044f39cf5a2285e09550236cd88fcc2ad7dc60929
|
3 |
+
size 343365480
|
checkpoint-7622/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5a65146ddea48b4414bc83aa054d719a42bc71c070fd64bc763a79ee32323cb4
|
3 |
+
size 686851461
|
checkpoint-7622/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-7622/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:993ea6245e253edfa8c23bc982cde0c4b23b0b26e82553342a493d0d0931cc05
|
3 |
+
size 14575
|
checkpoint-7622/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6bfdc3f2fcaf39c1ca3de303ed041a00b8ef16bc276c5970040a128bd13329c7
|
3 |
+
size 627
|
checkpoint-7622/trainer_state.json
ADDED
@@ -0,0 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 2.598254919052124,
|
3 |
+
"best_model_checkpoint": "cat_breed_image_detection/checkpoint-7622",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 7622,
|
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.13,
|
13 |
+
"learning_rate": 2.8217115689381934e-07,
|
14 |
+
"loss": 2.6163,
|
15 |
+
"step": 500
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.26,
|
19 |
+
"learning_rate": 2.6236133122028525e-07,
|
20 |
+
"loss": 2.6213,
|
21 |
+
"step": 1000
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.39,
|
25 |
+
"learning_rate": 2.425515055467512e-07,
|
26 |
+
"loss": 2.6131,
|
27 |
+
"step": 1500
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.52,
|
31 |
+
"learning_rate": 2.2274167987321712e-07,
|
32 |
+
"loss": 2.6089,
|
33 |
+
"step": 2000
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.66,
|
37 |
+
"learning_rate": 2.0293185419968305e-07,
|
38 |
+
"loss": 2.6016,
|
39 |
+
"step": 2500
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.79,
|
43 |
+
"learning_rate": 1.8312202852614895e-07,
|
44 |
+
"loss": 2.5924,
|
45 |
+
"step": 3000
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 0.92,
|
49 |
+
"learning_rate": 1.6331220285261489e-07,
|
50 |
+
"loss": 2.5995,
|
51 |
+
"step": 3500
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 1.0,
|
55 |
+
"eval_accuracy": 0.4030853262474166,
|
56 |
+
"eval_loss": 2.609971761703491,
|
57 |
+
"eval_runtime": 309.6807,
|
58 |
+
"eval_samples_per_second": 87.497,
|
59 |
+
"eval_steps_per_second": 2.735,
|
60 |
+
"step": 3811
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"epoch": 1.05,
|
64 |
+
"learning_rate": 1.4350237717908082e-07,
|
65 |
+
"loss": 2.5833,
|
66 |
+
"step": 4000
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"epoch": 1.18,
|
70 |
+
"learning_rate": 1.2369255150554675e-07,
|
71 |
+
"loss": 2.592,
|
72 |
+
"step": 4500
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 1.31,
|
76 |
+
"learning_rate": 1.0388272583201267e-07,
|
77 |
+
"loss": 2.5807,
|
78 |
+
"step": 5000
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"epoch": 1.44,
|
82 |
+
"learning_rate": 8.40729001584786e-08,
|
83 |
+
"loss": 2.5804,
|
84 |
+
"step": 5500
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 1.57,
|
88 |
+
"learning_rate": 6.426307448494454e-08,
|
89 |
+
"loss": 2.5852,
|
90 |
+
"step": 6000
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"epoch": 1.71,
|
94 |
+
"learning_rate": 4.445324881141046e-08,
|
95 |
+
"loss": 2.5733,
|
96 |
+
"step": 6500
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 1.84,
|
100 |
+
"learning_rate": 2.4643423137876387e-08,
|
101 |
+
"loss": 2.5765,
|
102 |
+
"step": 7000
|
103 |
+
},
|
104 |
+
{
|
105 |
+
"epoch": 1.97,
|
106 |
+
"learning_rate": 4.833597464342313e-09,
|
107 |
+
"loss": 2.5837,
|
108 |
+
"step": 7500
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"epoch": 2.0,
|
112 |
+
"eval_accuracy": 0.40445084145261295,
|
113 |
+
"eval_loss": 2.598254919052124,
|
114 |
+
"eval_runtime": 319.6545,
|
115 |
+
"eval_samples_per_second": 84.767,
|
116 |
+
"eval_steps_per_second": 2.65,
|
117 |
+
"step": 7622
|
118 |
+
}
|
119 |
+
],
|
120 |
+
"logging_steps": 500,
|
121 |
+
"max_steps": 7622,
|
122 |
+
"num_input_tokens_seen": 0,
|
123 |
+
"num_train_epochs": 2,
|
124 |
+
"save_steps": 500,
|
125 |
+
"total_flos": 3.781059536914691e+19,
|
126 |
+
"train_batch_size": 64,
|
127 |
+
"trial_name": null,
|
128 |
+
"trial_params": null
|
129 |
+
}
|
checkpoint-7622/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0dc39524a0f499717aad306e4481de8dbb0e9e4b9f2e70e7c5ad34b877a1a648
|
3 |
+
size 4219
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343365480
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b1a898ed23ff7a7d370830f044f39cf5a2285e09550236cd88fcc2ad7dc60929
|
3 |
size 343365480
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4219
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0dc39524a0f499717aad306e4481de8dbb0e9e4b9f2e70e7c5ad34b877a1a648
|
3 |
size 4219
|