Upload folder using huggingface_hub
Browse files- checkpoint-420/config.json +34 -0
- checkpoint-420/model.safetensors +3 -0
- checkpoint-420/optimizer.pt +3 -0
- checkpoint-420/preprocessor_config.json +22 -0
- checkpoint-420/rng_state.pth +3 -0
- checkpoint-420/scheduler.pt +3 -0
- checkpoint-420/trainer_state.json +111 -0
- checkpoint-420/training_args.bin +3 -0
- config.json +34 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- training_args.bin +3 -0
checkpoint-420/config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
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": "dry",
|
13 |
+
"1": "normal",
|
14 |
+
"2": "oily"
|
15 |
+
},
|
16 |
+
"image_size": 224,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 3072,
|
19 |
+
"label2id": {
|
20 |
+
"dry": 0,
|
21 |
+
"normal": 1,
|
22 |
+
"oily": 2
|
23 |
+
},
|
24 |
+
"layer_norm_eps": 1e-12,
|
25 |
+
"model_type": "vit",
|
26 |
+
"num_attention_heads": 12,
|
27 |
+
"num_channels": 3,
|
28 |
+
"num_hidden_layers": 12,
|
29 |
+
"patch_size": 16,
|
30 |
+
"problem_type": "single_label_classification",
|
31 |
+
"qkv_bias": true,
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.38.1"
|
34 |
+
}
|
checkpoint-420/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:53fa7e97f0d2fcfa44eca57f2802e63bcb679ea2f25bbaf2339d634046256ae2
|
3 |
+
size 343227052
|
checkpoint-420/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0094ee97a9ba4532dad0497a4a622cea43f839a503a063e24e6ccab10503c3c9
|
3 |
+
size 686575034
|
checkpoint-420/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-420/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3647be051d7e1c4298a91f364d7a78fdf72d9e5123891ef0cd4134ff93e558c2
|
3 |
+
size 14244
|
checkpoint-420/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:95cbfc7611023a4a2d3601938f3c4cfab72bd1f6ad8cbf5d87752964449dd0d3
|
3 |
+
size 1064
|
checkpoint-420/trainer_state.json
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 1.070971131324768,
|
3 |
+
"best_model_checkpoint": "skin_types_image_detection/checkpoint-420",
|
4 |
+
"epoch": 10.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 420,
|
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.3482142857142857,
|
14 |
+
"eval_loss": 1.1025934219360352,
|
15 |
+
"eval_runtime": 8.6602,
|
16 |
+
"eval_samples_per_second": 77.597,
|
17 |
+
"eval_steps_per_second": 2.425,
|
18 |
+
"step": 42
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"epoch": 2.0,
|
22 |
+
"eval_accuracy": 0.38095238095238093,
|
23 |
+
"eval_loss": 1.0957356691360474,
|
24 |
+
"eval_runtime": 8.6006,
|
25 |
+
"eval_samples_per_second": 78.134,
|
26 |
+
"eval_steps_per_second": 2.442,
|
27 |
+
"step": 84
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 3.0,
|
31 |
+
"eval_accuracy": 0.39880952380952384,
|
32 |
+
"eval_loss": 1.0901765823364258,
|
33 |
+
"eval_runtime": 8.734,
|
34 |
+
"eval_samples_per_second": 76.94,
|
35 |
+
"eval_steps_per_second": 2.404,
|
36 |
+
"step": 126
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 4.0,
|
40 |
+
"eval_accuracy": 0.40476190476190477,
|
41 |
+
"eval_loss": 1.085254430770874,
|
42 |
+
"eval_runtime": 8.8621,
|
43 |
+
"eval_samples_per_second": 75.829,
|
44 |
+
"eval_steps_per_second": 2.37,
|
45 |
+
"step": 168
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 5.0,
|
49 |
+
"eval_accuracy": 0.4255952380952381,
|
50 |
+
"eval_loss": 1.081099271774292,
|
51 |
+
"eval_runtime": 8.6479,
|
52 |
+
"eval_samples_per_second": 77.707,
|
53 |
+
"eval_steps_per_second": 2.428,
|
54 |
+
"step": 210
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 6.0,
|
58 |
+
"eval_accuracy": 0.43898809523809523,
|
59 |
+
"eval_loss": 1.077662467956543,
|
60 |
+
"eval_runtime": 8.7736,
|
61 |
+
"eval_samples_per_second": 76.594,
|
62 |
+
"eval_steps_per_second": 2.394,
|
63 |
+
"step": 252
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 7.0,
|
67 |
+
"eval_accuracy": 0.4419642857142857,
|
68 |
+
"eval_loss": 1.0748907327651978,
|
69 |
+
"eval_runtime": 8.6849,
|
70 |
+
"eval_samples_per_second": 77.376,
|
71 |
+
"eval_steps_per_second": 2.418,
|
72 |
+
"step": 294
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 8.0,
|
76 |
+
"eval_accuracy": 0.4523809523809524,
|
77 |
+
"eval_loss": 1.0727077722549438,
|
78 |
+
"eval_runtime": 8.7569,
|
79 |
+
"eval_samples_per_second": 76.739,
|
80 |
+
"eval_steps_per_second": 2.398,
|
81 |
+
"step": 336
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 9.0,
|
85 |
+
"eval_accuracy": 0.4583333333333333,
|
86 |
+
"eval_loss": 1.0713720321655273,
|
87 |
+
"eval_runtime": 8.539,
|
88 |
+
"eval_samples_per_second": 78.697,
|
89 |
+
"eval_steps_per_second": 2.459,
|
90 |
+
"step": 378
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"epoch": 10.0,
|
94 |
+
"eval_accuracy": 0.45982142857142855,
|
95 |
+
"eval_loss": 1.070971131324768,
|
96 |
+
"eval_runtime": 8.8405,
|
97 |
+
"eval_samples_per_second": 76.014,
|
98 |
+
"eval_steps_per_second": 2.375,
|
99 |
+
"step": 420
|
100 |
+
}
|
101 |
+
],
|
102 |
+
"logging_steps": 500,
|
103 |
+
"max_steps": 420,
|
104 |
+
"num_input_tokens_seen": 0,
|
105 |
+
"num_train_epochs": 10,
|
106 |
+
"save_steps": 500,
|
107 |
+
"total_flos": 2.083003349973074e+18,
|
108 |
+
"train_batch_size": 64,
|
109 |
+
"trial_name": null,
|
110 |
+
"trial_params": null
|
111 |
+
}
|
checkpoint-420/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bde5a84249752d7d3189a33d921fcbc361bf184587285ac48bcdafc3ebddbb67
|
3 |
+
size 4856
|
config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
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": "dry",
|
13 |
+
"1": "normal",
|
14 |
+
"2": "oily"
|
15 |
+
},
|
16 |
+
"image_size": 224,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 3072,
|
19 |
+
"label2id": {
|
20 |
+
"dry": 0,
|
21 |
+
"normal": 1,
|
22 |
+
"oily": 2
|
23 |
+
},
|
24 |
+
"layer_norm_eps": 1e-12,
|
25 |
+
"model_type": "vit",
|
26 |
+
"num_attention_heads": 12,
|
27 |
+
"num_channels": 3,
|
28 |
+
"num_hidden_layers": 12,
|
29 |
+
"patch_size": 16,
|
30 |
+
"problem_type": "single_label_classification",
|
31 |
+
"qkv_bias": true,
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.38.1"
|
34 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:53fa7e97f0d2fcfa44eca57f2802e63bcb679ea2f25bbaf2339d634046256ae2
|
3 |
+
size 343227052
|
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 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bde5a84249752d7d3189a33d921fcbc361bf184587285ac48bcdafc3ebddbb67
|
3 |
+
size 4856
|