dima806 commited on
Commit
1f1d3f8
·
verified ·
1 Parent(s): 4e9c7a5

Upload folder using huggingface_hub

Browse files
checkpoint-454/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-454/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1fd181d1e65f33a2d04d7b4d3deae93d78cabff53d8df268962c61434012828
3
+ size 343236280
checkpoint-454/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80fb77150d5244dd947fd1236e2fdb647f6dc98f81d5ef276e08b4e60deb0ae7
3
+ size 686593029
checkpoint-454/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-454/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:520ad5ff0e90c135e54bbd4d9edb13c4f7e3bd09021322943b6bc6bd866f355b
3
+ size 14575
checkpoint-454/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6d266e42c26961bd76c13b065dd0d43fe0371fcb4b1c079f8605576ec717267
3
+ size 627
checkpoint-454/trainer_state.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.7390922904014587,
3
+ "best_model_checkpoint": "face_emotions_image_detection/checkpoint-454",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 454,
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.7778582514226591,
14
+ "eval_loss": 0.7400674223899841,
15
+ "eval_runtime": 142.2234,
16
+ "eval_samples_per_second": 67.956,
17
+ "eval_steps_per_second": 2.13,
18
+ "step": 227
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.7777547853078117,
23
+ "eval_loss": 0.7390922904014587,
24
+ "eval_runtime": 138.8607,
25
+ "eval_samples_per_second": 69.602,
26
+ "eval_steps_per_second": 2.182,
27
+ "step": 454
28
+ }
29
+ ],
30
+ "logging_steps": 500,
31
+ "max_steps": 454,
32
+ "num_input_tokens_seen": 0,
33
+ "num_train_epochs": 2,
34
+ "save_steps": 500,
35
+ "total_flos": 2.2468832964148838e+18,
36
+ "train_batch_size": 64,
37
+ "trial_name": null,
38
+ "trial_params": null
39
+ }
checkpoint-454/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7b2dba4adbad260c58dd2cde96c48886b6d58245019ede47a37e606bbe10f75
3
+ size 4411
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f018e758f1819004a33e22282cff6a2bf32fc0cd62710cbab6c19c2a48697c67
3
  size 343236280
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1fd181d1e65f33a2d04d7b4d3deae93d78cabff53d8df268962c61434012828
3
  size 343236280
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0f68550f185cdb52019d0c1f7dfcfd5c27c7f9240920f1876c5eaf2eaefacb27
3
  size 4411
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7b2dba4adbad260c58dd2cde96c48886b6d58245019ede47a37e606bbe10f75
3
  size 4411