Upload folder using huggingface_hub
Browse files- checkpoint-149/config.json +32 -0
- checkpoint-149/model.safetensors +3 -0
- checkpoint-149/optimizer.pt +3 -0
- checkpoint-149/preprocessor_config.json +22 -0
- checkpoint-149/rng_state.pth +3 -0
- checkpoint-149/scheduler.pt +3 -0
- checkpoint-149/trainer_state.json +30 -0
- checkpoint-149/training_args.bin +3 -0
- config.json +1 -1
- model.safetensors +1 -1
- training_args.bin +2 -2
checkpoint-149/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.38.1"
|
32 |
+
}
|
checkpoint-149/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:58c4ab4867f7ffb1a9f0d962842bc5e4a0ae7f27e6fb71f876c535ba58a7a61f
|
3 |
+
size 343223968
|
checkpoint-149/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4c6127953708afd93d1788cd6e1309fb3f749be583469ecb733ba96af408b5a3
|
3 |
+
size 686568890
|
checkpoint-149/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-149/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:01971a0dd6b0aad893906a8c393ab74d0db2294f217ed9be0637cb0eb227379e
|
3 |
+
size 14244
|
checkpoint-149/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:729b02b7be3902816ebcb666b7dd7cfdafd441f0eea2cb6b097437cfe9a7f1d6
|
3 |
+
size 1064
|
checkpoint-149/trainer_state.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.3268347978591919,
|
3 |
+
"best_model_checkpoint": "attractive_faces_celebs_detection/checkpoint-149",
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 149,
|
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.84,
|
14 |
+
"eval_loss": 0.3268347978591919,
|
15 |
+
"eval_runtime": 4.5327,
|
16 |
+
"eval_samples_per_second": 110.309,
|
17 |
+
"eval_steps_per_second": 3.53,
|
18 |
+
"step": 149
|
19 |
+
}
|
20 |
+
],
|
21 |
+
"logging_steps": 500,
|
22 |
+
"max_steps": 149,
|
23 |
+
"num_input_tokens_seen": 0,
|
24 |
+
"num_train_epochs": 1,
|
25 |
+
"save_steps": 500,
|
26 |
+
"total_flos": 7.36173901338624e+17,
|
27 |
+
"train_batch_size": 64,
|
28 |
+
"trial_name": null,
|
29 |
+
"trial_params": null
|
30 |
+
}
|
checkpoint-149/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a379e76c753034f1463de1c22bf9fc150d5ba8468f84ab8a5d6735a57468aa24
|
3 |
+
size 4856
|
config.json
CHANGED
@@ -28,5 +28,5 @@
|
|
28 |
"problem_type": "single_label_classification",
|
29 |
"qkv_bias": true,
|
30 |
"torch_dtype": "float32",
|
31 |
-
"transformers_version": "4.
|
32 |
}
|
|
|
28 |
"problem_type": "single_label_classification",
|
29 |
"qkv_bias": true,
|
30 |
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.38.1"
|
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:58c4ab4867f7ffb1a9f0d962842bc5e4a0ae7f27e6fb71f876c535ba58a7a61f
|
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:a379e76c753034f1463de1c22bf9fc150d5ba8468f84ab8a5d6735a57468aa24
|
3 |
+
size 4856
|