dima806 commited on
Commit
72e0b81
1 Parent(s): a44f3ec

Upload folder using huggingface_hub

Browse files
checkpoint-3750/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": "Female",
13
+ "1": "Male"
14
+ },
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "Female": 0,
20
+ "Male": 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.46.3"
32
+ }
checkpoint-3750/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:311bf7c7de91b9dcde135c4788a634cae812240543afd5bff1c905440ec219cb
3
+ size 343223968
checkpoint-3750/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7baf75beccb50d8ac94eb0f3989b73e2a57473ea0312b17b9e18ae3232dafdc
3
+ size 686568890
checkpoint-3750/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-3750/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b3ee827a7a00012c0a116546df467feee35e70376d81a7a85b1a70eb90414d3
3
+ size 14244
checkpoint-3750/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d6b3456c57b8d97ed05bd1eb762c0f01179b387dafb386256f7065ee85b5026
3
+ size 1064
checkpoint-3750/trainer_state.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.18133555352687836,
3
+ "best_model_checkpoint": "fairface_gender_image_detection/checkpoint-3750",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 3750,
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.26666666666666666,
13
+ "grad_norm": 3.194249391555786,
14
+ "learning_rate": 8.273542600896861e-06,
15
+ "loss": 0.3452,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.5333333333333333,
20
+ "grad_norm": 2.3906941413879395,
21
+ "learning_rate": 7.4663677130044845e-06,
22
+ "loss": 0.1955,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 0.8,
27
+ "grad_norm": 3.958942174911499,
28
+ "learning_rate": 6.6591928251121084e-06,
29
+ "loss": 0.1709,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 1.0,
34
+ "eval_accuracy": 0.915,
35
+ "eval_loss": 0.21168974041938782,
36
+ "eval_model_preparation_time": 0.0041,
37
+ "eval_runtime": 890.2454,
38
+ "eval_samples_per_second": 11.233,
39
+ "eval_steps_per_second": 1.404,
40
+ "step": 1875
41
+ },
42
+ {
43
+ "epoch": 1.0666666666666667,
44
+ "grad_norm": 6.014321804046631,
45
+ "learning_rate": 5.852017937219731e-06,
46
+ "loss": 0.154,
47
+ "step": 2000
48
+ },
49
+ {
50
+ "epoch": 1.3333333333333333,
51
+ "grad_norm": 10.029616355895996,
52
+ "learning_rate": 5.044843049327354e-06,
53
+ "loss": 0.1161,
54
+ "step": 2500
55
+ },
56
+ {
57
+ "epoch": 1.6,
58
+ "grad_norm": 2.819401979446411,
59
+ "learning_rate": 4.237668161434978e-06,
60
+ "loss": 0.1218,
61
+ "step": 3000
62
+ },
63
+ {
64
+ "epoch": 1.8666666666666667,
65
+ "grad_norm": 1.9613158702850342,
66
+ "learning_rate": 3.430493273542601e-06,
67
+ "loss": 0.1212,
68
+ "step": 3500
69
+ },
70
+ {
71
+ "epoch": 2.0,
72
+ "eval_accuracy": 0.9342,
73
+ "eval_loss": 0.18133555352687836,
74
+ "eval_model_preparation_time": 0.0041,
75
+ "eval_runtime": 894.9262,
76
+ "eval_samples_per_second": 11.174,
77
+ "eval_steps_per_second": 1.397,
78
+ "step": 3750
79
+ }
80
+ ],
81
+ "logging_steps": 500,
82
+ "max_steps": 5625,
83
+ "num_input_tokens_seen": 0,
84
+ "num_train_epochs": 3,
85
+ "save_steps": 500,
86
+ "stateful_callbacks": {
87
+ "TrainerControl": {
88
+ "args": {
89
+ "should_epoch_stop": false,
90
+ "should_evaluate": false,
91
+ "should_log": false,
92
+ "should_save": true,
93
+ "should_training_stop": false
94
+ },
95
+ "attributes": {}
96
+ }
97
+ },
98
+ "total_flos": 9.29903875375104e+18,
99
+ "train_batch_size": 32,
100
+ "trial_name": null,
101
+ "trial_params": null
102
+ }
checkpoint-3750/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5aea97385d32c3a92090bc68995c820f81da587261b707dea4cb30f2b69c8f60
3
+ size 5240
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4fa9be212b0ea1274957c7fedf7ba5d526e963f71de623a9c4f53413760047cc
3
  size 343223968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:311bf7c7de91b9dcde135c4788a634cae812240543afd5bff1c905440ec219cb
3
  size 343223968
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4259b780c969be6dcb2cd47d0fe7da7c8b92e370d789469f7190c16cf2f18673
3
  size 5240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5aea97385d32c3a92090bc68995c820f81da587261b707dea4cb30f2b69c8f60
3
  size 5240