Upload folder using huggingface_hub
Browse files- checkpoint-800/config.json +36 -0
- checkpoint-800/optimizer.pt +3 -0
- checkpoint-800/preprocessor_config.json +22 -0
- checkpoint-800/pytorch_model.bin +3 -0
- checkpoint-800/rng_state.pth +3 -0
- checkpoint-800/scheduler.pt +3 -0
- checkpoint-800/trainer_state.json +205 -0
- checkpoint-800/training_args.bin +3 -0
- config.json +36 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
checkpoint-800/config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Dark",
|
13 |
+
"1": "Light",
|
14 |
+
"2": "Green",
|
15 |
+
"3": "Medium"
|
16 |
+
},
|
17 |
+
"image_size": 224,
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"Dark": 0,
|
22 |
+
"Green": 2,
|
23 |
+
"Light": 1,
|
24 |
+
"Medium": 3
|
25 |
+
},
|
26 |
+
"layer_norm_eps": 1e-12,
|
27 |
+
"model_type": "vit",
|
28 |
+
"num_attention_heads": 12,
|
29 |
+
"num_channels": 3,
|
30 |
+
"num_hidden_layers": 12,
|
31 |
+
"patch_size": 16,
|
32 |
+
"problem_type": "single_label_classification",
|
33 |
+
"qkv_bias": true,
|
34 |
+
"torch_dtype": "float32",
|
35 |
+
"transformers_version": "4.33.2"
|
36 |
+
}
|
checkpoint-800/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4aa5c46d6adffb9741ca22189259ac0f7ab1bf7d53d7272008c0d715537f67e7
|
3 |
+
size 686580741
|
checkpoint-800/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-800/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fbecd0b9bec68e83769deed754a6b4a25bd341e10b3d50329e7844900866092e
|
3 |
+
size 343274861
|
checkpoint-800/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:522be1b5b04a672dfb5e300e87269730e5307c483255e39df7540dac023f763c
|
3 |
+
size 14575
|
checkpoint-800/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6ae19ae0d6dd1edea8e41e4c43d6c38e46eb87880006ebe531f416dc757c2a9c
|
3 |
+
size 627
|
checkpoint-800/trainer_state.json
ADDED
@@ -0,0 +1,205 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.07743142545223236,
|
3 |
+
"best_model_checkpoint": "coffee_bean_roast_image_detection/checkpoint-800",
|
4 |
+
"epoch": 20.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 800,
|
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.575,
|
14 |
+
"eval_loss": 1.3115463256835938,
|
15 |
+
"eval_runtime": 3.3549,
|
16 |
+
"eval_samples_per_second": 95.383,
|
17 |
+
"eval_steps_per_second": 11.923,
|
18 |
+
"step": 40
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"epoch": 2.0,
|
22 |
+
"eval_accuracy": 0.9875,
|
23 |
+
"eval_loss": 0.8255667686462402,
|
24 |
+
"eval_runtime": 3.6838,
|
25 |
+
"eval_samples_per_second": 86.866,
|
26 |
+
"eval_steps_per_second": 10.858,
|
27 |
+
"step": 80
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 3.0,
|
31 |
+
"eval_accuracy": 0.9875,
|
32 |
+
"eval_loss": 0.45011472702026367,
|
33 |
+
"eval_runtime": 3.1465,
|
34 |
+
"eval_samples_per_second": 101.702,
|
35 |
+
"eval_steps_per_second": 12.713,
|
36 |
+
"step": 120
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 4.0,
|
40 |
+
"eval_accuracy": 1.0,
|
41 |
+
"eval_loss": 0.25690728425979614,
|
42 |
+
"eval_runtime": 3.1623,
|
43 |
+
"eval_samples_per_second": 101.193,
|
44 |
+
"eval_steps_per_second": 12.649,
|
45 |
+
"step": 160
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 5.0,
|
49 |
+
"eval_accuracy": 1.0,
|
50 |
+
"eval_loss": 0.1882997453212738,
|
51 |
+
"eval_runtime": 3.1267,
|
52 |
+
"eval_samples_per_second": 102.345,
|
53 |
+
"eval_steps_per_second": 12.793,
|
54 |
+
"step": 200
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 6.0,
|
58 |
+
"eval_accuracy": 1.0,
|
59 |
+
"eval_loss": 0.15578608214855194,
|
60 |
+
"eval_runtime": 3.1524,
|
61 |
+
"eval_samples_per_second": 101.51,
|
62 |
+
"eval_steps_per_second": 12.689,
|
63 |
+
"step": 240
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 7.0,
|
67 |
+
"eval_accuracy": 1.0,
|
68 |
+
"eval_loss": 0.134218230843544,
|
69 |
+
"eval_runtime": 3.117,
|
70 |
+
"eval_samples_per_second": 102.663,
|
71 |
+
"eval_steps_per_second": 12.833,
|
72 |
+
"step": 280
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 8.0,
|
76 |
+
"eval_accuracy": 1.0,
|
77 |
+
"eval_loss": 0.12063417583703995,
|
78 |
+
"eval_runtime": 3.1052,
|
79 |
+
"eval_samples_per_second": 103.051,
|
80 |
+
"eval_steps_per_second": 12.881,
|
81 |
+
"step": 320
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 9.0,
|
85 |
+
"eval_accuracy": 1.0,
|
86 |
+
"eval_loss": 0.11030121147632599,
|
87 |
+
"eval_runtime": 3.066,
|
88 |
+
"eval_samples_per_second": 104.369,
|
89 |
+
"eval_steps_per_second": 13.046,
|
90 |
+
"step": 360
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"epoch": 10.0,
|
94 |
+
"eval_accuracy": 1.0,
|
95 |
+
"eval_loss": 0.1020951122045517,
|
96 |
+
"eval_runtime": 3.4379,
|
97 |
+
"eval_samples_per_second": 93.079,
|
98 |
+
"eval_steps_per_second": 11.635,
|
99 |
+
"step": 400
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 11.0,
|
103 |
+
"eval_accuracy": 1.0,
|
104 |
+
"eval_loss": 0.09595195204019547,
|
105 |
+
"eval_runtime": 3.1194,
|
106 |
+
"eval_samples_per_second": 102.584,
|
107 |
+
"eval_steps_per_second": 12.823,
|
108 |
+
"step": 440
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"epoch": 12.0,
|
112 |
+
"eval_accuracy": 1.0,
|
113 |
+
"eval_loss": 0.09071190655231476,
|
114 |
+
"eval_runtime": 3.1024,
|
115 |
+
"eval_samples_per_second": 103.147,
|
116 |
+
"eval_steps_per_second": 12.893,
|
117 |
+
"step": 480
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 12.5,
|
121 |
+
"learning_rate": 4.000000000000001e-06,
|
122 |
+
"loss": 0.3247,
|
123 |
+
"step": 500
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"epoch": 13.0,
|
127 |
+
"eval_accuracy": 1.0,
|
128 |
+
"eval_loss": 0.0872669592499733,
|
129 |
+
"eval_runtime": 3.1032,
|
130 |
+
"eval_samples_per_second": 103.121,
|
131 |
+
"eval_steps_per_second": 12.89,
|
132 |
+
"step": 520
|
133 |
+
},
|
134 |
+
{
|
135 |
+
"epoch": 14.0,
|
136 |
+
"eval_accuracy": 1.0,
|
137 |
+
"eval_loss": 0.08464421331882477,
|
138 |
+
"eval_runtime": 3.1631,
|
139 |
+
"eval_samples_per_second": 101.167,
|
140 |
+
"eval_steps_per_second": 12.646,
|
141 |
+
"step": 560
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"epoch": 15.0,
|
145 |
+
"eval_accuracy": 1.0,
|
146 |
+
"eval_loss": 0.08224447816610336,
|
147 |
+
"eval_runtime": 3.4996,
|
148 |
+
"eval_samples_per_second": 91.439,
|
149 |
+
"eval_steps_per_second": 11.43,
|
150 |
+
"step": 600
|
151 |
+
},
|
152 |
+
{
|
153 |
+
"epoch": 16.0,
|
154 |
+
"eval_accuracy": 1.0,
|
155 |
+
"eval_loss": 0.08035526424646378,
|
156 |
+
"eval_runtime": 3.1085,
|
157 |
+
"eval_samples_per_second": 102.945,
|
158 |
+
"eval_steps_per_second": 12.868,
|
159 |
+
"step": 640
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 17.0,
|
163 |
+
"eval_accuracy": 1.0,
|
164 |
+
"eval_loss": 0.0789288580417633,
|
165 |
+
"eval_runtime": 3.1079,
|
166 |
+
"eval_samples_per_second": 102.965,
|
167 |
+
"eval_steps_per_second": 12.871,
|
168 |
+
"step": 680
|
169 |
+
},
|
170 |
+
{
|
171 |
+
"epoch": 18.0,
|
172 |
+
"eval_accuracy": 1.0,
|
173 |
+
"eval_loss": 0.07813367992639542,
|
174 |
+
"eval_runtime": 3.1201,
|
175 |
+
"eval_samples_per_second": 102.561,
|
176 |
+
"eval_steps_per_second": 12.82,
|
177 |
+
"step": 720
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 19.0,
|
181 |
+
"eval_accuracy": 1.0,
|
182 |
+
"eval_loss": 0.07762228697538376,
|
183 |
+
"eval_runtime": 3.1702,
|
184 |
+
"eval_samples_per_second": 100.94,
|
185 |
+
"eval_steps_per_second": 12.618,
|
186 |
+
"step": 760
|
187 |
+
},
|
188 |
+
{
|
189 |
+
"epoch": 20.0,
|
190 |
+
"eval_accuracy": 1.0,
|
191 |
+
"eval_loss": 0.07743142545223236,
|
192 |
+
"eval_runtime": 3.3252,
|
193 |
+
"eval_samples_per_second": 96.233,
|
194 |
+
"eval_steps_per_second": 12.029,
|
195 |
+
"step": 800
|
196 |
+
}
|
197 |
+
],
|
198 |
+
"logging_steps": 500,
|
199 |
+
"max_steps": 800,
|
200 |
+
"num_train_epochs": 20,
|
201 |
+
"save_steps": 500,
|
202 |
+
"total_flos": 1.9838304943865856e+18,
|
203 |
+
"trial_name": null,
|
204 |
+
"trial_params": null
|
205 |
+
}
|
checkpoint-800/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9798b7866221dcf28a7b13f2e79961d20c78496b489a1cc4ba1f1599f62f20b2
|
3 |
+
size 4027
|
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Dark",
|
13 |
+
"1": "Light",
|
14 |
+
"2": "Green",
|
15 |
+
"3": "Medium"
|
16 |
+
},
|
17 |
+
"image_size": 224,
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"Dark": 0,
|
22 |
+
"Green": 2,
|
23 |
+
"Light": 1,
|
24 |
+
"Medium": 3
|
25 |
+
},
|
26 |
+
"layer_norm_eps": 1e-12,
|
27 |
+
"model_type": "vit",
|
28 |
+
"num_attention_heads": 12,
|
29 |
+
"num_channels": 3,
|
30 |
+
"num_hidden_layers": 12,
|
31 |
+
"patch_size": 16,
|
32 |
+
"problem_type": "single_label_classification",
|
33 |
+
"qkv_bias": true,
|
34 |
+
"torch_dtype": "float32",
|
35 |
+
"transformers_version": "4.33.2"
|
36 |
+
}
|
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:fbecd0b9bec68e83769deed754a6b4a25bd341e10b3d50329e7844900866092e
|
3 |
+
size 343274861
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9798b7866221dcf28a7b13f2e79961d20c78496b489a1cc4ba1f1599f62f20b2
|
3 |
+
size 4027
|