Upload folder using huggingface_hub
Browse files- checkpoint-1326/config.json +32 -0
- checkpoint-1326/model.safetensors +3 -0
- checkpoint-1326/optimizer.pt +3 -0
- checkpoint-1326/preprocessor_config.json +22 -0
- checkpoint-1326/rng_state.pth +3 -0
- checkpoint-1326/scheduler.pt +3 -0
- checkpoint-1326/trainer_state.json +53 -0
- checkpoint-1326/training_args.bin +3 -0
- config.json +2 -2
- model.safetensors +1 -1
- training_args.bin +2 -2
checkpoint-1326/config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "dima806/man_woman_face_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": "man",
|
13 |
+
"1": "woman"
|
14 |
+
},
|
15 |
+
"image_size": 224,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 3072,
|
18 |
+
"label2id": {
|
19 |
+
"man": 0,
|
20 |
+
"woman": 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.38.2"
|
32 |
+
}
|
checkpoint-1326/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:63bcd76adc590090a1d7e5c4e81b7e49f3e953692389a49ea537d2c508f8f105
|
3 |
+
size 343223968
|
checkpoint-1326/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5cb9400f0ba01861c32b0d7fa2107463a96ae73c0952a0c6730b9630333c546c
|
3 |
+
size 686568453
|
checkpoint-1326/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-1326/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:41470f042274d7b5f4ac16a2823413d383356bbbd343cd03811ae1472c56be14
|
3 |
+
size 14575
|
checkpoint-1326/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:37cc968724091bf430dc7ce5f0e60014ae27b9f36b372ae269bd68c9ac66f917
|
3 |
+
size 627
|
checkpoint-1326/trainer_state.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.03925073519349098,
|
3 |
+
"best_model_checkpoint": "man_woman_face_image_detection/checkpoint-1326",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 1326,
|
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.75,
|
13 |
+
"grad_norm": 0.15377628803253174,
|
14 |
+
"learning_rate": 1.2946708463949842e-06,
|
15 |
+
"loss": 0.0556,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.9905960545853072,
|
21 |
+
"eval_loss": 0.039327312260866165,
|
22 |
+
"eval_runtime": 134.6358,
|
23 |
+
"eval_samples_per_second": 105.046,
|
24 |
+
"eval_steps_per_second": 13.132,
|
25 |
+
"step": 663
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 1.51,
|
29 |
+
"grad_norm": 0.16108155250549316,
|
30 |
+
"learning_rate": 5.109717868338558e-07,
|
31 |
+
"loss": 0.0532,
|
32 |
+
"step": 1000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 2.0,
|
36 |
+
"eval_accuracy": 0.9903132291593014,
|
37 |
+
"eval_loss": 0.03925073519349098,
|
38 |
+
"eval_runtime": 130.4103,
|
39 |
+
"eval_samples_per_second": 108.45,
|
40 |
+
"eval_steps_per_second": 13.557,
|
41 |
+
"step": 1326
|
42 |
+
}
|
43 |
+
],
|
44 |
+
"logging_steps": 500,
|
45 |
+
"max_steps": 1326,
|
46 |
+
"num_input_tokens_seen": 0,
|
47 |
+
"num_train_epochs": 2,
|
48 |
+
"save_steps": 500,
|
49 |
+
"total_flos": 3.28767515138868e+18,
|
50 |
+
"train_batch_size": 32,
|
51 |
+
"trial_name": null,
|
52 |
+
"trial_params": null
|
53 |
+
}
|
checkpoint-1326/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:118c97e7443b21e873d6069ca4bbc6c5bbc79db7f7af62599d8492fe3d66ba4f
|
3 |
+
size 4411
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
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.
|
32 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "dima806/man_woman_face_image_detection",
|
3 |
"architectures": [
|
4 |
"ViTForImageClassification"
|
5 |
],
|
|
|
28 |
"problem_type": "single_label_classification",
|
29 |
"qkv_bias": true,
|
30 |
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.38.2"
|
32 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343223968
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:63bcd76adc590090a1d7e5c4e81b7e49f3e953692389a49ea537d2c508f8f105
|
3 |
size 343223968
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:118c97e7443b21e873d6069ca4bbc6c5bbc79db7f7af62599d8492fe3d66ba4f
|
3 |
+
size 4411
|