BilalMuftuoglu
commited on
Model save
Browse files
README.md
ADDED
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: facebook/deit-base-distilled-patch16-224
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: deit-base-distilled-patch16-224-65-fold3
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Image Classification
|
15 |
+
type: image-classification
|
16 |
+
dataset:
|
17 |
+
name: imagefolder
|
18 |
+
type: imagefolder
|
19 |
+
config: default
|
20 |
+
split: train
|
21 |
+
args: default
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.8732394366197183
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# deit-base-distilled-patch16-224-65-fold3
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [facebook/deit-base-distilled-patch16-224](https://huggingface.co/facebook/deit-base-distilled-patch16-224) on the imagefolder dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.5514
|
36 |
+
- Accuracy: 0.8732
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 5e-05
|
56 |
+
- train_batch_size: 32
|
57 |
+
- eval_batch_size: 32
|
58 |
+
- seed: 42
|
59 |
+
- gradient_accumulation_steps: 4
|
60 |
+
- total_train_batch_size: 128
|
61 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
62 |
+
- lr_scheduler_type: linear
|
63 |
+
- lr_scheduler_warmup_ratio: 0.1
|
64 |
+
- num_epochs: 100
|
65 |
+
|
66 |
+
### Training results
|
67 |
+
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
+
|:-------------:|:-------:|:----:|:---------------:|:--------:|
|
70 |
+
| No log | 0.9231 | 3 | 0.7403 | 0.5493 |
|
71 |
+
| No log | 1.8462 | 6 | 0.7199 | 0.5211 |
|
72 |
+
| No log | 2.7692 | 9 | 0.7111 | 0.5634 |
|
73 |
+
| 0.7693 | 4.0 | 13 | 0.7015 | 0.5352 |
|
74 |
+
| 0.7693 | 4.9231 | 16 | 0.6471 | 0.6197 |
|
75 |
+
| 0.7693 | 5.8462 | 19 | 0.6691 | 0.6056 |
|
76 |
+
| 0.6542 | 6.7692 | 22 | 0.6188 | 0.6197 |
|
77 |
+
| 0.6542 | 8.0 | 26 | 0.6967 | 0.5775 |
|
78 |
+
| 0.6542 | 8.9231 | 29 | 0.5732 | 0.7324 |
|
79 |
+
| 0.5935 | 9.8462 | 32 | 0.5184 | 0.7042 |
|
80 |
+
| 0.5935 | 10.7692 | 35 | 0.6031 | 0.7183 |
|
81 |
+
| 0.5935 | 12.0 | 39 | 0.6671 | 0.6479 |
|
82 |
+
| 0.549 | 12.9231 | 42 | 0.5281 | 0.7183 |
|
83 |
+
| 0.549 | 13.8462 | 45 | 0.5792 | 0.7183 |
|
84 |
+
| 0.549 | 14.7692 | 48 | 0.5389 | 0.7465 |
|
85 |
+
| 0.4778 | 16.0 | 52 | 0.6010 | 0.7042 |
|
86 |
+
| 0.4778 | 16.9231 | 55 | 0.5245 | 0.7606 |
|
87 |
+
| 0.4778 | 17.8462 | 58 | 0.5491 | 0.7183 |
|
88 |
+
| 0.4039 | 18.7692 | 61 | 0.5590 | 0.7465 |
|
89 |
+
| 0.4039 | 20.0 | 65 | 0.4886 | 0.7324 |
|
90 |
+
| 0.4039 | 20.9231 | 68 | 0.5050 | 0.7324 |
|
91 |
+
| 0.3409 | 21.8462 | 71 | 0.4912 | 0.7465 |
|
92 |
+
| 0.3409 | 22.7692 | 74 | 0.4929 | 0.7746 |
|
93 |
+
| 0.3409 | 24.0 | 78 | 0.5365 | 0.7746 |
|
94 |
+
| 0.3202 | 24.9231 | 81 | 0.4685 | 0.8028 |
|
95 |
+
| 0.3202 | 25.8462 | 84 | 0.4404 | 0.8169 |
|
96 |
+
| 0.3202 | 26.7692 | 87 | 0.4639 | 0.8028 |
|
97 |
+
| 0.2466 | 28.0 | 91 | 0.5491 | 0.7606 |
|
98 |
+
| 0.2466 | 28.9231 | 94 | 0.5170 | 0.7606 |
|
99 |
+
| 0.2466 | 29.8462 | 97 | 0.4444 | 0.8028 |
|
100 |
+
| 0.2433 | 30.7692 | 100 | 0.4517 | 0.8310 |
|
101 |
+
| 0.2433 | 32.0 | 104 | 0.7797 | 0.7606 |
|
102 |
+
| 0.2433 | 32.9231 | 107 | 0.4321 | 0.8169 |
|
103 |
+
| 0.2535 | 33.8462 | 110 | 0.5956 | 0.7746 |
|
104 |
+
| 0.2535 | 34.7692 | 113 | 0.4695 | 0.7887 |
|
105 |
+
| 0.2535 | 36.0 | 117 | 0.8106 | 0.6901 |
|
106 |
+
| 0.2215 | 36.9231 | 120 | 0.7119 | 0.7465 |
|
107 |
+
| 0.2215 | 37.8462 | 123 | 0.4752 | 0.8028 |
|
108 |
+
| 0.2215 | 38.7692 | 126 | 0.4784 | 0.8169 |
|
109 |
+
| 0.2143 | 40.0 | 130 | 0.4773 | 0.8028 |
|
110 |
+
| 0.2143 | 40.9231 | 133 | 0.5581 | 0.8169 |
|
111 |
+
| 0.2143 | 41.8462 | 136 | 0.6098 | 0.8028 |
|
112 |
+
| 0.2143 | 42.7692 | 139 | 0.5193 | 0.8169 |
|
113 |
+
| 0.1726 | 44.0 | 143 | 0.4306 | 0.8451 |
|
114 |
+
| 0.1726 | 44.9231 | 146 | 0.4234 | 0.8592 |
|
115 |
+
| 0.1726 | 45.8462 | 149 | 0.5264 | 0.8169 |
|
116 |
+
| 0.1684 | 46.7692 | 152 | 0.7303 | 0.8028 |
|
117 |
+
| 0.1684 | 48.0 | 156 | 0.5079 | 0.8169 |
|
118 |
+
| 0.1684 | 48.9231 | 159 | 0.5392 | 0.8169 |
|
119 |
+
| 0.1604 | 49.8462 | 162 | 0.3951 | 0.8169 |
|
120 |
+
| 0.1604 | 50.7692 | 165 | 0.4311 | 0.8028 |
|
121 |
+
| 0.1604 | 52.0 | 169 | 0.4082 | 0.8028 |
|
122 |
+
| 0.1457 | 52.9231 | 172 | 0.4173 | 0.7887 |
|
123 |
+
| 0.1457 | 53.8462 | 175 | 0.4311 | 0.8310 |
|
124 |
+
| 0.1457 | 54.7692 | 178 | 0.4213 | 0.8028 |
|
125 |
+
| 0.1549 | 56.0 | 182 | 0.4713 | 0.8451 |
|
126 |
+
| 0.1549 | 56.9231 | 185 | 0.7493 | 0.8028 |
|
127 |
+
| 0.1549 | 57.8462 | 188 | 0.5161 | 0.8451 |
|
128 |
+
| 0.1391 | 58.7692 | 191 | 0.4685 | 0.8169 |
|
129 |
+
| 0.1391 | 60.0 | 195 | 0.6968 | 0.8028 |
|
130 |
+
| 0.1391 | 60.9231 | 198 | 0.5837 | 0.8310 |
|
131 |
+
| 0.1272 | 61.8462 | 201 | 0.5863 | 0.8169 |
|
132 |
+
| 0.1272 | 62.7692 | 204 | 0.5460 | 0.8310 |
|
133 |
+
| 0.1272 | 64.0 | 208 | 0.6198 | 0.8310 |
|
134 |
+
| 0.1341 | 64.9231 | 211 | 0.5584 | 0.8592 |
|
135 |
+
| 0.1341 | 65.8462 | 214 | 0.6429 | 0.8451 |
|
136 |
+
| 0.1341 | 66.7692 | 217 | 0.8592 | 0.8028 |
|
137 |
+
| 0.1144 | 68.0 | 221 | 0.8472 | 0.8028 |
|
138 |
+
| 0.1144 | 68.9231 | 224 | 0.8360 | 0.8169 |
|
139 |
+
| 0.1144 | 69.8462 | 227 | 0.6697 | 0.8169 |
|
140 |
+
| 0.1321 | 70.7692 | 230 | 0.6625 | 0.8028 |
|
141 |
+
| 0.1321 | 72.0 | 234 | 0.7228 | 0.8310 |
|
142 |
+
| 0.1321 | 72.9231 | 237 | 0.6793 | 0.8310 |
|
143 |
+
| 0.1206 | 73.8462 | 240 | 0.5571 | 0.8592 |
|
144 |
+
| 0.1206 | 74.7692 | 243 | 0.5106 | 0.8451 |
|
145 |
+
| 0.1206 | 76.0 | 247 | 0.6686 | 0.8310 |
|
146 |
+
| 0.131 | 76.9231 | 250 | 0.7132 | 0.8310 |
|
147 |
+
| 0.131 | 77.8462 | 253 | 0.5945 | 0.8451 |
|
148 |
+
| 0.131 | 78.7692 | 256 | 0.5516 | 0.7746 |
|
149 |
+
| 0.1009 | 80.0 | 260 | 0.5474 | 0.7606 |
|
150 |
+
| 0.1009 | 80.9231 | 263 | 0.5219 | 0.7887 |
|
151 |
+
| 0.1009 | 81.8462 | 266 | 0.5375 | 0.8451 |
|
152 |
+
| 0.1009 | 82.7692 | 269 | 0.5133 | 0.8451 |
|
153 |
+
| 0.1084 | 84.0 | 273 | 0.4911 | 0.8451 |
|
154 |
+
| 0.1084 | 84.9231 | 276 | 0.4993 | 0.8732 |
|
155 |
+
| 0.1084 | 85.8462 | 279 | 0.5418 | 0.8592 |
|
156 |
+
| 0.0851 | 86.7692 | 282 | 0.6010 | 0.8451 |
|
157 |
+
| 0.0851 | 88.0 | 286 | 0.6305 | 0.8451 |
|
158 |
+
| 0.0851 | 88.9231 | 289 | 0.6016 | 0.8451 |
|
159 |
+
| 0.1071 | 89.8462 | 292 | 0.5773 | 0.8592 |
|
160 |
+
| 0.1071 | 90.7692 | 295 | 0.5610 | 0.8732 |
|
161 |
+
| 0.1071 | 92.0 | 299 | 0.5522 | 0.8732 |
|
162 |
+
| 0.1139 | 92.3077 | 300 | 0.5514 | 0.8732 |
|
163 |
+
|
164 |
+
|
165 |
+
### Framework versions
|
166 |
+
|
167 |
+
- Transformers 4.41.0
|
168 |
+
- Pytorch 2.3.0+cu121
|
169 |
+
- Datasets 2.19.1
|
170 |
+
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343230408
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc32fe0904596cf698950c1e727f5ada01bdc56564d725573d5488e576e7d1c9
|
3 |
size 343230408
|
runs/May21_23-00-36_804716d6a90a/events.out.tfevents.1716332437.804716d6a90a.958.14
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4750c2043059258862ad43b82249d2ef2b501372e7429027aff741b20fc85430
|
3 |
+
size 41352
|