BilalMuftuoglu
commited on
Commit
•
7c9d2d3
1
Parent(s):
1057fde
Model save
Browse files
README.md
ADDED
@@ -0,0 +1,177 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: microsoft/beit-base-patch16-224
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: beit-base-patch16-224-hasta-85-fold1
|
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.7272727272727273
|
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 |
+
# beit-base-patch16-224-hasta-85-fold1
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [microsoft/beit-base-patch16-224](https://huggingface.co/microsoft/beit-base-patch16-224) on the imagefolder dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 1.5806
|
36 |
+
- Accuracy: 0.7273
|
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 | 1.0 | 1 | 1.4041 | 0.2727 |
|
71 |
+
| No log | 2.0 | 2 | 1.1167 | 0.5455 |
|
72 |
+
| No log | 3.0 | 3 | 0.7944 | 0.6364 |
|
73 |
+
| No log | 4.0 | 4 | 0.9074 | 0.7273 |
|
74 |
+
| No log | 5.0 | 5 | 1.3600 | 0.7273 |
|
75 |
+
| No log | 6.0 | 6 | 1.6643 | 0.7273 |
|
76 |
+
| No log | 7.0 | 7 | 1.6410 | 0.7273 |
|
77 |
+
| No log | 8.0 | 8 | 1.4549 | 0.7273 |
|
78 |
+
| No log | 9.0 | 9 | 1.4814 | 0.3636 |
|
79 |
+
| 0.4133 | 10.0 | 10 | 1.2719 | 0.6364 |
|
80 |
+
| 0.4133 | 11.0 | 11 | 1.0360 | 0.7273 |
|
81 |
+
| 0.4133 | 12.0 | 12 | 1.0691 | 0.7273 |
|
82 |
+
| 0.4133 | 13.0 | 13 | 0.9528 | 0.7273 |
|
83 |
+
| 0.4133 | 14.0 | 14 | 1.0430 | 0.7273 |
|
84 |
+
| 0.4133 | 15.0 | 15 | 1.3221 | 0.7273 |
|
85 |
+
| 0.4133 | 16.0 | 16 | 1.5236 | 0.7273 |
|
86 |
+
| 0.4133 | 17.0 | 17 | 1.5914 | 0.7273 |
|
87 |
+
| 0.4133 | 18.0 | 18 | 1.5015 | 0.7273 |
|
88 |
+
| 0.4133 | 19.0 | 19 | 1.3859 | 0.7273 |
|
89 |
+
| 0.1601 | 20.0 | 20 | 1.4514 | 0.7273 |
|
90 |
+
| 0.1601 | 21.0 | 21 | 1.6169 | 0.7273 |
|
91 |
+
| 0.1601 | 22.0 | 22 | 1.5223 | 0.7273 |
|
92 |
+
| 0.1601 | 23.0 | 23 | 1.4172 | 0.7273 |
|
93 |
+
| 0.1601 | 24.0 | 24 | 1.4753 | 0.6364 |
|
94 |
+
| 0.1601 | 25.0 | 25 | 1.5207 | 0.7273 |
|
95 |
+
| 0.1601 | 26.0 | 26 | 1.7055 | 0.7273 |
|
96 |
+
| 0.1601 | 27.0 | 27 | 1.7901 | 0.7273 |
|
97 |
+
| 0.1601 | 28.0 | 28 | 1.9109 | 0.7273 |
|
98 |
+
| 0.1601 | 29.0 | 29 | 1.8261 | 0.7273 |
|
99 |
+
| 0.1015 | 30.0 | 30 | 1.5657 | 0.7273 |
|
100 |
+
| 0.1015 | 31.0 | 31 | 1.3513 | 0.7273 |
|
101 |
+
| 0.1015 | 32.0 | 32 | 1.3374 | 0.7273 |
|
102 |
+
| 0.1015 | 33.0 | 33 | 1.4942 | 0.7273 |
|
103 |
+
| 0.1015 | 34.0 | 34 | 1.7731 | 0.7273 |
|
104 |
+
| 0.1015 | 35.0 | 35 | 1.8369 | 0.7273 |
|
105 |
+
| 0.1015 | 36.0 | 36 | 1.7328 | 0.7273 |
|
106 |
+
| 0.1015 | 37.0 | 37 | 1.5451 | 0.7273 |
|
107 |
+
| 0.1015 | 38.0 | 38 | 1.4483 | 0.7273 |
|
108 |
+
| 0.1015 | 39.0 | 39 | 1.4289 | 0.7273 |
|
109 |
+
| 0.0819 | 40.0 | 40 | 1.3922 | 0.7273 |
|
110 |
+
| 0.0819 | 41.0 | 41 | 1.4002 | 0.7273 |
|
111 |
+
| 0.0819 | 42.0 | 42 | 1.3673 | 0.7273 |
|
112 |
+
| 0.0819 | 43.0 | 43 | 1.2194 | 0.7273 |
|
113 |
+
| 0.0819 | 44.0 | 44 | 1.2879 | 0.7273 |
|
114 |
+
| 0.0819 | 45.0 | 45 | 1.4545 | 0.7273 |
|
115 |
+
| 0.0819 | 46.0 | 46 | 1.6902 | 0.7273 |
|
116 |
+
| 0.0819 | 47.0 | 47 | 1.8415 | 0.7273 |
|
117 |
+
| 0.0819 | 48.0 | 48 | 1.8891 | 0.7273 |
|
118 |
+
| 0.0819 | 49.0 | 49 | 1.8339 | 0.7273 |
|
119 |
+
| 0.0551 | 50.0 | 50 | 1.8433 | 0.7273 |
|
120 |
+
| 0.0551 | 51.0 | 51 | 1.8432 | 0.7273 |
|
121 |
+
| 0.0551 | 52.0 | 52 | 1.8002 | 0.7273 |
|
122 |
+
| 0.0551 | 53.0 | 53 | 1.7276 | 0.7273 |
|
123 |
+
| 0.0551 | 54.0 | 54 | 1.5764 | 0.7273 |
|
124 |
+
| 0.0551 | 55.0 | 55 | 1.3951 | 0.7273 |
|
125 |
+
| 0.0551 | 56.0 | 56 | 1.4243 | 0.7273 |
|
126 |
+
| 0.0551 | 57.0 | 57 | 1.5620 | 0.7273 |
|
127 |
+
| 0.0551 | 58.0 | 58 | 1.6897 | 0.7273 |
|
128 |
+
| 0.0551 | 59.0 | 59 | 1.7995 | 0.7273 |
|
129 |
+
| 0.0413 | 60.0 | 60 | 1.8739 | 0.7273 |
|
130 |
+
| 0.0413 | 61.0 | 61 | 1.8486 | 0.7273 |
|
131 |
+
| 0.0413 | 62.0 | 62 | 1.8073 | 0.7273 |
|
132 |
+
| 0.0413 | 63.0 | 63 | 1.8193 | 0.7273 |
|
133 |
+
| 0.0413 | 64.0 | 64 | 1.7604 | 0.7273 |
|
134 |
+
| 0.0413 | 65.0 | 65 | 1.6327 | 0.7273 |
|
135 |
+
| 0.0413 | 66.0 | 66 | 1.5447 | 0.7273 |
|
136 |
+
| 0.0413 | 67.0 | 67 | 1.4243 | 0.7273 |
|
137 |
+
| 0.0413 | 68.0 | 68 | 1.3810 | 0.7273 |
|
138 |
+
| 0.0413 | 69.0 | 69 | 1.3641 | 0.7273 |
|
139 |
+
| 0.038 | 70.0 | 70 | 1.4688 | 0.7273 |
|
140 |
+
| 0.038 | 71.0 | 71 | 1.5677 | 0.7273 |
|
141 |
+
| 0.038 | 72.0 | 72 | 1.7174 | 0.7273 |
|
142 |
+
| 0.038 | 73.0 | 73 | 1.7920 | 0.7273 |
|
143 |
+
| 0.038 | 74.0 | 74 | 1.9000 | 0.7273 |
|
144 |
+
| 0.038 | 75.0 | 75 | 1.9468 | 0.7273 |
|
145 |
+
| 0.038 | 76.0 | 76 | 1.9872 | 0.7273 |
|
146 |
+
| 0.038 | 77.0 | 77 | 2.0208 | 0.7273 |
|
147 |
+
| 0.038 | 78.0 | 78 | 2.0135 | 0.7273 |
|
148 |
+
| 0.038 | 79.0 | 79 | 1.9762 | 0.7273 |
|
149 |
+
| 0.0365 | 80.0 | 80 | 1.9576 | 0.7273 |
|
150 |
+
| 0.0365 | 81.0 | 81 | 1.9310 | 0.7273 |
|
151 |
+
| 0.0365 | 82.0 | 82 | 1.8495 | 0.7273 |
|
152 |
+
| 0.0365 | 83.0 | 83 | 1.7683 | 0.7273 |
|
153 |
+
| 0.0365 | 84.0 | 84 | 1.7109 | 0.7273 |
|
154 |
+
| 0.0365 | 85.0 | 85 | 1.6438 | 0.7273 |
|
155 |
+
| 0.0365 | 86.0 | 86 | 1.6154 | 0.7273 |
|
156 |
+
| 0.0365 | 87.0 | 87 | 1.5715 | 0.7273 |
|
157 |
+
| 0.0365 | 88.0 | 88 | 1.5428 | 0.7273 |
|
158 |
+
| 0.0365 | 89.0 | 89 | 1.5164 | 0.7273 |
|
159 |
+
| 0.038 | 90.0 | 90 | 1.5008 | 0.7273 |
|
160 |
+
| 0.038 | 91.0 | 91 | 1.4730 | 0.7273 |
|
161 |
+
| 0.038 | 92.0 | 92 | 1.4493 | 0.7273 |
|
162 |
+
| 0.038 | 93.0 | 93 | 1.4728 | 0.7273 |
|
163 |
+
| 0.038 | 94.0 | 94 | 1.5033 | 0.7273 |
|
164 |
+
| 0.038 | 95.0 | 95 | 1.5346 | 0.7273 |
|
165 |
+
| 0.038 | 96.0 | 96 | 1.5556 | 0.7273 |
|
166 |
+
| 0.038 | 97.0 | 97 | 1.5643 | 0.7273 |
|
167 |
+
| 0.038 | 98.0 | 98 | 1.5759 | 0.7273 |
|
168 |
+
| 0.038 | 99.0 | 99 | 1.5807 | 0.7273 |
|
169 |
+
| 0.0191 | 100.0 | 100 | 1.5806 | 0.7273 |
|
170 |
+
|
171 |
+
|
172 |
+
### Framework versions
|
173 |
+
|
174 |
+
- Transformers 4.41.0
|
175 |
+
- Pytorch 2.3.0+cu121
|
176 |
+
- Datasets 2.19.1
|
177 |
+
- 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 343083404
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d04de4ee8c80df52c33ca93519cf8ecf5463d7025c2aa63d7e7433110405c163
|
3 |
size 343083404
|
runs/May23_15-11-04_2bc4f829fe52/events.out.tfevents.1716477065.2bc4f829fe52.989.30
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:42d81a5b94c7a3f11b1a28d7a2e99a6064ae25e012da7285423323eeaa5c4a8c
|
3 |
+
size 39900
|