dima806 commited on
Commit
8f035ed
1 Parent(s): 43d0b8a

Upload folder using huggingface_hub

Browse files
checkpoint-11398/config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
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": "attractive",
13
+ "1": "not attractive"
14
+ },
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "attractive": 0,
20
+ "not attractive": 1
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "model_type": "vit",
24
+ "num_attention_heads": 12,
25
+ "num_channels": 3,
26
+ "num_hidden_layers": 12,
27
+ "patch_size": 16,
28
+ "problem_type": "single_label_classification",
29
+ "qkv_bias": true,
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.30.2"
32
+ }
checkpoint-11398/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b72a4984fa50ca6c9a4b8608cf3554bf46a19552ed551da060751e8fca142f1
3
+ size 686518917
checkpoint-11398/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-11398/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5bde3e2c80fae1efe75d48d331cd155459a08b7d8d71abba59608dc26e52971a
3
+ size 343268717
checkpoint-11398/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30e8f9d66aa0a145553d5c1371bb946d4f8ddf36d75fc85388f2ab889e6c8ba9
3
+ size 14575
checkpoint-11398/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c0cb84a1f73d5e4708d7b7e346301bc4fb5731d234f103fe8a16693bb1fe0b9
3
+ size 627
checkpoint-11398/trainer_state.json ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.35768580436706543,
3
+ "best_model_checkpoint": "attractive_faces_celebs_detection/checkpoint-11398",
4
+ "epoch": 2.0,
5
+ "global_step": 11398,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.09,
12
+ "learning_rate": 9.60345435318999e-06,
13
+ "loss": 0.4577,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.18,
18
+ "learning_rate": 9.162848078956645e-06,
19
+ "loss": 0.3936,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 0.26,
24
+ "learning_rate": 8.7222418047233e-06,
25
+ "loss": 0.3873,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 0.35,
30
+ "learning_rate": 8.281635530489955e-06,
31
+ "loss": 0.3764,
32
+ "step": 2000
33
+ },
34
+ {
35
+ "epoch": 0.44,
36
+ "learning_rate": 7.841029256256609e-06,
37
+ "loss": 0.3706,
38
+ "step": 2500
39
+ },
40
+ {
41
+ "epoch": 0.53,
42
+ "learning_rate": 7.400422982023265e-06,
43
+ "loss": 0.371,
44
+ "step": 3000
45
+ },
46
+ {
47
+ "epoch": 0.61,
48
+ "learning_rate": 6.95981670778992e-06,
49
+ "loss": 0.3661,
50
+ "step": 3500
51
+ },
52
+ {
53
+ "epoch": 0.7,
54
+ "learning_rate": 6.519210433556575e-06,
55
+ "loss": 0.3673,
56
+ "step": 4000
57
+ },
58
+ {
59
+ "epoch": 0.79,
60
+ "learning_rate": 6.0786041593232295e-06,
61
+ "loss": 0.3646,
62
+ "step": 4500
63
+ },
64
+ {
65
+ "epoch": 0.88,
66
+ "learning_rate": 5.6379978850898845e-06,
67
+ "loss": 0.3651,
68
+ "step": 5000
69
+ },
70
+ {
71
+ "epoch": 0.97,
72
+ "learning_rate": 5.1973916108565395e-06,
73
+ "loss": 0.3579,
74
+ "step": 5500
75
+ },
76
+ {
77
+ "epoch": 1.0,
78
+ "eval_accuracy": 0.83035538005923,
79
+ "eval_loss": 0.3584788739681244,
80
+ "eval_runtime": 238.6769,
81
+ "eval_samples_per_second": 84.885,
82
+ "eval_steps_per_second": 21.221,
83
+ "step": 5699
84
+ },
85
+ {
86
+ "epoch": 1.05,
87
+ "learning_rate": 4.7567853366231936e-06,
88
+ "loss": 0.3575,
89
+ "step": 6000
90
+ },
91
+ {
92
+ "epoch": 1.14,
93
+ "learning_rate": 4.3161790623898485e-06,
94
+ "loss": 0.3529,
95
+ "step": 6500
96
+ },
97
+ {
98
+ "epoch": 1.23,
99
+ "learning_rate": 3.8755727881565035e-06,
100
+ "loss": 0.3404,
101
+ "step": 7000
102
+ },
103
+ {
104
+ "epoch": 1.32,
105
+ "learning_rate": 3.4349665139231585e-06,
106
+ "loss": 0.3487,
107
+ "step": 7500
108
+ },
109
+ {
110
+ "epoch": 1.4,
111
+ "learning_rate": 2.9943602396898134e-06,
112
+ "loss": 0.3547,
113
+ "step": 8000
114
+ },
115
+ {
116
+ "epoch": 1.49,
117
+ "learning_rate": 2.553753965456468e-06,
118
+ "loss": 0.35,
119
+ "step": 8500
120
+ },
121
+ {
122
+ "epoch": 1.58,
123
+ "learning_rate": 2.1131476912231233e-06,
124
+ "loss": 0.3437,
125
+ "step": 9000
126
+ },
127
+ {
128
+ "epoch": 1.67,
129
+ "learning_rate": 1.672541416989778e-06,
130
+ "loss": 0.3479,
131
+ "step": 9500
132
+ },
133
+ {
134
+ "epoch": 1.75,
135
+ "learning_rate": 1.231935142756433e-06,
136
+ "loss": 0.3452,
137
+ "step": 10000
138
+ },
139
+ {
140
+ "epoch": 1.84,
141
+ "learning_rate": 7.913288685230879e-07,
142
+ "loss": 0.344,
143
+ "step": 10500
144
+ },
145
+ {
146
+ "epoch": 1.93,
147
+ "learning_rate": 3.507225942897427e-07,
148
+ "loss": 0.3415,
149
+ "step": 11000
150
+ },
151
+ {
152
+ "epoch": 2.0,
153
+ "eval_accuracy": 0.8329713721618953,
154
+ "eval_loss": 0.35768580436706543,
155
+ "eval_runtime": 239.4803,
156
+ "eval_samples_per_second": 84.6,
157
+ "eval_steps_per_second": 21.15,
158
+ "step": 11398
159
+ }
160
+ ],
161
+ "max_steps": 11398,
162
+ "num_train_epochs": 2,
163
+ "total_flos": 2.825962378867018e+19,
164
+ "trial_name": null,
165
+ "trial_params": null
166
+ }
checkpoint-11398/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:719e600af3ee764e571fd4a0ffc1024c242d80b5b6355bf9d36c422a4d3cc899
3
+ size 3899
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
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": "attractive",
13
+ "1": "not attractive"
14
+ },
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "attractive": 0,
20
+ "not attractive": 1
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "model_type": "vit",
24
+ "num_attention_heads": 12,
25
+ "num_channels": 3,
26
+ "num_hidden_layers": 12,
27
+ "patch_size": 16,
28
+ "problem_type": "single_label_classification",
29
+ "qkv_bias": true,
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.30.2"
32
+ }
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
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5bde3e2c80fae1efe75d48d331cd155459a08b7d8d71abba59608dc26e52971a
3
+ size 343268717
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:719e600af3ee764e571fd4a0ffc1024c242d80b5b6355bf9d36c422a4d3cc899
3
+ size 3899