Upload folder using huggingface_hub
Browse files- checkpoint-1190/config.json +44 -0
- checkpoint-1190/optimizer.pt +3 -0
- checkpoint-1190/preprocessor_config.json +22 -0
- checkpoint-1190/pytorch_model.bin +3 -0
- checkpoint-1190/rng_state.pth +3 -0
- checkpoint-1190/scheduler.pt +3 -0
- checkpoint-1190/trainer_state.json +121 -0
- checkpoint-1190/training_args.bin +3 -0
- config.json +44 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
checkpoint-1190/config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "pear",
|
13 |
+
"1": "cushion",
|
14 |
+
"2": "princess",
|
15 |
+
"3": "round",
|
16 |
+
"4": "marquise",
|
17 |
+
"5": "oval",
|
18 |
+
"6": "emerald",
|
19 |
+
"7": "heart"
|
20 |
+
},
|
21 |
+
"image_size": 224,
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"intermediate_size": 3072,
|
24 |
+
"label2id": {
|
25 |
+
"cushion": 1,
|
26 |
+
"emerald": 6,
|
27 |
+
"heart": 7,
|
28 |
+
"marquise": 4,
|
29 |
+
"oval": 5,
|
30 |
+
"pear": 0,
|
31 |
+
"princess": 2,
|
32 |
+
"round": 3
|
33 |
+
},
|
34 |
+
"layer_norm_eps": 1e-12,
|
35 |
+
"model_type": "vit",
|
36 |
+
"num_attention_heads": 12,
|
37 |
+
"num_channels": 3,
|
38 |
+
"num_hidden_layers": 12,
|
39 |
+
"patch_size": 16,
|
40 |
+
"problem_type": "single_label_classification",
|
41 |
+
"qkv_bias": true,
|
42 |
+
"torch_dtype": "float32",
|
43 |
+
"transformers_version": "4.33.0"
|
44 |
+
}
|
checkpoint-1190/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b41cdaa289be46087b578cc31b7169f52b76187a2ddaa3382321c597a378398a
|
3 |
+
size 686605317
|
checkpoint-1190/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-1190/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:08718b4ab6e4d2d99b3aab9a961fc4c08e1f19d5dadac5a1b184acad3fbb9eb7
|
3 |
+
size 343287149
|
checkpoint-1190/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:80e462d98a476fc9da367a5032a8a331ae16e3d792a0c3d968eaf5af80f7e94b
|
3 |
+
size 14575
|
checkpoint-1190/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a62ba1f79da76d58819bb8e566d209da907cf71250a57a7c87b9ba55ed6aae63
|
3 |
+
size 627
|
checkpoint-1190/trainer_state.json
ADDED
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.14204449951648712,
|
3 |
+
"best_model_checkpoint": "diamond_types_image_detection/checkpoint-1190",
|
4 |
+
"epoch": 10.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 1190,
|
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.9556025369978859,
|
14 |
+
"eval_loss": 0.8833887577056885,
|
15 |
+
"eval_runtime": 10.1705,
|
16 |
+
"eval_samples_per_second": 93.014,
|
17 |
+
"eval_steps_per_second": 11.7,
|
18 |
+
"step": 119
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"epoch": 2.0,
|
22 |
+
"eval_accuracy": 0.9830866807610994,
|
23 |
+
"eval_loss": 0.40806570649147034,
|
24 |
+
"eval_runtime": 10.2561,
|
25 |
+
"eval_samples_per_second": 92.238,
|
26 |
+
"eval_steps_per_second": 11.603,
|
27 |
+
"step": 238
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 3.0,
|
31 |
+
"eval_accuracy": 0.9841437632135307,
|
32 |
+
"eval_loss": 0.2761622667312622,
|
33 |
+
"eval_runtime": 10.4086,
|
34 |
+
"eval_samples_per_second": 90.887,
|
35 |
+
"eval_steps_per_second": 11.433,
|
36 |
+
"step": 357
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 4.0,
|
40 |
+
"eval_accuracy": 0.9957716701902748,
|
41 |
+
"eval_loss": 0.21955327689647675,
|
42 |
+
"eval_runtime": 9.9686,
|
43 |
+
"eval_samples_per_second": 94.898,
|
44 |
+
"eval_steps_per_second": 11.938,
|
45 |
+
"step": 476
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 4.2,
|
49 |
+
"learning_rate": 6.0526315789473685e-06,
|
50 |
+
"loss": 0.6062,
|
51 |
+
"step": 500
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 5.0,
|
55 |
+
"eval_accuracy": 1.0,
|
56 |
+
"eval_loss": 0.18926191329956055,
|
57 |
+
"eval_runtime": 10.0236,
|
58 |
+
"eval_samples_per_second": 94.377,
|
59 |
+
"eval_steps_per_second": 11.872,
|
60 |
+
"step": 595
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"epoch": 6.0,
|
64 |
+
"eval_accuracy": 1.0,
|
65 |
+
"eval_loss": 0.16965460777282715,
|
66 |
+
"eval_runtime": 9.9648,
|
67 |
+
"eval_samples_per_second": 94.934,
|
68 |
+
"eval_steps_per_second": 11.942,
|
69 |
+
"step": 714
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 7.0,
|
73 |
+
"eval_accuracy": 1.0,
|
74 |
+
"eval_loss": 0.1565340757369995,
|
75 |
+
"eval_runtime": 10.0192,
|
76 |
+
"eval_samples_per_second": 94.418,
|
77 |
+
"eval_steps_per_second": 11.877,
|
78 |
+
"step": 833
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"epoch": 8.0,
|
82 |
+
"eval_accuracy": 1.0,
|
83 |
+
"eval_loss": 0.14831364154815674,
|
84 |
+
"eval_runtime": 10.0259,
|
85 |
+
"eval_samples_per_second": 94.356,
|
86 |
+
"eval_steps_per_second": 11.869,
|
87 |
+
"step": 952
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 8.4,
|
91 |
+
"learning_rate": 1.6666666666666667e-06,
|
92 |
+
"loss": 0.1525,
|
93 |
+
"step": 1000
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 9.0,
|
97 |
+
"eval_accuracy": 1.0,
|
98 |
+
"eval_loss": 0.14375551044940948,
|
99 |
+
"eval_runtime": 10.0924,
|
100 |
+
"eval_samples_per_second": 93.734,
|
101 |
+
"eval_steps_per_second": 11.791,
|
102 |
+
"step": 1071
|
103 |
+
},
|
104 |
+
{
|
105 |
+
"epoch": 10.0,
|
106 |
+
"eval_accuracy": 1.0,
|
107 |
+
"eval_loss": 0.14204449951648712,
|
108 |
+
"eval_runtime": 10.4032,
|
109 |
+
"eval_samples_per_second": 90.933,
|
110 |
+
"eval_steps_per_second": 11.439,
|
111 |
+
"step": 1190
|
112 |
+
}
|
113 |
+
],
|
114 |
+
"logging_steps": 500,
|
115 |
+
"max_steps": 1190,
|
116 |
+
"num_train_epochs": 10,
|
117 |
+
"save_steps": 500,
|
118 |
+
"total_flos": 2.9316796129448755e+18,
|
119 |
+
"trial_name": null,
|
120 |
+
"trial_params": null
|
121 |
+
}
|
checkpoint-1190/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a15599710f10f7194aeb8c648b1850c5e668d00523fdcb068678c842dd9bc67c
|
3 |
+
size 4027
|
config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "pear",
|
13 |
+
"1": "cushion",
|
14 |
+
"2": "princess",
|
15 |
+
"3": "round",
|
16 |
+
"4": "marquise",
|
17 |
+
"5": "oval",
|
18 |
+
"6": "emerald",
|
19 |
+
"7": "heart"
|
20 |
+
},
|
21 |
+
"image_size": 224,
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"intermediate_size": 3072,
|
24 |
+
"label2id": {
|
25 |
+
"cushion": 1,
|
26 |
+
"emerald": 6,
|
27 |
+
"heart": 7,
|
28 |
+
"marquise": 4,
|
29 |
+
"oval": 5,
|
30 |
+
"pear": 0,
|
31 |
+
"princess": 2,
|
32 |
+
"round": 3
|
33 |
+
},
|
34 |
+
"layer_norm_eps": 1e-12,
|
35 |
+
"model_type": "vit",
|
36 |
+
"num_attention_heads": 12,
|
37 |
+
"num_channels": 3,
|
38 |
+
"num_hidden_layers": 12,
|
39 |
+
"patch_size": 16,
|
40 |
+
"problem_type": "single_label_classification",
|
41 |
+
"qkv_bias": true,
|
42 |
+
"torch_dtype": "float32",
|
43 |
+
"transformers_version": "4.33.0"
|
44 |
+
}
|
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 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:08718b4ab6e4d2d99b3aab9a961fc4c08e1f19d5dadac5a1b184acad3fbb9eb7
|
3 |
+
size 343287149
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a15599710f10f7194aeb8c648b1850c5e668d00523fdcb068678c842dd9bc67c
|
3 |
+
size 4027
|