Robys01 commited on
Commit
2e84926
·
verified ·
1 Parent(s): d22a28e

Upload folder using huggingface_hub

Browse files
checkpoint-639/config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Robys01/facial_age_estimator",
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": "01",
13
+ "1": "02",
14
+ "2": "03",
15
+ "3": "04-05",
16
+ "4": "06-07",
17
+ "5": "08-09",
18
+ "6": "10-12",
19
+ "7": "13-15",
20
+ "8": "16-20",
21
+ "9": "21-25",
22
+ "10": "26-30",
23
+ "11": "31-35",
24
+ "12": "36-40",
25
+ "13": "41-45",
26
+ "14": "46-50",
27
+ "15": "51-55",
28
+ "16": "56-60",
29
+ "17": "61-70",
30
+ "18": "71-80",
31
+ "19": "81-90",
32
+ "20": "90+"
33
+ },
34
+ "image_size": 224,
35
+ "initializer_range": 0.02,
36
+ "intermediate_size": 3072,
37
+ "label2id": {
38
+ "01": 0,
39
+ "02": 1,
40
+ "03": 2,
41
+ "04-05": 3,
42
+ "06-07": 4,
43
+ "08-09": 5,
44
+ "10-12": 6,
45
+ "13-15": 7,
46
+ "16-20": 8,
47
+ "21-25": 9,
48
+ "26-30": 10,
49
+ "31-35": 11,
50
+ "36-40": 12,
51
+ "41-45": 13,
52
+ "46-50": 14,
53
+ "51-55": 15,
54
+ "56-60": 16,
55
+ "61-70": 17,
56
+ "71-80": 18,
57
+ "81-90": 19,
58
+ "90+": 20
59
+ },
60
+ "layer_norm_eps": 1e-12,
61
+ "model_type": "vit",
62
+ "num_attention_heads": 12,
63
+ "num_channels": 3,
64
+ "num_hidden_layers": 12,
65
+ "patch_size": 16,
66
+ "problem_type": "single_label_classification",
67
+ "qkv_bias": true,
68
+ "torch_dtype": "float32",
69
+ "transformers_version": "4.41.2"
70
+ }
checkpoint-639/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9cff4cc7f03405c45b9372282bd2f0d4faa0b9f16e8150c9381cf002d5e60970
3
+ size 343282420
checkpoint-639/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3159c87a891a6fecaa99eaeeff5731ee3fa91d0978f02a0947f9eb32d168af5
3
+ size 686685754
checkpoint-639/preprocessor_config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "resample",
7
+ "do_rescale",
8
+ "rescale_factor",
9
+ "do_normalize",
10
+ "image_mean",
11
+ "image_std",
12
+ "return_tensors",
13
+ "data_format",
14
+ "input_data_format"
15
+ ],
16
+ "do_normalize": true,
17
+ "do_rescale": true,
18
+ "do_resize": true,
19
+ "image_mean": [
20
+ 0.5,
21
+ 0.5,
22
+ 0.5
23
+ ],
24
+ "image_processor_type": "ViTImageProcessor",
25
+ "image_std": [
26
+ 0.5,
27
+ 0.5,
28
+ 0.5
29
+ ],
30
+ "resample": 2,
31
+ "rescale_factor": 0.00392156862745098,
32
+ "size": {
33
+ "height": 224,
34
+ "width": 224
35
+ }
36
+ }
checkpoint-639/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a628838a432f472c9e3f35dc0cc92a56b0f49ac96f9009d34185d4c4f9f57ec0
3
+ size 14244
checkpoint-639/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c4550a7f2f7b57033364a92db293ffa2ea1eb64514d8bf14eb0ee52f91fa286
3
+ size 1064
checkpoint-639/trainer_state.json ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.6725945472717285,
3
+ "best_model_checkpoint": "facial_age_estimator/checkpoint-639",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 639,
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
+ "eval_accuracy": 0.39155672823218995,
14
+ "eval_loss": 1.6799678802490234,
15
+ "eval_runtime": 16.6511,
16
+ "eval_samples_per_second": 113.807,
17
+ "eval_steps_per_second": 0.901,
18
+ "step": 213
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.39102902374670184,
23
+ "eval_loss": 1.6797932386398315,
24
+ "eval_runtime": 16.5039,
25
+ "eval_samples_per_second": 114.822,
26
+ "eval_steps_per_second": 0.909,
27
+ "step": 426
28
+ },
29
+ {
30
+ "epoch": 2.347417840375587,
31
+ "grad_norm": 7.800600051879883,
32
+ "learning_rate": 2.3509615384615386e-06,
33
+ "loss": 1.0753,
34
+ "step": 500
35
+ },
36
+ {
37
+ "epoch": 3.0,
38
+ "eval_accuracy": 0.40158311345646436,
39
+ "eval_loss": 1.6725945472717285,
40
+ "eval_runtime": 17.3736,
41
+ "eval_samples_per_second": 109.073,
42
+ "eval_steps_per_second": 0.863,
43
+ "step": 639
44
+ }
45
+ ],
46
+ "logging_steps": 500,
47
+ "max_steps": 2130,
48
+ "num_input_tokens_seen": 0,
49
+ "num_train_epochs": 10,
50
+ "save_steps": 500,
51
+ "stateful_callbacks": {
52
+ "TrainerControl": {
53
+ "args": {
54
+ "should_epoch_stop": false,
55
+ "should_evaluate": false,
56
+ "should_log": false,
57
+ "should_save": true,
58
+ "should_training_stop": false
59
+ },
60
+ "attributes": {}
61
+ }
62
+ },
63
+ "total_flos": 3.1591888784851046e+18,
64
+ "train_batch_size": 64,
65
+ "trial_name": null,
66
+ "trial_params": null
67
+ }
checkpoint-639/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98df71fabde41428db4dd73f22b05c6db075f3cce18303b5eb362d94896ab363
3
+ size 5048
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5c9d1b24ce857f8d1cd71fb076a42521cbf1b357dec4976d513e303348f17d87
3
  size 343282420
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9cff4cc7f03405c45b9372282bd2f0d4faa0b9f16e8150c9381cf002d5e60970
3
  size 343282420