dima806 commited on
Commit
6c42eb7
1 Parent(s): 543e0a7

Upload folder using huggingface_hub

Browse files
checkpoint-3083/config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/attractive_faces_celebs_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": "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.36.2"
32
+ }
checkpoint-3083/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52086aa16a0e53e76b5784b7d988db288488bdfbb39ec5091336774078a0db7d
3
+ size 343223968
checkpoint-3083/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02d4ecfae19c8535542f4fe9da532367c586895ad8ae988f9a3d26a329e715a5
3
+ size 686568453
checkpoint-3083/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-3083/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:69b162c02e967df6c30d2992f889a341e337cd98122ef045821cff41ce24f93a
3
+ size 14575
checkpoint-3083/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74c1465b7ec7760d31a35532f7949881605ce9fd3fd8dc2de409151d75509d99
3
+ size 627
checkpoint-3083/trainer_state.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.33903706073760986,
3
+ "best_model_checkpoint": "attractive_faces_celebs_detection/checkpoint-3083",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 3083,
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.16,
13
+ "learning_rate": 8.516320474777447e-07,
14
+ "loss": 0.3642,
15
+ "step": 500
16
+ },
17
+ {
18
+ "epoch": 0.32,
19
+ "learning_rate": 6.867787668974612e-07,
20
+ "loss": 0.3589,
21
+ "step": 1000
22
+ },
23
+ {
24
+ "epoch": 0.49,
25
+ "learning_rate": 5.219254863171777e-07,
26
+ "loss": 0.3581,
27
+ "step": 1500
28
+ },
29
+ {
30
+ "epoch": 0.65,
31
+ "learning_rate": 3.5707220573689416e-07,
32
+ "loss": 0.3551,
33
+ "step": 2000
34
+ },
35
+ {
36
+ "epoch": 0.81,
37
+ "learning_rate": 1.9221892515661062e-07,
38
+ "loss": 0.357,
39
+ "step": 2500
40
+ },
41
+ {
42
+ "epoch": 0.97,
43
+ "learning_rate": 2.7365644576327068e-08,
44
+ "loss": 0.3562,
45
+ "step": 3000
46
+ },
47
+ {
48
+ "epoch": 1.0,
49
+ "eval_accuracy": 0.8429314329738059,
50
+ "eval_loss": 0.33903706073760986,
51
+ "eval_runtime": 98.4909,
52
+ "eval_samples_per_second": 105.431,
53
+ "eval_steps_per_second": 3.3,
54
+ "step": 3083
55
+ }
56
+ ],
57
+ "logging_steps": 500,
58
+ "max_steps": 3083,
59
+ "num_input_tokens_seen": 0,
60
+ "num_train_epochs": 1,
61
+ "save_steps": 500,
62
+ "total_flos": 1.5287774695145939e+19,
63
+ "train_batch_size": 64,
64
+ "trial_name": null,
65
+ "trial_params": null
66
+ }
checkpoint-3083/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d1c7fe3249808625e105f85d80f7a9525b21d12cee2a508a7eb95ae620eedd6
3
+ size 4219
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "google/vit-base-patch16-224-in21k",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
@@ -28,5 +28,5 @@
28
  "problem_type": "single_label_classification",
29
  "qkv_bias": true,
30
  "torch_dtype": "float32",
31
- "transformers_version": "4.30.2"
32
  }
 
1
  {
2
+ "_name_or_path": "dima806/attractive_faces_celebs_detection",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
 
28
  "problem_type": "single_label_classification",
29
  "qkv_bias": true,
30
  "torch_dtype": "float32",
31
+ "transformers_version": "4.36.2"
32
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cbf17e9c7a10828368e1eb75c73fa441bc478aad182d927697b88fca9cc8c342
3
  size 343223968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52086aa16a0e53e76b5784b7d988db288488bdfbb39ec5091336774078a0db7d
3
  size 343223968
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:719e600af3ee764e571fd4a0ffc1024c242d80b5b6355bf9d36c422a4d3cc899
3
- size 3899
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d1c7fe3249808625e105f85d80f7a9525b21d12cee2a508a7eb95ae620eedd6
3
+ size 4219