Upload folder using huggingface_hub
Browse files- checkpoint-844/config.json +124 -0
- checkpoint-844/model.safetensors +3 -0
- checkpoint-844/optimizer.pt +3 -0
- checkpoint-844/preprocessor_config.json +36 -0
- checkpoint-844/rng_state.pth +3 -0
- checkpoint-844/scheduler.pt +3 -0
- checkpoint-844/trainer_state.json +49 -0
- checkpoint-844/training_args.bin +3 -0
- model.safetensors +1 -1
checkpoint-844/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.41.2"
|
124 |
+
}
|
checkpoint-844/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb2d95c118eb05e6bc6b0a6757d548193799636312c9c9af9d1f454234a18d4a
|
3 |
+
size 343365480
|
checkpoint-844/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0d524e8802c051d8b6c182ef2737f2efb77769b9a4c3a02f7c49d30e6fb909b2
|
3 |
+
size 686851461
|
checkpoint-844/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-844/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:79c8caa2cbc557a1f9a6b4fb9acefbd047172fc16918e07c7d33369327cde649
|
3 |
+
size 14575
|
checkpoint-844/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:88cadd3121360d26a82514f587e6848fabbf6864272e74ed1520e47a6eddca1e
|
3 |
+
size 627
|
checkpoint-844/trainer_state.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 2.499423027038574,
|
3 |
+
"best_model_checkpoint": "cat_breed_image_detection/checkpoint-844",
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 844,
|
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.5924170616113744,
|
13 |
+
"grad_norm": 3.479524612426758,
|
14 |
+
"learning_rate": 1.2997481108312342e-07,
|
15 |
+
"loss": 2.4784,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.4196111111111111,
|
21 |
+
"eval_loss": 2.499423027038574,
|
22 |
+
"eval_runtime": 395.9123,
|
23 |
+
"eval_samples_per_second": 90.929,
|
24 |
+
"eval_steps_per_second": 2.842,
|
25 |
+
"step": 844
|
26 |
+
}
|
27 |
+
],
|
28 |
+
"logging_steps": 500,
|
29 |
+
"max_steps": 844,
|
30 |
+
"num_input_tokens_seen": 0,
|
31 |
+
"num_train_epochs": 1,
|
32 |
+
"save_steps": 500,
|
33 |
+
"stateful_callbacks": {
|
34 |
+
"TrainerControl": {
|
35 |
+
"args": {
|
36 |
+
"should_epoch_stop": false,
|
37 |
+
"should_evaluate": false,
|
38 |
+
"should_log": false,
|
39 |
+
"should_save": true,
|
40 |
+
"should_training_stop": true
|
41 |
+
},
|
42 |
+
"attributes": {}
|
43 |
+
}
|
44 |
+
},
|
45 |
+
"total_flos": 4.186292667088896e+18,
|
46 |
+
"train_batch_size": 64,
|
47 |
+
"trial_name": null,
|
48 |
+
"trial_params": null
|
49 |
+
}
|
checkpoint-844/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6716335dd4543496ff2707a910b9c4ff455a553e69d03150c59199f0152c3f8
|
3 |
+
size 4603
|
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:bb2d95c118eb05e6bc6b0a6757d548193799636312c9c9af9d1f454234a18d4a
|
3 |
size 343365480
|