Upload folder using huggingface_hub
Browse files- checkpoint-3148/config.json +42 -0
- checkpoint-3148/model.safetensors +3 -0
- checkpoint-3148/optimizer.pt +3 -0
- checkpoint-3148/preprocessor_config.json +22 -0
- checkpoint-3148/rng_state.pth +3 -0
- checkpoint-3148/scheduler.pt +3 -0
- checkpoint-3148/trainer_state.json +81 -0
- checkpoint-3148/training_args.bin +3 -0
- config.json +2 -2
- model.safetensors +1 -1
- training_args.bin +2 -2
checkpoint-3148/config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "dima806/facial_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": "sad",
|
13 |
+
"1": "disgust",
|
14 |
+
"2": "angry",
|
15 |
+
"3": "neutral",
|
16 |
+
"4": "fear",
|
17 |
+
"5": "surprise",
|
18 |
+
"6": "happy"
|
19 |
+
},
|
20 |
+
"image_size": 224,
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"intermediate_size": 3072,
|
23 |
+
"label2id": {
|
24 |
+
"angry": 2,
|
25 |
+
"disgust": 1,
|
26 |
+
"fear": 4,
|
27 |
+
"happy": 6,
|
28 |
+
"neutral": 3,
|
29 |
+
"sad": 0,
|
30 |
+
"surprise": 5
|
31 |
+
},
|
32 |
+
"layer_norm_eps": 1e-12,
|
33 |
+
"model_type": "vit",
|
34 |
+
"num_attention_heads": 12,
|
35 |
+
"num_channels": 3,
|
36 |
+
"num_hidden_layers": 12,
|
37 |
+
"patch_size": 16,
|
38 |
+
"problem_type": "single_label_classification",
|
39 |
+
"qkv_bias": true,
|
40 |
+
"torch_dtype": "float32",
|
41 |
+
"transformers_version": "4.38.1"
|
42 |
+
}
|
checkpoint-3148/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a6c60a65625a5858cb798dc3334d437083ee9b580c83d48a51f373240a7a1787
|
3 |
+
size 343239356
|
checkpoint-3148/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d04acd20dcb700f9df90734bd9dbeabe662b4cdde4ba967c4f873c6b5191919
|
3 |
+
size 686599173
|
checkpoint-3148/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-3148/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f4bd07400bad6dd07cfb560ef3a008e1a1ac2eb6b7dc1401b53ca3360fa8c630
|
3 |
+
size 14575
|
checkpoint-3148/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d84c54314a06de97676c687671d8018a999fe3da6e7f649632ae9a8c598392dd
|
3 |
+
size 627
|
checkpoint-3148/trainer_state.json
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.4061734974384308,
|
3 |
+
"best_model_checkpoint": "facial_emotions_image_detection/checkpoint-3148",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 3148,
|
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.32,
|
13 |
+
"grad_norm": 10.101922035217285,
|
14 |
+
"learning_rate": 4.273724983860556e-06,
|
15 |
+
"loss": 0.5503,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.64,
|
20 |
+
"grad_norm": 14.047916412353516,
|
21 |
+
"learning_rate": 3.466752743705617e-06,
|
22 |
+
"loss": 0.5278,
|
23 |
+
"step": 1000
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.95,
|
27 |
+
"grad_norm": 10.702422142028809,
|
28 |
+
"learning_rate": 2.6597805035506778e-06,
|
29 |
+
"loss": 0.5172,
|
30 |
+
"step": 1500
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 1.0,
|
34 |
+
"eval_accuracy": 0.8700834326579261,
|
35 |
+
"eval_loss": 0.41607460379600525,
|
36 |
+
"eval_runtime": 111.1172,
|
37 |
+
"eval_samples_per_second": 113.259,
|
38 |
+
"eval_steps_per_second": 14.165,
|
39 |
+
"step": 1574
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 1.27,
|
43 |
+
"grad_norm": 13.397717475891113,
|
44 |
+
"learning_rate": 1.8528082633957392e-06,
|
45 |
+
"loss": 0.4672,
|
46 |
+
"step": 2000
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"epoch": 1.59,
|
50 |
+
"grad_norm": 16.72222900390625,
|
51 |
+
"learning_rate": 1.0458360232408006e-06,
|
52 |
+
"loss": 0.4599,
|
53 |
+
"step": 2500
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 1.91,
|
57 |
+
"grad_norm": 11.587815284729004,
|
58 |
+
"learning_rate": 2.3886378308586184e-07,
|
59 |
+
"loss": 0.4558,
|
60 |
+
"step": 3000
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"epoch": 2.0,
|
64 |
+
"eval_accuracy": 0.8742947953913389,
|
65 |
+
"eval_loss": 0.4061734974384308,
|
66 |
+
"eval_runtime": 110.2844,
|
67 |
+
"eval_samples_per_second": 114.114,
|
68 |
+
"eval_steps_per_second": 14.272,
|
69 |
+
"step": 3148
|
70 |
+
}
|
71 |
+
],
|
72 |
+
"logging_steps": 500,
|
73 |
+
"max_steps": 3148,
|
74 |
+
"num_input_tokens_seen": 0,
|
75 |
+
"num_train_epochs": 2,
|
76 |
+
"save_steps": 500,
|
77 |
+
"total_flos": 7.801933162066993e+18,
|
78 |
+
"train_batch_size": 32,
|
79 |
+
"trial_name": null,
|
80 |
+
"trial_params": null
|
81 |
+
}
|
checkpoint-3148/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f4a27ac1cf21ac69961911d3f69cc32618d3c82fd492d9d41337dd8d2d59a7a0
|
3 |
+
size 4411
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"ViTForImageClassification"
|
5 |
],
|
@@ -38,5 +38,5 @@
|
|
38 |
"problem_type": "single_label_classification",
|
39 |
"qkv_bias": true,
|
40 |
"torch_dtype": "float32",
|
41 |
-
"transformers_version": "4.
|
42 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "dima806/facial_emotions_image_detection",
|
3 |
"architectures": [
|
4 |
"ViTForImageClassification"
|
5 |
],
|
|
|
38 |
"problem_type": "single_label_classification",
|
39 |
"qkv_bias": true,
|
40 |
"torch_dtype": "float32",
|
41 |
+
"transformers_version": "4.38.1"
|
42 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343239356
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a6c60a65625a5858cb798dc3334d437083ee9b580c83d48a51f373240a7a1787
|
3 |
size 343239356
|
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:f4a27ac1cf21ac69961911d3f69cc32618d3c82fd492d9d41337dd8d2d59a7a0
|
3 |
+
size 4411
|