Upload folder using huggingface_hub
Browse files- README.md +32 -0
- checkpoint-45/config.json +33 -0
- checkpoint-45/model.safetensors +3 -0
- checkpoint-45/optimizer.pt +3 -0
- checkpoint-45/rng_state.pth +3 -0
- checkpoint-45/scheduler.pt +3 -0
- checkpoint-45/trainer_state.json +330 -0
- checkpoint-45/training_args.bin +3 -0
- config.json +33 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- training_args.bin +3 -0
- training_params.json +29 -0
README.md
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- autotrain
|
5 |
+
- image-classification
|
6 |
+
widget:
|
7 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
|
8 |
+
example_title: Tiger
|
9 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
|
10 |
+
example_title: Teapot
|
11 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
|
12 |
+
example_title: Palace
|
13 |
+
datasets:
|
14 |
+
- autotrain-image-classification-for-slides-240203/autotrain-data
|
15 |
+
---
|
16 |
+
|
17 |
+
# Model Trained Using AutoTrain
|
18 |
+
|
19 |
+
- Problem type: Image Classification
|
20 |
+
|
21 |
+
## Validation Metricsg
|
22 |
+
loss: 0.31477582454681396
|
23 |
+
|
24 |
+
f1: 0.7499999999999999
|
25 |
+
|
26 |
+
precision: 1.0
|
27 |
+
|
28 |
+
recall: 0.6
|
29 |
+
|
30 |
+
auc: 0.915
|
31 |
+
|
32 |
+
accuracy: 0.8666666666666667
|
checkpoint-45/config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-large-patch32-384",
|
3 |
+
"_num_labels": 2,
|
4 |
+
"architectures": [
|
5 |
+
"ViTForImageClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.0,
|
8 |
+
"encoder_stride": 16,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.0,
|
11 |
+
"hidden_size": 1024,
|
12 |
+
"id2label": {
|
13 |
+
"0": "keep",
|
14 |
+
"1": "remove"
|
15 |
+
},
|
16 |
+
"image_size": 384,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 4096,
|
19 |
+
"label2id": {
|
20 |
+
"keep": 0,
|
21 |
+
"remove": 1
|
22 |
+
},
|
23 |
+
"layer_norm_eps": 1e-12,
|
24 |
+
"model_type": "vit",
|
25 |
+
"num_attention_heads": 16,
|
26 |
+
"num_channels": 3,
|
27 |
+
"num_hidden_layers": 24,
|
28 |
+
"patch_size": 32,
|
29 |
+
"problem_type": "single_label_classification",
|
30 |
+
"qkv_bias": true,
|
31 |
+
"torch_dtype": "float32",
|
32 |
+
"transformers_version": "4.37.0"
|
33 |
+
}
|
checkpoint-45/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:63f905d601321f709e763d250ecbdbe221bd99d1f41d454c44c82f3c1a5ce52e
|
3 |
+
size 1222485480
|
checkpoint-45/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4e5dcf470e9f0a6f83b8c728d839e7e0e3522f02d162dd9979f19f0a995237fc
|
3 |
+
size 2445205930
|
checkpoint-45/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:10ccfd527c3a838875cebdc195786f5e088f46db5baabbc9c635b11f5b6dd082
|
3 |
+
size 14244
|
checkpoint-45/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:623b7794b6c72bf3c434b4a4eaf465ec0ff7c989bcf510fc815d4ba7bd629c2f
|
3 |
+
size 1064
|
checkpoint-45/trainer_state.json
ADDED
@@ -0,0 +1,330 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.31477582454681396,
|
3 |
+
"best_model_checkpoint": "autotrain-image-classification-for-slides-240203/checkpoint-45",
|
4 |
+
"epoch": 3.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 45,
|
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 |
+
"learning_rate": 2.777777777777778e-06,
|
14 |
+
"loss": 1.1254,
|
15 |
+
"step": 1
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.13,
|
19 |
+
"learning_rate": 5.555555555555556e-06,
|
20 |
+
"loss": 0.8406,
|
21 |
+
"step": 2
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.2,
|
25 |
+
"learning_rate": 5.555555555555556e-06,
|
26 |
+
"loss": 0.9119,
|
27 |
+
"step": 3
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.27,
|
31 |
+
"learning_rate": 5.555555555555556e-06,
|
32 |
+
"loss": 1.2751,
|
33 |
+
"step": 4
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.33,
|
37 |
+
"learning_rate": 8.333333333333334e-06,
|
38 |
+
"loss": 1.0426,
|
39 |
+
"step": 5
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.4,
|
43 |
+
"learning_rate": 1.1111111111111112e-05,
|
44 |
+
"loss": 1.008,
|
45 |
+
"step": 6
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 0.47,
|
49 |
+
"learning_rate": 1.388888888888889e-05,
|
50 |
+
"loss": 0.856,
|
51 |
+
"step": 7
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.53,
|
55 |
+
"learning_rate": 1.6666666666666667e-05,
|
56 |
+
"loss": 0.6736,
|
57 |
+
"step": 8
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 0.6,
|
61 |
+
"learning_rate": 1.9444444444444445e-05,
|
62 |
+
"loss": 0.6438,
|
63 |
+
"step": 9
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 0.67,
|
67 |
+
"learning_rate": 2.2222222222222223e-05,
|
68 |
+
"loss": 0.5327,
|
69 |
+
"step": 10
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.73,
|
73 |
+
"learning_rate": 2.5e-05,
|
74 |
+
"loss": 0.7221,
|
75 |
+
"step": 11
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 0.8,
|
79 |
+
"learning_rate": 2.777777777777778e-05,
|
80 |
+
"loss": 0.5358,
|
81 |
+
"step": 12
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 0.87,
|
85 |
+
"learning_rate": 3.055555555555556e-05,
|
86 |
+
"loss": 0.6922,
|
87 |
+
"step": 13
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 0.93,
|
91 |
+
"learning_rate": 3.3333333333333335e-05,
|
92 |
+
"loss": 0.743,
|
93 |
+
"step": 14
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 1.0,
|
97 |
+
"learning_rate": 3.611111111111111e-05,
|
98 |
+
"loss": 0.6769,
|
99 |
+
"step": 15
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 1.0,
|
103 |
+
"eval_accuracy": 0.7333333333333333,
|
104 |
+
"eval_auc": 0.8350000000000001,
|
105 |
+
"eval_f1": 0.33333333333333337,
|
106 |
+
"eval_loss": 0.5031535625457764,
|
107 |
+
"eval_precision": 1.0,
|
108 |
+
"eval_recall": 0.2,
|
109 |
+
"eval_runtime": 1.2172,
|
110 |
+
"eval_samples_per_second": 24.647,
|
111 |
+
"eval_steps_per_second": 1.643,
|
112 |
+
"step": 15
|
113 |
+
},
|
114 |
+
{
|
115 |
+
"epoch": 1.07,
|
116 |
+
"learning_rate": 3.888888888888889e-05,
|
117 |
+
"loss": 0.4863,
|
118 |
+
"step": 16
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"epoch": 1.13,
|
122 |
+
"learning_rate": 4.166666666666667e-05,
|
123 |
+
"loss": 0.1514,
|
124 |
+
"step": 17
|
125 |
+
},
|
126 |
+
{
|
127 |
+
"epoch": 1.2,
|
128 |
+
"learning_rate": 4.4444444444444447e-05,
|
129 |
+
"loss": 0.9752,
|
130 |
+
"step": 18
|
131 |
+
},
|
132 |
+
{
|
133 |
+
"epoch": 1.27,
|
134 |
+
"learning_rate": 4.722222222222222e-05,
|
135 |
+
"loss": 0.2016,
|
136 |
+
"step": 19
|
137 |
+
},
|
138 |
+
{
|
139 |
+
"epoch": 1.33,
|
140 |
+
"learning_rate": 5e-05,
|
141 |
+
"loss": 0.2721,
|
142 |
+
"step": 20
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 1.4,
|
146 |
+
"learning_rate": 4.969135802469136e-05,
|
147 |
+
"loss": 0.5284,
|
148 |
+
"step": 21
|
149 |
+
},
|
150 |
+
{
|
151 |
+
"epoch": 1.47,
|
152 |
+
"learning_rate": 4.938271604938271e-05,
|
153 |
+
"loss": 0.3278,
|
154 |
+
"step": 22
|
155 |
+
},
|
156 |
+
{
|
157 |
+
"epoch": 1.53,
|
158 |
+
"learning_rate": 4.9074074074074075e-05,
|
159 |
+
"loss": 0.4261,
|
160 |
+
"step": 23
|
161 |
+
},
|
162 |
+
{
|
163 |
+
"epoch": 1.6,
|
164 |
+
"learning_rate": 4.876543209876544e-05,
|
165 |
+
"loss": 0.3603,
|
166 |
+
"step": 24
|
167 |
+
},
|
168 |
+
{
|
169 |
+
"epoch": 1.67,
|
170 |
+
"learning_rate": 4.845679012345679e-05,
|
171 |
+
"loss": 0.2572,
|
172 |
+
"step": 25
|
173 |
+
},
|
174 |
+
{
|
175 |
+
"epoch": 1.73,
|
176 |
+
"learning_rate": 4.814814814814815e-05,
|
177 |
+
"loss": 0.3899,
|
178 |
+
"step": 26
|
179 |
+
},
|
180 |
+
{
|
181 |
+
"epoch": 1.8,
|
182 |
+
"learning_rate": 4.783950617283951e-05,
|
183 |
+
"loss": 0.4712,
|
184 |
+
"step": 27
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 1.87,
|
188 |
+
"learning_rate": 4.7530864197530866e-05,
|
189 |
+
"loss": 0.2883,
|
190 |
+
"step": 28
|
191 |
+
},
|
192 |
+
{
|
193 |
+
"epoch": 1.93,
|
194 |
+
"learning_rate": 4.722222222222222e-05,
|
195 |
+
"loss": 0.3057,
|
196 |
+
"step": 29
|
197 |
+
},
|
198 |
+
{
|
199 |
+
"epoch": 2.0,
|
200 |
+
"learning_rate": 4.691358024691358e-05,
|
201 |
+
"loss": 0.5481,
|
202 |
+
"step": 30
|
203 |
+
},
|
204 |
+
{
|
205 |
+
"epoch": 2.0,
|
206 |
+
"eval_accuracy": 0.8333333333333334,
|
207 |
+
"eval_auc": 0.9400000000000001,
|
208 |
+
"eval_f1": 0.6666666666666666,
|
209 |
+
"eval_loss": 0.3352239429950714,
|
210 |
+
"eval_precision": 1.0,
|
211 |
+
"eval_recall": 0.5,
|
212 |
+
"eval_runtime": 1.1837,
|
213 |
+
"eval_samples_per_second": 25.344,
|
214 |
+
"eval_steps_per_second": 1.69,
|
215 |
+
"step": 30
|
216 |
+
},
|
217 |
+
{
|
218 |
+
"epoch": 2.07,
|
219 |
+
"learning_rate": 4.6604938271604945e-05,
|
220 |
+
"loss": 0.103,
|
221 |
+
"step": 31
|
222 |
+
},
|
223 |
+
{
|
224 |
+
"epoch": 2.13,
|
225 |
+
"learning_rate": 4.62962962962963e-05,
|
226 |
+
"loss": 0.3457,
|
227 |
+
"step": 32
|
228 |
+
},
|
229 |
+
{
|
230 |
+
"epoch": 2.2,
|
231 |
+
"learning_rate": 4.5987654320987656e-05,
|
232 |
+
"loss": 0.5848,
|
233 |
+
"step": 33
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 2.27,
|
237 |
+
"learning_rate": 4.567901234567901e-05,
|
238 |
+
"loss": 0.0825,
|
239 |
+
"step": 34
|
240 |
+
},
|
241 |
+
{
|
242 |
+
"epoch": 2.33,
|
243 |
+
"learning_rate": 4.5370370370370374e-05,
|
244 |
+
"loss": 0.1238,
|
245 |
+
"step": 35
|
246 |
+
},
|
247 |
+
{
|
248 |
+
"epoch": 2.4,
|
249 |
+
"learning_rate": 4.506172839506173e-05,
|
250 |
+
"loss": 0.128,
|
251 |
+
"step": 36
|
252 |
+
},
|
253 |
+
{
|
254 |
+
"epoch": 2.47,
|
255 |
+
"learning_rate": 4.4753086419753084e-05,
|
256 |
+
"loss": 0.2651,
|
257 |
+
"step": 37
|
258 |
+
},
|
259 |
+
{
|
260 |
+
"epoch": 2.53,
|
261 |
+
"learning_rate": 4.4444444444444447e-05,
|
262 |
+
"loss": 0.0657,
|
263 |
+
"step": 38
|
264 |
+
},
|
265 |
+
{
|
266 |
+
"epoch": 2.6,
|
267 |
+
"learning_rate": 4.413580246913581e-05,
|
268 |
+
"loss": 0.0814,
|
269 |
+
"step": 39
|
270 |
+
},
|
271 |
+
{
|
272 |
+
"epoch": 2.67,
|
273 |
+
"learning_rate": 4.3827160493827164e-05,
|
274 |
+
"loss": 0.1394,
|
275 |
+
"step": 40
|
276 |
+
},
|
277 |
+
{
|
278 |
+
"epoch": 2.73,
|
279 |
+
"learning_rate": 4.351851851851852e-05,
|
280 |
+
"loss": 0.3941,
|
281 |
+
"step": 41
|
282 |
+
},
|
283 |
+
{
|
284 |
+
"epoch": 2.8,
|
285 |
+
"learning_rate": 4.3209876543209875e-05,
|
286 |
+
"loss": 0.052,
|
287 |
+
"step": 42
|
288 |
+
},
|
289 |
+
{
|
290 |
+
"epoch": 2.87,
|
291 |
+
"learning_rate": 4.290123456790124e-05,
|
292 |
+
"loss": 0.1721,
|
293 |
+
"step": 43
|
294 |
+
},
|
295 |
+
{
|
296 |
+
"epoch": 2.93,
|
297 |
+
"learning_rate": 4.259259259259259e-05,
|
298 |
+
"loss": 0.1501,
|
299 |
+
"step": 44
|
300 |
+
},
|
301 |
+
{
|
302 |
+
"epoch": 3.0,
|
303 |
+
"learning_rate": 4.2283950617283955e-05,
|
304 |
+
"loss": 0.454,
|
305 |
+
"step": 45
|
306 |
+
},
|
307 |
+
{
|
308 |
+
"epoch": 3.0,
|
309 |
+
"eval_accuracy": 0.8666666666666667,
|
310 |
+
"eval_auc": 0.915,
|
311 |
+
"eval_f1": 0.7499999999999999,
|
312 |
+
"eval_loss": 0.31477582454681396,
|
313 |
+
"eval_precision": 1.0,
|
314 |
+
"eval_recall": 0.6,
|
315 |
+
"eval_runtime": 1.1495,
|
316 |
+
"eval_samples_per_second": 26.098,
|
317 |
+
"eval_steps_per_second": 1.74,
|
318 |
+
"step": 45
|
319 |
+
}
|
320 |
+
],
|
321 |
+
"logging_steps": 1,
|
322 |
+
"max_steps": 180,
|
323 |
+
"num_input_tokens_seen": 0,
|
324 |
+
"num_train_epochs": 12,
|
325 |
+
"save_steps": 500,
|
326 |
+
"total_flos": 2.8228082300485632e+17,
|
327 |
+
"train_batch_size": 8,
|
328 |
+
"trial_name": null,
|
329 |
+
"trial_params": null
|
330 |
+
}
|
checkpoint-45/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ca6fe32121a1eefe7574182a79e6431a47d2a3a0abe765f95c14c842aafe35d
|
3 |
+
size 4728
|
config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-large-patch32-384",
|
3 |
+
"_num_labels": 2,
|
4 |
+
"architectures": [
|
5 |
+
"ViTForImageClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.0,
|
8 |
+
"encoder_stride": 16,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.0,
|
11 |
+
"hidden_size": 1024,
|
12 |
+
"id2label": {
|
13 |
+
"0": "keep",
|
14 |
+
"1": "remove"
|
15 |
+
},
|
16 |
+
"image_size": 384,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 4096,
|
19 |
+
"label2id": {
|
20 |
+
"keep": 0,
|
21 |
+
"remove": 1
|
22 |
+
},
|
23 |
+
"layer_norm_eps": 1e-12,
|
24 |
+
"model_type": "vit",
|
25 |
+
"num_attention_heads": 16,
|
26 |
+
"num_channels": 3,
|
27 |
+
"num_hidden_layers": 24,
|
28 |
+
"patch_size": 32,
|
29 |
+
"problem_type": "single_label_classification",
|
30 |
+
"qkv_bias": true,
|
31 |
+
"torch_dtype": "float32",
|
32 |
+
"transformers_version": "4.37.0"
|
33 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:63f905d601321f709e763d250ecbdbe221bd99d1f41d454c44c82f3c1a5ce52e
|
3 |
+
size 1222485480
|
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": 384,
|
20 |
+
"width": 384
|
21 |
+
}
|
22 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ca6fe32121a1eefe7574182a79e6431a47d2a3a0abe765f95c14c842aafe35d
|
3 |
+
size 4728
|
training_params.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "autotrain-image-classification-for-slides-240203/autotrain-data",
|
3 |
+
"model": "google/vit-large-patch32-384",
|
4 |
+
"username": "ruanwz",
|
5 |
+
"lr": 5e-05,
|
6 |
+
"epochs": 12,
|
7 |
+
"batch_size": 8,
|
8 |
+
"warmup_ratio": 0.1,
|
9 |
+
"gradient_accumulation": 1,
|
10 |
+
"optimizer": "adamw_torch",
|
11 |
+
"scheduler": "linear",
|
12 |
+
"weight_decay": 0.0,
|
13 |
+
"max_grad_norm": 1.0,
|
14 |
+
"seed": 42,
|
15 |
+
"train_split": "train",
|
16 |
+
"valid_split": "validation",
|
17 |
+
"logging_steps": -1,
|
18 |
+
"project_name": "autotrain-image-classification-for-slides-240203",
|
19 |
+
"auto_find_batch_size": false,
|
20 |
+
"mixed_precision": "fp16",
|
21 |
+
"save_total_limit": 1,
|
22 |
+
"save_strategy": "epoch",
|
23 |
+
"push_to_hub": true,
|
24 |
+
"repo_id": "ruanwz/autotrain-image-classification-for-slides-240203",
|
25 |
+
"evaluation_strategy": "epoch",
|
26 |
+
"image_column": "autotrain_image",
|
27 |
+
"target_column": "autotrain_label",
|
28 |
+
"log": "none"
|
29 |
+
}
|