Upload folder using huggingface_hub
Browse files- checkpoint-157/config.json +32 -0
- checkpoint-157/model.safetensors +3 -0
- checkpoint-157/optimizer.pt +3 -0
- checkpoint-157/preprocessor_config.json +22 -0
- checkpoint-157/rng_state.pth +3 -0
- checkpoint-157/scheduler.pt +3 -0
- checkpoint-157/trainer_state.json +43 -0
- checkpoint-157/training_args.bin +3 -0
- model.safetensors +1 -1
checkpoint-157/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-157/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4fa9be212b0ea1274957c7fedf7ba5d526e963f71de623a9c4f53413760047cc
|
3 |
+
size 343223968
|
checkpoint-157/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:993f90836af7d36969ed88add19d5d837fa3b762d6776a6f95e9fb23d66ccc80
|
3 |
+
size 686568890
|
checkpoint-157/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-157/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9196a1e708bf24d6abba41cce3f8558820acc3e50f9394c5955e29eb41ffea3d
|
3 |
+
size 14244
|
checkpoint-157/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:046250f101b9dd115f48309c7218201c5109ecf4a8c168fe3faa076d5523a459
|
3 |
+
size 1064
|
checkpoint-157/trainer_state.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.44364604353904724,
|
3 |
+
"best_model_checkpoint": "fairface_gender_image_detection/checkpoint-157",
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 157,
|
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.877,
|
14 |
+
"eval_loss": 0.44364604353904724,
|
15 |
+
"eval_model_preparation_time": 0.004,
|
16 |
+
"eval_runtime": 82.7013,
|
17 |
+
"eval_samples_per_second": 12.092,
|
18 |
+
"eval_steps_per_second": 1.511,
|
19 |
+
"step": 157
|
20 |
+
}
|
21 |
+
],
|
22 |
+
"logging_steps": 500,
|
23 |
+
"max_steps": 157,
|
24 |
+
"num_input_tokens_seen": 0,
|
25 |
+
"num_train_epochs": 1,
|
26 |
+
"save_steps": 500,
|
27 |
+
"stateful_callbacks": {
|
28 |
+
"TrainerControl": {
|
29 |
+
"args": {
|
30 |
+
"should_epoch_stop": false,
|
31 |
+
"should_evaluate": false,
|
32 |
+
"should_log": false,
|
33 |
+
"should_save": true,
|
34 |
+
"should_training_stop": true
|
35 |
+
},
|
36 |
+
"attributes": {}
|
37 |
+
}
|
38 |
+
},
|
39 |
+
"total_flos": 3.8745994807296e+17,
|
40 |
+
"train_batch_size": 32,
|
41 |
+
"trial_name": null,
|
42 |
+
"trial_params": null
|
43 |
+
}
|
checkpoint-157/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4259b780c969be6dcb2cd47d0fe7da7c8b92e370d789469f7190c16cf2f18673
|
3 |
+
size 5240
|
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:4fa9be212b0ea1274957c7fedf7ba5d526e963f71de623a9c4f53413760047cc
|
3 |
size 343223968
|