Upload folder using huggingface_hub
Browse files- checkpoint-4989/config.json +64 -0
- checkpoint-4989/model.safetensors +3 -0
- checkpoint-4989/optimizer.pt +3 -0
- checkpoint-4989/preprocessor_config.json +36 -0
- checkpoint-4989/rng_state.pth +3 -0
- checkpoint-4989/scheduler.pt +3 -0
- checkpoint-4989/trainer_state.json +93 -0
- checkpoint-4989/training_args.bin +3 -0
- config.json +1 -1
- model.safetensors +1 -1
- preprocessor_config.json +14 -0
- training_args.bin +1 -1
checkpoint-4989/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.39.3"
|
| 64 |
+
}
|
checkpoint-4989/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4cc73a7ea9e7ccb44e05bd03b48378c5d24cef72f78ed4d0b360d96789af238d
|
| 3 |
+
size 343273192
|
checkpoint-4989/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:698b513c113dfdd65ba5fc052df54bacc2e83d434b72e336c5b46570b263ba8e
|
| 3 |
+
size 686666885
|
checkpoint-4989/preprocessor_config.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_valid_processor_keys": [
|
| 3 |
+
"images",
|
| 4 |
+
"do_resize",
|
| 5 |
+
"size",
|
| 6 |
+
"resample",
|
| 7 |
+
"do_rescale",
|
| 8 |
+
"rescale_factor",
|
| 9 |
+
"do_normalize",
|
| 10 |
+
"image_mean",
|
| 11 |
+
"image_std",
|
| 12 |
+
"return_tensors",
|
| 13 |
+
"data_format",
|
| 14 |
+
"input_data_format"
|
| 15 |
+
],
|
| 16 |
+
"do_normalize": true,
|
| 17 |
+
"do_rescale": true,
|
| 18 |
+
"do_resize": true,
|
| 19 |
+
"image_mean": [
|
| 20 |
+
0.5,
|
| 21 |
+
0.5,
|
| 22 |
+
0.5
|
| 23 |
+
],
|
| 24 |
+
"image_processor_type": "ViTImageProcessor",
|
| 25 |
+
"image_std": [
|
| 26 |
+
0.5,
|
| 27 |
+
0.5,
|
| 28 |
+
0.5
|
| 29 |
+
],
|
| 30 |
+
"resample": 2,
|
| 31 |
+
"rescale_factor": 0.00392156862745098,
|
| 32 |
+
"size": {
|
| 33 |
+
"height": 224,
|
| 34 |
+
"width": 224
|
| 35 |
+
}
|
| 36 |
+
}
|
checkpoint-4989/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:036df40105748f4240abc8df128f601121d212fcdf7a960d8c09d6749636e304
|
| 3 |
+
size 14575
|
checkpoint-4989/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a832d740cd9263a5fb88139d361c1f9f0af12b25cf1badcb1a0197b04ee95d0a
|
| 3 |
+
size 627
|
checkpoint-4989/trainer_state.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": 1.0111007690429688,
|
| 3 |
+
"best_model_checkpoint": "hand_gestures_image_detection/checkpoint-4989",
|
| 4 |
+
"epoch": 1.0,
|
| 5 |
+
"eval_steps": 500,
|
| 6 |
+
"global_step": 4989,
|
| 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.1,
|
| 13 |
+
"grad_norm": 2.4404540061950684,
|
| 14 |
+
"learning_rate": 9.08888438955254e-08,
|
| 15 |
+
"loss": 0.9907,
|
| 16 |
+
"step": 500
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"epoch": 0.2,
|
| 20 |
+
"grad_norm": 2.8323748111724854,
|
| 21 |
+
"learning_rate": 8.076533711277587e-08,
|
| 22 |
+
"loss": 0.9894,
|
| 23 |
+
"step": 1000
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"epoch": 0.3,
|
| 27 |
+
"grad_norm": 2.196962594985962,
|
| 28 |
+
"learning_rate": 7.064183033002632e-08,
|
| 29 |
+
"loss": 0.9812,
|
| 30 |
+
"step": 1500
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"epoch": 0.4,
|
| 34 |
+
"grad_norm": 2.131086587905884,
|
| 35 |
+
"learning_rate": 6.051832354727677e-08,
|
| 36 |
+
"loss": 0.9723,
|
| 37 |
+
"step": 2000
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"epoch": 0.5,
|
| 41 |
+
"grad_norm": 2.165480375289917,
|
| 42 |
+
"learning_rate": 5.039481676452722e-08,
|
| 43 |
+
"loss": 0.9698,
|
| 44 |
+
"step": 2500
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"epoch": 0.6,
|
| 48 |
+
"grad_norm": 1.9154175519943237,
|
| 49 |
+
"learning_rate": 4.0271309981777684e-08,
|
| 50 |
+
"loss": 0.9671,
|
| 51 |
+
"step": 3000
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"epoch": 0.7,
|
| 55 |
+
"grad_norm": 2.8983991146087646,
|
| 56 |
+
"learning_rate": 3.0147803199028145e-08,
|
| 57 |
+
"loss": 0.9681,
|
| 58 |
+
"step": 3500
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"epoch": 0.8,
|
| 62 |
+
"grad_norm": 1.7585078477859497,
|
| 63 |
+
"learning_rate": 2.00242964162786e-08,
|
| 64 |
+
"loss": 0.9616,
|
| 65 |
+
"step": 4000
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"epoch": 0.9,
|
| 69 |
+
"grad_norm": 2.4613096714019775,
|
| 70 |
+
"learning_rate": 9.900789633529054e-09,
|
| 71 |
+
"loss": 0.9524,
|
| 72 |
+
"step": 4500
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"epoch": 1.0,
|
| 76 |
+
"eval_accuracy": 0.915968636809937,
|
| 77 |
+
"eval_loss": 1.0111007690429688,
|
| 78 |
+
"eval_runtime": 3768.8151,
|
| 79 |
+
"eval_samples_per_second": 56.48,
|
| 80 |
+
"eval_steps_per_second": 1.765,
|
| 81 |
+
"step": 4989
|
| 82 |
+
}
|
| 83 |
+
],
|
| 84 |
+
"logging_steps": 500,
|
| 85 |
+
"max_steps": 4989,
|
| 86 |
+
"num_input_tokens_seen": 0,
|
| 87 |
+
"num_train_epochs": 1,
|
| 88 |
+
"save_steps": 500,
|
| 89 |
+
"total_flos": 2.4746043002517172e+19,
|
| 90 |
+
"train_batch_size": 64,
|
| 91 |
+
"trial_name": null,
|
| 92 |
+
"trial_params": null
|
| 93 |
+
}
|
checkpoint-4989/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8de5760fd58d340014b07cba45b9366f855e6f175c5cf83702c1a4516835878e
|
| 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.
|
| 64 |
}
|
|
|
|
| 60 |
"problem_type": "single_label_classification",
|
| 61 |
"qkv_bias": true,
|
| 62 |
"torch_dtype": "float32",
|
| 63 |
+
"transformers_version": "4.39.3"
|
| 64 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 343273192
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4cc73a7ea9e7ccb44e05bd03b48378c5d24cef72f78ed4d0b360d96789af238d
|
| 3 |
size 343273192
|
preprocessor_config.json
CHANGED
|
@@ -1,4 +1,18 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"do_normalize": true,
|
| 3 |
"do_rescale": true,
|
| 4 |
"do_resize": true,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_valid_processor_keys": [
|
| 3 |
+
"images",
|
| 4 |
+
"do_resize",
|
| 5 |
+
"size",
|
| 6 |
+
"resample",
|
| 7 |
+
"do_rescale",
|
| 8 |
+
"rescale_factor",
|
| 9 |
+
"do_normalize",
|
| 10 |
+
"image_mean",
|
| 11 |
+
"image_std",
|
| 12 |
+
"return_tensors",
|
| 13 |
+
"data_format",
|
| 14 |
+
"input_data_format"
|
| 15 |
+
],
|
| 16 |
"do_normalize": true,
|
| 17 |
"do_rescale": true,
|
| 18 |
"do_resize": true,
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4411
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8de5760fd58d340014b07cba45b9366f855e6f175c5cf83702c1a4516835878e
|
| 3 |
size 4411
|