Eliahu commited on
Commit
cf83c00
1 Parent(s): 8bdc603

Upload folder using huggingface_hub

Browse files
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:7f7ddef1ac13496cd73b889b69ec4506b796eede439a39595fd44556a14dd5cf
3
+ size 343372744
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,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.8421333333333333,
3
+ "best_model_checkpoint": "./vit_finetuned_models_dataset/CIFAR100/50_from_100/facebook_dino-vitb16/model_idx_0946/checkpoints/checkpoint-666",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 666,
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": 11.909194946289062,
14
+ "learning_rate": 0.0001,
15
+ "loss": 0.904,
16
+ "step": 333
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_accuracy": 0.8152,
21
+ "eval_loss": 0.6641908288002014,
22
+ "eval_runtime": 8.2573,
23
+ "eval_samples_per_second": 454.146,
24
+ "eval_steps_per_second": 7.145,
25
+ "step": 333
26
+ },
27
+ {
28
+ "epoch": 2.0,
29
+ "grad_norm": 0.11867735534906387,
30
+ "learning_rate": 0.0001,
31
+ "loss": 0.365,
32
+ "step": 666
33
+ },
34
+ {
35
+ "epoch": 2.0,
36
+ "eval_accuracy": 0.8421333333333333,
37
+ "eval_loss": 0.522146463394165,
38
+ "eval_runtime": 6.04,
39
+ "eval_samples_per_second": 620.861,
40
+ "eval_steps_per_second": 9.768,
41
+ "step": 666
42
+ }
43
+ ],
44
+ "logging_steps": 500,
45
+ "max_steps": 666,
46
+ "num_input_tokens_seen": 0,
47
+ "num_train_epochs": 2,
48
+ "save_steps": 500,
49
+ "stateful_callbacks": {
50
+ "TrainerControl": {
51
+ "args": {
52
+ "should_epoch_stop": false,
53
+ "should_evaluate": false,
54
+ "should_log": false,
55
+ "should_save": true,
56
+ "should_training_stop": true
57
+ },
58
+ "attributes": {}
59
+ }
60
+ },
61
+ "total_flos": 3.29482641245184e+18,
62
+ "train_batch_size": 64,
63
+ "trial_name": null,
64
+ "trial_params": null
65
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82edcfa000f096e478075730ced9ce55a031380b17e5222cc64882f177c3a5a0
3
+ size 5368