Upload folder using huggingface_hub
Browse files- checkpoint-240/config.json +74 -0
- checkpoint-240/model.safetensors +3 -0
- checkpoint-240/optimizer.pt +3 -0
- checkpoint-240/preprocessor_config.json +22 -0
- checkpoint-240/rng_state.pth +3 -0
- checkpoint-240/scheduler.pt +3 -0
- checkpoint-240/trainer_state.json +30 -0
- checkpoint-240/training_args.bin +3 -0
- model.safetensors +1 -1
- training_args.bin +1 -1
checkpoint-240/config.json
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "dima806/facial_age_image_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": "01",
|
13 |
+
"1": "02",
|
14 |
+
"2": "03",
|
15 |
+
"3": "04",
|
16 |
+
"4": "05",
|
17 |
+
"5": "06-07",
|
18 |
+
"6": "08-09",
|
19 |
+
"7": "10-12",
|
20 |
+
"8": "13-15",
|
21 |
+
"9": "16-20",
|
22 |
+
"10": "21-25",
|
23 |
+
"11": "26-30",
|
24 |
+
"12": "31-35",
|
25 |
+
"13": "36-40",
|
26 |
+
"14": "41-45",
|
27 |
+
"15": "46-50",
|
28 |
+
"16": "51-55",
|
29 |
+
"17": "56-60",
|
30 |
+
"18": "61-65",
|
31 |
+
"19": "66-70",
|
32 |
+
"20": "71-80",
|
33 |
+
"21": "81-90",
|
34 |
+
"22": "90+"
|
35 |
+
},
|
36 |
+
"image_size": 224,
|
37 |
+
"initializer_range": 0.02,
|
38 |
+
"intermediate_size": 3072,
|
39 |
+
"label2id": {
|
40 |
+
"01": 0,
|
41 |
+
"02": 1,
|
42 |
+
"03": 2,
|
43 |
+
"04": 3,
|
44 |
+
"05": 4,
|
45 |
+
"06-07": 5,
|
46 |
+
"08-09": 6,
|
47 |
+
"10-12": 7,
|
48 |
+
"13-15": 8,
|
49 |
+
"16-20": 9,
|
50 |
+
"21-25": 10,
|
51 |
+
"26-30": 11,
|
52 |
+
"31-35": 12,
|
53 |
+
"36-40": 13,
|
54 |
+
"41-45": 14,
|
55 |
+
"46-50": 15,
|
56 |
+
"51-55": 16,
|
57 |
+
"56-60": 17,
|
58 |
+
"61-65": 18,
|
59 |
+
"66-70": 19,
|
60 |
+
"71-80": 20,
|
61 |
+
"81-90": 21,
|
62 |
+
"90+": 22
|
63 |
+
},
|
64 |
+
"layer_norm_eps": 1e-12,
|
65 |
+
"model_type": "vit",
|
66 |
+
"num_attention_heads": 12,
|
67 |
+
"num_channels": 3,
|
68 |
+
"num_hidden_layers": 12,
|
69 |
+
"patch_size": 16,
|
70 |
+
"problem_type": "single_label_classification",
|
71 |
+
"qkv_bias": true,
|
72 |
+
"torch_dtype": "float32",
|
73 |
+
"transformers_version": "4.38.2"
|
74 |
+
}
|
checkpoint-240/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b1921719045d7718353b2592c64d9be6d730e35e4e6409e538c6a50a209d1352
|
3 |
+
size 343288572
|
checkpoint-240/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:18184696993617fa24186e437a8a7962cb9ec02bfcd4a0427aa9d287bbe198ae
|
3 |
+
size 686697605
|
checkpoint-240/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-240/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8e081bc402ca2c8f00d6834b002157274f97d3b264d5933c7dbcb5e9ef4788ca
|
3 |
+
size 14575
|
checkpoint-240/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:75194f8c8ea6337ac13327ef7c0073681e62e7c88fd68755154e8a46544dda54
|
3 |
+
size 627
|
checkpoint-240/trainer_state.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 1.132247805595398,
|
3 |
+
"best_model_checkpoint": "facial_age_image_detection/checkpoint-240",
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 240,
|
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.622128824161861,
|
14 |
+
"eval_loss": 1.132247805595398,
|
15 |
+
"eval_runtime": 112.7961,
|
16 |
+
"eval_samples_per_second": 90.703,
|
17 |
+
"eval_steps_per_second": 2.837,
|
18 |
+
"step": 240
|
19 |
+
}
|
20 |
+
],
|
21 |
+
"logging_steps": 500,
|
22 |
+
"max_steps": 2400,
|
23 |
+
"num_input_tokens_seen": 0,
|
24 |
+
"num_train_epochs": 10,
|
25 |
+
"save_steps": 500,
|
26 |
+
"total_flos": 1.1893383914511053e+18,
|
27 |
+
"train_batch_size": 64,
|
28 |
+
"trial_name": null,
|
29 |
+
"trial_params": null
|
30 |
+
}
|
checkpoint-240/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e8d29ce5570084ae030bb16dcf19d067f0015c80b61279faf2ea50bffc19ff2e
|
3 |
+
size 4411
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343288572
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b1921719045d7718353b2592c64d9be6d730e35e4e6409e538c6a50a209d1352
|
3 |
size 343288572
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4411
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e8d29ce5570084ae030bb16dcf19d067f0015c80b61279faf2ea50bffc19ff2e
|
3 |
size 4411
|