Upload folder using huggingface_hub
Browse files- config.json +128 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- trainer_state.json +81 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/dino-vitb16",
|
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": "LABEL_0",
|
13 |
+
"1": "LABEL_1",
|
14 |
+
"2": "LABEL_2",
|
15 |
+
"3": "LABEL_3",
|
16 |
+
"4": "LABEL_4",
|
17 |
+
"5": "LABEL_5",
|
18 |
+
"6": "LABEL_6",
|
19 |
+
"7": "LABEL_7",
|
20 |
+
"8": "LABEL_8",
|
21 |
+
"9": "LABEL_9",
|
22 |
+
"10": "LABEL_10",
|
23 |
+
"11": "LABEL_11",
|
24 |
+
"12": "LABEL_12",
|
25 |
+
"13": "LABEL_13",
|
26 |
+
"14": "LABEL_14",
|
27 |
+
"15": "LABEL_15",
|
28 |
+
"16": "LABEL_16",
|
29 |
+
"17": "LABEL_17",
|
30 |
+
"18": "LABEL_18",
|
31 |
+
"19": "LABEL_19",
|
32 |
+
"20": "LABEL_20",
|
33 |
+
"21": "LABEL_21",
|
34 |
+
"22": "LABEL_22",
|
35 |
+
"23": "LABEL_23",
|
36 |
+
"24": "LABEL_24",
|
37 |
+
"25": "LABEL_25",
|
38 |
+
"26": "LABEL_26",
|
39 |
+
"27": "LABEL_27",
|
40 |
+
"28": "LABEL_28",
|
41 |
+
"29": "LABEL_29",
|
42 |
+
"30": "LABEL_30",
|
43 |
+
"31": "LABEL_31",
|
44 |
+
"32": "LABEL_32",
|
45 |
+
"33": "LABEL_33",
|
46 |
+
"34": "LABEL_34",
|
47 |
+
"35": "LABEL_35",
|
48 |
+
"36": "LABEL_36",
|
49 |
+
"37": "LABEL_37",
|
50 |
+
"38": "LABEL_38",
|
51 |
+
"39": "LABEL_39",
|
52 |
+
"40": "LABEL_40",
|
53 |
+
"41": "LABEL_41",
|
54 |
+
"42": "LABEL_42",
|
55 |
+
"43": "LABEL_43",
|
56 |
+
"44": "LABEL_44",
|
57 |
+
"45": "LABEL_45",
|
58 |
+
"46": "LABEL_46",
|
59 |
+
"47": "LABEL_47",
|
60 |
+
"48": "LABEL_48",
|
61 |
+
"49": "LABEL_49"
|
62 |
+
},
|
63 |
+
"image_size": 224,
|
64 |
+
"initializer_range": 0.02,
|
65 |
+
"intermediate_size": 3072,
|
66 |
+
"label2id": {
|
67 |
+
"LABEL_0": 0,
|
68 |
+
"LABEL_1": 1,
|
69 |
+
"LABEL_10": 10,
|
70 |
+
"LABEL_11": 11,
|
71 |
+
"LABEL_12": 12,
|
72 |
+
"LABEL_13": 13,
|
73 |
+
"LABEL_14": 14,
|
74 |
+
"LABEL_15": 15,
|
75 |
+
"LABEL_16": 16,
|
76 |
+
"LABEL_17": 17,
|
77 |
+
"LABEL_18": 18,
|
78 |
+
"LABEL_19": 19,
|
79 |
+
"LABEL_2": 2,
|
80 |
+
"LABEL_20": 20,
|
81 |
+
"LABEL_21": 21,
|
82 |
+
"LABEL_22": 22,
|
83 |
+
"LABEL_23": 23,
|
84 |
+
"LABEL_24": 24,
|
85 |
+
"LABEL_25": 25,
|
86 |
+
"LABEL_26": 26,
|
87 |
+
"LABEL_27": 27,
|
88 |
+
"LABEL_28": 28,
|
89 |
+
"LABEL_29": 29,
|
90 |
+
"LABEL_3": 3,
|
91 |
+
"LABEL_30": 30,
|
92 |
+
"LABEL_31": 31,
|
93 |
+
"LABEL_32": 32,
|
94 |
+
"LABEL_33": 33,
|
95 |
+
"LABEL_34": 34,
|
96 |
+
"LABEL_35": 35,
|
97 |
+
"LABEL_36": 36,
|
98 |
+
"LABEL_37": 37,
|
99 |
+
"LABEL_38": 38,
|
100 |
+
"LABEL_39": 39,
|
101 |
+
"LABEL_4": 4,
|
102 |
+
"LABEL_40": 40,
|
103 |
+
"LABEL_41": 41,
|
104 |
+
"LABEL_42": 42,
|
105 |
+
"LABEL_43": 43,
|
106 |
+
"LABEL_44": 44,
|
107 |
+
"LABEL_45": 45,
|
108 |
+
"LABEL_46": 46,
|
109 |
+
"LABEL_47": 47,
|
110 |
+
"LABEL_48": 48,
|
111 |
+
"LABEL_49": 49,
|
112 |
+
"LABEL_5": 5,
|
113 |
+
"LABEL_6": 6,
|
114 |
+
"LABEL_7": 7,
|
115 |
+
"LABEL_8": 8,
|
116 |
+
"LABEL_9": 9
|
117 |
+
},
|
118 |
+
"layer_norm_eps": 1e-12,
|
119 |
+
"model_type": "vit",
|
120 |
+
"num_attention_heads": 12,
|
121 |
+
"num_channels": 3,
|
122 |
+
"num_hidden_layers": 12,
|
123 |
+
"patch_size": 16,
|
124 |
+
"problem_type": "single_label_classification",
|
125 |
+
"qkv_bias": true,
|
126 |
+
"torch_dtype": "float32",
|
127 |
+
"transformers_version": "4.44.0"
|
128 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e5c01a3a1309608305ac286f564368853c8ddf3361ef60b28f45630bb3f5fe2d
|
3 |
+
size 343372736
|
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.485,
|
7 |
+
0.456,
|
8 |
+
0.406
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.229,
|
13 |
+
0.224,
|
14 |
+
0.225
|
15 |
+
],
|
16 |
+
"resample": 2,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.9061333333333333,
|
3 |
+
"best_model_checkpoint": "./vit_finetuned_models_dataset/CIFAR100/50_from_100/facebook_dino-vitb16/model_idx_0663/checkpoints/checkpoint-999",
|
4 |
+
"epoch": 3.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 999,
|
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 |
+
"grad_norm": 4.133789539337158,
|
14 |
+
"learning_rate": 3e-05,
|
15 |
+
"loss": 0.8344,
|
16 |
+
"step": 333
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.8794666666666666,
|
21 |
+
"eval_loss": 0.40685296058654785,
|
22 |
+
"eval_runtime": 13.5998,
|
23 |
+
"eval_samples_per_second": 275.739,
|
24 |
+
"eval_steps_per_second": 4.338,
|
25 |
+
"step": 333
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 2.0,
|
29 |
+
"grad_norm": 20.05609130859375,
|
30 |
+
"learning_rate": 3e-05,
|
31 |
+
"loss": 0.2129,
|
32 |
+
"step": 666
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 2.0,
|
36 |
+
"eval_accuracy": 0.9016,
|
37 |
+
"eval_loss": 0.3306920826435089,
|
38 |
+
"eval_runtime": 13.2644,
|
39 |
+
"eval_samples_per_second": 282.711,
|
40 |
+
"eval_steps_per_second": 4.448,
|
41 |
+
"step": 666
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 3.0,
|
45 |
+
"grad_norm": 0.1934211552143097,
|
46 |
+
"learning_rate": 3e-05,
|
47 |
+
"loss": 0.1065,
|
48 |
+
"step": 999
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 3.0,
|
52 |
+
"eval_accuracy": 0.9061333333333333,
|
53 |
+
"eval_loss": 0.338560551404953,
|
54 |
+
"eval_runtime": 13.1094,
|
55 |
+
"eval_samples_per_second": 286.055,
|
56 |
+
"eval_steps_per_second": 4.501,
|
57 |
+
"step": 999
|
58 |
+
}
|
59 |
+
],
|
60 |
+
"logging_steps": 500,
|
61 |
+
"max_steps": 2664,
|
62 |
+
"num_input_tokens_seen": 0,
|
63 |
+
"num_train_epochs": 8,
|
64 |
+
"save_steps": 500,
|
65 |
+
"stateful_callbacks": {
|
66 |
+
"TrainerControl": {
|
67 |
+
"args": {
|
68 |
+
"should_epoch_stop": false,
|
69 |
+
"should_evaluate": false,
|
70 |
+
"should_log": false,
|
71 |
+
"should_save": true,
|
72 |
+
"should_training_stop": false
|
73 |
+
},
|
74 |
+
"attributes": {}
|
75 |
+
}
|
76 |
+
},
|
77 |
+
"total_flos": 4.94223961867776e+18,
|
78 |
+
"train_batch_size": 64,
|
79 |
+
"trial_name": null,
|
80 |
+
"trial_params": null
|
81 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b897d48818ef7ab02647372c3e79fd12c2d1c4d12036e7fb04cdadf48c60b9de
|
3 |
+
size 5368
|