Upload folder using huggingface_hub
Browse files- checkpoint-680/config.json +40 -0
- checkpoint-680/model.safetensors +3 -0
- checkpoint-680/optimizer.pt +3 -0
- checkpoint-680/preprocessor_config.json +22 -0
- checkpoint-680/rng_state.pth +3 -0
- checkpoint-680/scheduler.pt +3 -0
- checkpoint-680/trainer_state.json +46 -0
- checkpoint-680/training_args.bin +3 -0
- config.json +1 -1
- model.safetensors +1 -1
- training_args.bin +2 -2
checkpoint-680/config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "dima806/face_emotions_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": "Ahegao",
|
13 |
+
"1": "Angry",
|
14 |
+
"2": "Happy",
|
15 |
+
"3": "Neutral",
|
16 |
+
"4": "Sad",
|
17 |
+
"5": "Surprise"
|
18 |
+
},
|
19 |
+
"image_size": 224,
|
20 |
+
"initializer_range": 0.02,
|
21 |
+
"intermediate_size": 3072,
|
22 |
+
"label2id": {
|
23 |
+
"Ahegao": 0,
|
24 |
+
"Angry": 1,
|
25 |
+
"Happy": 2,
|
26 |
+
"Neutral": 3,
|
27 |
+
"Sad": 4,
|
28 |
+
"Surprise": 5
|
29 |
+
},
|
30 |
+
"layer_norm_eps": 1e-12,
|
31 |
+
"model_type": "vit",
|
32 |
+
"num_attention_heads": 12,
|
33 |
+
"num_channels": 3,
|
34 |
+
"num_hidden_layers": 12,
|
35 |
+
"patch_size": 16,
|
36 |
+
"problem_type": "single_label_classification",
|
37 |
+
"qkv_bias": true,
|
38 |
+
"torch_dtype": "float32",
|
39 |
+
"transformers_version": "4.38.2"
|
40 |
+
}
|
checkpoint-680/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:74c1dc788ded66b2c96e14d1c7b3e4b8e6801cbea3cae0d5e7f58835b8b64fda
|
3 |
+
size 343236280
|
checkpoint-680/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7d14f5edf0b04de1a0d4721a808dad470a91a3b303096694cdf23228a7c7c600
|
3 |
+
size 686593029
|
checkpoint-680/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-680/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:728fcda6101c5173fd00ccfb41184eea39f1f954172752ad6736be136978cd24
|
3 |
+
size 14575
|
checkpoint-680/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4fc5cacb5a1811e5168ff6415f9505fcdc2fb55785f565297acae2e8618fb341
|
3 |
+
size 627
|
checkpoint-680/trainer_state.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.8267140984535217,
|
3 |
+
"best_model_checkpoint": "face_emotions_image_detection/checkpoint-680",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 680,
|
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.7641704592470004,
|
14 |
+
"eval_loss": 0.8311234712600708,
|
15 |
+
"eval_runtime": 36.6909,
|
16 |
+
"eval_samples_per_second": 65.875,
|
17 |
+
"eval_steps_per_second": 2.071,
|
18 |
+
"step": 340
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"epoch": 1.47,
|
22 |
+
"grad_norm": 2.571842670440674,
|
23 |
+
"learning_rate": 1.4285714285714285e-07,
|
24 |
+
"loss": 0.7492,
|
25 |
+
"step": 500
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 2.0,
|
29 |
+
"eval_accuracy": 0.7641704592470004,
|
30 |
+
"eval_loss": 0.8267140984535217,
|
31 |
+
"eval_runtime": 36.0762,
|
32 |
+
"eval_samples_per_second": 66.997,
|
33 |
+
"eval_steps_per_second": 2.107,
|
34 |
+
"step": 680
|
35 |
+
}
|
36 |
+
],
|
37 |
+
"logging_steps": 500,
|
38 |
+
"max_steps": 680,
|
39 |
+
"num_input_tokens_seen": 0,
|
40 |
+
"num_train_epochs": 2,
|
41 |
+
"save_steps": 500,
|
42 |
+
"total_flos": 3.3702474498545664e+18,
|
43 |
+
"train_batch_size": 64,
|
44 |
+
"trial_name": null,
|
45 |
+
"trial_params": null
|
46 |
+
}
|
checkpoint-680/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a464503369e6755437a3db0a12941647b076b859fc51eaad5486515ae6607b59
|
3 |
+
size 4411
|
config.json
CHANGED
@@ -36,5 +36,5 @@
|
|
36 |
"problem_type": "single_label_classification",
|
37 |
"qkv_bias": true,
|
38 |
"torch_dtype": "float32",
|
39 |
-
"transformers_version": "4.
|
40 |
}
|
|
|
36 |
"problem_type": "single_label_classification",
|
37 |
"qkv_bias": true,
|
38 |
"torch_dtype": "float32",
|
39 |
+
"transformers_version": "4.38.2"
|
40 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343236280
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:74c1dc788ded66b2c96e14d1c7b3e4b8e6801cbea3cae0d5e7f58835b8b64fda
|
3 |
size 343236280
|
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:a464503369e6755437a3db0a12941647b076b859fc51eaad5486515ae6607b59
|
3 |
+
size 4411
|