dima806 commited on
Commit
fc56d00
·
verified ·
1 Parent(s): ce36a5d

Upload folder using huggingface_hub

Browse files
checkpoint-7484/config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dima806/hand_gestures_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": "call",
13
+ "1": "dislike",
14
+ "2": "fist",
15
+ "3": "four",
16
+ "4": "like",
17
+ "5": "mute",
18
+ "6": "ok",
19
+ "7": "one",
20
+ "8": "palm",
21
+ "9": "peace",
22
+ "10": "peace_inverted",
23
+ "11": "rock",
24
+ "12": "stop",
25
+ "13": "stop_inverted",
26
+ "14": "three",
27
+ "15": "three2",
28
+ "16": "two_up",
29
+ "17": "two_up_inverted"
30
+ },
31
+ "image_size": 224,
32
+ "initializer_range": 0.02,
33
+ "intermediate_size": 3072,
34
+ "label2id": {
35
+ "call": 0,
36
+ "dislike": 1,
37
+ "fist": 2,
38
+ "four": 3,
39
+ "like": 4,
40
+ "mute": 5,
41
+ "ok": 6,
42
+ "one": 7,
43
+ "palm": 8,
44
+ "peace": 9,
45
+ "peace_inverted": 10,
46
+ "rock": 11,
47
+ "stop": 12,
48
+ "stop_inverted": 13,
49
+ "three": 14,
50
+ "three2": 15,
51
+ "two_up": 16,
52
+ "two_up_inverted": 17
53
+ },
54
+ "layer_norm_eps": 1e-12,
55
+ "model_type": "vit",
56
+ "num_attention_heads": 12,
57
+ "num_channels": 3,
58
+ "num_hidden_layers": 12,
59
+ "patch_size": 16,
60
+ "problem_type": "single_label_classification",
61
+ "qkv_bias": true,
62
+ "torch_dtype": "float32",
63
+ "transformers_version": "4.38.2"
64
+ }
checkpoint-7484/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf62f5049edf8b954038412e41dbec9ec2907ef5bd3fd639f3362c655d58c8dd
3
+ size 343273192
checkpoint-7484/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2f5c3a2bdab8eaa4f67e8b5b8a3ff7134751c6ed1e7a5e105f601c5cf1f8ed9
3
+ size 686666885
checkpoint-7484/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-7484/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6258165ede373795fce19b4538a31ceb36cf142961590e2ec7c7d102df72e9d
3
+ size 14575
checkpoint-7484/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:486ee5205255a0969daf16a1f9e50cda7f2727da628831e5314dce781f077e3a
3
+ size 627
checkpoint-7484/trainer_state.json ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.048563838005066,
3
+ "best_model_checkpoint": "hand_gestures_image_detection/checkpoint-7484",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 7484,
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.07,
13
+ "grad_norm": 2.2655653953552246,
14
+ "learning_rate": 3.757869249394673e-07,
15
+ "loss": 1.2432,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.13,
20
+ "grad_norm": 1.7733244895935059,
21
+ "learning_rate": 3.488835082055421e-07,
22
+ "loss": 1.2086,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 0.2,
27
+ "grad_norm": 2.5758512020111084,
28
+ "learning_rate": 3.2198009147161687e-07,
29
+ "loss": 1.1738,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 0.27,
34
+ "grad_norm": 1.8766041994094849,
35
+ "learning_rate": 2.950766747376917e-07,
36
+ "loss": 1.1446,
37
+ "step": 2000
38
+ },
39
+ {
40
+ "epoch": 0.33,
41
+ "grad_norm": 1.6818866729736328,
42
+ "learning_rate": 2.6817325800376645e-07,
43
+ "loss": 1.1166,
44
+ "step": 2500
45
+ },
46
+ {
47
+ "epoch": 0.4,
48
+ "grad_norm": 2.216224431991577,
49
+ "learning_rate": 2.4126984126984124e-07,
50
+ "loss": 1.0913,
51
+ "step": 3000
52
+ },
53
+ {
54
+ "epoch": 0.47,
55
+ "grad_norm": 2.9839746952056885,
56
+ "learning_rate": 2.1436642453591606e-07,
57
+ "loss": 1.0774,
58
+ "step": 3500
59
+ },
60
+ {
61
+ "epoch": 0.53,
62
+ "grad_norm": 2.420858860015869,
63
+ "learning_rate": 1.8746300780199085e-07,
64
+ "loss": 1.0558,
65
+ "step": 4000
66
+ },
67
+ {
68
+ "epoch": 0.6,
69
+ "grad_norm": 2.0462467670440674,
70
+ "learning_rate": 1.6055959106806564e-07,
71
+ "loss": 1.0431,
72
+ "step": 4500
73
+ },
74
+ {
75
+ "epoch": 0.67,
76
+ "grad_norm": 1.9844759702682495,
77
+ "learning_rate": 1.3365617433414043e-07,
78
+ "loss": 1.03,
79
+ "step": 5000
80
+ },
81
+ {
82
+ "epoch": 0.73,
83
+ "grad_norm": 1.858327031135559,
84
+ "learning_rate": 1.0675275760021523e-07,
85
+ "loss": 1.0144,
86
+ "step": 5500
87
+ },
88
+ {
89
+ "epoch": 0.8,
90
+ "grad_norm": 3.135549783706665,
91
+ "learning_rate": 7.984934086629002e-08,
92
+ "loss": 1.0051,
93
+ "step": 6000
94
+ },
95
+ {
96
+ "epoch": 0.87,
97
+ "grad_norm": 1.8743281364440918,
98
+ "learning_rate": 5.2945924132364805e-08,
99
+ "loss": 1.0045,
100
+ "step": 6500
101
+ },
102
+ {
103
+ "epoch": 0.94,
104
+ "grad_norm": 1.7080762386322021,
105
+ "learning_rate": 2.6042507398439602e-08,
106
+ "loss": 1.0008,
107
+ "step": 7000
108
+ },
109
+ {
110
+ "epoch": 1.0,
111
+ "eval_accuracy": 0.9126202645820806,
112
+ "eval_loss": 1.048563838005066,
113
+ "eval_runtime": 688.7849,
114
+ "eval_samples_per_second": 77.261,
115
+ "eval_steps_per_second": 2.414,
116
+ "step": 7484
117
+ }
118
+ ],
119
+ "logging_steps": 500,
120
+ "max_steps": 7484,
121
+ "num_input_tokens_seen": 0,
122
+ "num_train_epochs": 1,
123
+ "save_steps": 500,
124
+ "total_flos": 3.711902575222466e+19,
125
+ "train_batch_size": 64,
126
+ "trial_name": null,
127
+ "trial_params": null
128
+ }
checkpoint-7484/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:070aaeec6da8eb3ce9400f0db0d28d99816e164eebf59eb4753079f2e48a83db
3
+ size 4411
config.json CHANGED
@@ -60,5 +60,5 @@
60
  "problem_type": "single_label_classification",
61
  "qkv_bias": true,
62
  "torch_dtype": "float32",
63
- "transformers_version": "4.36.2"
64
  }
 
60
  "problem_type": "single_label_classification",
61
  "qkv_bias": true,
62
  "torch_dtype": "float32",
63
+ "transformers_version": "4.38.2"
64
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:80fcb76db341927822b0bc980e96521dfdb0d991a76bc6c76280a0ece62f2bdf
3
  size 343273192
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf62f5049edf8b954038412e41dbec9ec2907ef5bd3fd639f3362c655d58c8dd
3
  size 343273192
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:30518e4f8bc3bcbf0ebddc024498f9f147b637f7e39a8091142f93dbe19de848
3
- size 4219
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:070aaeec6da8eb3ce9400f0db0d28d99816e164eebf59eb4753079f2e48a83db
3
+ size 4411