Commit
•
67feb17
1
Parent(s):
e3dff74
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-75-fold4
|
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: 1.0
|
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-75-fold4
|
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: 0.0109
|
36 |
+
- Accuracy: 1.0
|
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 | 2.3241 | 0.0833 |
|
71 |
+
| No log | 2.0 | 2 | 1.8900 | 0.0833 |
|
72 |
+
| No log | 3.0 | 3 | 1.1748 | 0.3333 |
|
73 |
+
| No log | 4.0 | 4 | 0.5751 | 0.9167 |
|
74 |
+
| No log | 5.0 | 5 | 0.4224 | 0.9167 |
|
75 |
+
| No log | 6.0 | 6 | 0.3931 | 0.9167 |
|
76 |
+
| No log | 7.0 | 7 | 0.3635 | 0.9167 |
|
77 |
+
| No log | 8.0 | 8 | 0.5637 | 0.8333 |
|
78 |
+
| No log | 9.0 | 9 | 0.4256 | 0.9167 |
|
79 |
+
| 0.4996 | 10.0 | 10 | 0.2830 | 0.9167 |
|
80 |
+
| 0.4996 | 11.0 | 11 | 0.2743 | 0.9167 |
|
81 |
+
| 0.4996 | 12.0 | 12 | 0.4505 | 0.9167 |
|
82 |
+
| 0.4996 | 13.0 | 13 | 0.3552 | 0.9167 |
|
83 |
+
| 0.4996 | 14.0 | 14 | 0.2453 | 0.9167 |
|
84 |
+
| 0.4996 | 15.0 | 15 | 0.2528 | 0.9167 |
|
85 |
+
| 0.4996 | 16.0 | 16 | 0.2926 | 0.9167 |
|
86 |
+
| 0.4996 | 17.0 | 17 | 0.3253 | 0.8333 |
|
87 |
+
| 0.4996 | 18.0 | 18 | 0.3367 | 0.8333 |
|
88 |
+
| 0.4996 | 19.0 | 19 | 0.3681 | 0.8333 |
|
89 |
+
| 0.1796 | 20.0 | 20 | 0.2677 | 0.9167 |
|
90 |
+
| 0.1796 | 21.0 | 21 | 0.2704 | 0.9167 |
|
91 |
+
| 0.1796 | 22.0 | 22 | 0.3116 | 0.9167 |
|
92 |
+
| 0.1796 | 23.0 | 23 | 0.3650 | 0.9167 |
|
93 |
+
| 0.1796 | 24.0 | 24 | 0.2170 | 0.9167 |
|
94 |
+
| 0.1796 | 25.0 | 25 | 0.2114 | 0.9167 |
|
95 |
+
| 0.1796 | 26.0 | 26 | 0.1976 | 0.9167 |
|
96 |
+
| 0.1796 | 27.0 | 27 | 0.1619 | 0.9167 |
|
97 |
+
| 0.1796 | 28.0 | 28 | 0.1646 | 0.9167 |
|
98 |
+
| 0.1796 | 29.0 | 29 | 0.1432 | 0.9167 |
|
99 |
+
| 0.1179 | 30.0 | 30 | 0.0812 | 1.0 |
|
100 |
+
| 0.1179 | 31.0 | 31 | 0.1163 | 1.0 |
|
101 |
+
| 0.1179 | 32.0 | 32 | 0.0898 | 1.0 |
|
102 |
+
| 0.1179 | 33.0 | 33 | 0.1190 | 0.9167 |
|
103 |
+
| 0.1179 | 34.0 | 34 | 0.1464 | 0.9167 |
|
104 |
+
| 0.1179 | 35.0 | 35 | 0.1136 | 1.0 |
|
105 |
+
| 0.1179 | 36.0 | 36 | 0.2270 | 0.9167 |
|
106 |
+
| 0.1179 | 37.0 | 37 | 0.2265 | 0.9167 |
|
107 |
+
| 0.1179 | 38.0 | 38 | 0.0995 | 1.0 |
|
108 |
+
| 0.1179 | 39.0 | 39 | 0.0853 | 1.0 |
|
109 |
+
| 0.1084 | 40.0 | 40 | 0.0858 | 1.0 |
|
110 |
+
| 0.1084 | 41.0 | 41 | 0.0970 | 1.0 |
|
111 |
+
| 0.1084 | 42.0 | 42 | 0.0949 | 1.0 |
|
112 |
+
| 0.1084 | 43.0 | 43 | 0.0709 | 1.0 |
|
113 |
+
| 0.1084 | 44.0 | 44 | 0.0807 | 0.9167 |
|
114 |
+
| 0.1084 | 45.0 | 45 | 0.1052 | 0.9167 |
|
115 |
+
| 0.1084 | 46.0 | 46 | 0.0629 | 1.0 |
|
116 |
+
| 0.1084 | 47.0 | 47 | 0.0272 | 1.0 |
|
117 |
+
| 0.1084 | 48.0 | 48 | 0.0775 | 1.0 |
|
118 |
+
| 0.1084 | 49.0 | 49 | 0.1113 | 1.0 |
|
119 |
+
| 0.0591 | 50.0 | 50 | 0.1189 | 1.0 |
|
120 |
+
| 0.0591 | 51.0 | 51 | 0.0526 | 1.0 |
|
121 |
+
| 0.0591 | 52.0 | 52 | 0.0262 | 1.0 |
|
122 |
+
| 0.0591 | 53.0 | 53 | 0.1035 | 0.9167 |
|
123 |
+
| 0.0591 | 54.0 | 54 | 0.1508 | 0.9167 |
|
124 |
+
| 0.0591 | 55.0 | 55 | 0.1280 | 0.9167 |
|
125 |
+
| 0.0591 | 56.0 | 56 | 0.0652 | 0.9167 |
|
126 |
+
| 0.0591 | 57.0 | 57 | 0.0357 | 1.0 |
|
127 |
+
| 0.0591 | 58.0 | 58 | 0.0407 | 1.0 |
|
128 |
+
| 0.0591 | 59.0 | 59 | 0.0430 | 1.0 |
|
129 |
+
| 0.0637 | 60.0 | 60 | 0.0468 | 1.0 |
|
130 |
+
| 0.0637 | 61.0 | 61 | 0.0997 | 0.9167 |
|
131 |
+
| 0.0637 | 62.0 | 62 | 0.2200 | 0.9167 |
|
132 |
+
| 0.0637 | 63.0 | 63 | 0.2979 | 0.9167 |
|
133 |
+
| 0.0637 | 64.0 | 64 | 0.3167 | 0.9167 |
|
134 |
+
| 0.0637 | 65.0 | 65 | 0.2611 | 0.9167 |
|
135 |
+
| 0.0637 | 66.0 | 66 | 0.1697 | 0.9167 |
|
136 |
+
| 0.0637 | 67.0 | 67 | 0.0669 | 0.9167 |
|
137 |
+
| 0.0637 | 68.0 | 68 | 0.0313 | 1.0 |
|
138 |
+
| 0.0637 | 69.0 | 69 | 0.0255 | 1.0 |
|
139 |
+
| 0.0446 | 70.0 | 70 | 0.0243 | 1.0 |
|
140 |
+
| 0.0446 | 71.0 | 71 | 0.0188 | 1.0 |
|
141 |
+
| 0.0446 | 72.0 | 72 | 0.0210 | 1.0 |
|
142 |
+
| 0.0446 | 73.0 | 73 | 0.0261 | 1.0 |
|
143 |
+
| 0.0446 | 74.0 | 74 | 0.0378 | 1.0 |
|
144 |
+
| 0.0446 | 75.0 | 75 | 0.0492 | 1.0 |
|
145 |
+
| 0.0446 | 76.0 | 76 | 0.0679 | 0.9167 |
|
146 |
+
| 0.0446 | 77.0 | 77 | 0.0958 | 0.9167 |
|
147 |
+
| 0.0446 | 78.0 | 78 | 0.0803 | 0.9167 |
|
148 |
+
| 0.0446 | 79.0 | 79 | 0.0455 | 1.0 |
|
149 |
+
| 0.0489 | 80.0 | 80 | 0.0194 | 1.0 |
|
150 |
+
| 0.0489 | 81.0 | 81 | 0.0141 | 1.0 |
|
151 |
+
| 0.0489 | 82.0 | 82 | 0.0109 | 1.0 |
|
152 |
+
| 0.0489 | 83.0 | 83 | 0.0104 | 1.0 |
|
153 |
+
| 0.0489 | 84.0 | 84 | 0.0108 | 1.0 |
|
154 |
+
| 0.0489 | 85.0 | 85 | 0.0121 | 1.0 |
|
155 |
+
| 0.0489 | 86.0 | 86 | 0.0118 | 1.0 |
|
156 |
+
| 0.0489 | 87.0 | 87 | 0.0109 | 1.0 |
|
157 |
+
| 0.0489 | 88.0 | 88 | 0.0107 | 1.0 |
|
158 |
+
| 0.0489 | 89.0 | 89 | 0.0107 | 1.0 |
|
159 |
+
| 0.0322 | 90.0 | 90 | 0.0107 | 1.0 |
|
160 |
+
| 0.0322 | 91.0 | 91 | 0.0107 | 1.0 |
|
161 |
+
| 0.0322 | 92.0 | 92 | 0.0106 | 1.0 |
|
162 |
+
| 0.0322 | 93.0 | 93 | 0.0105 | 1.0 |
|
163 |
+
| 0.0322 | 94.0 | 94 | 0.0105 | 1.0 |
|
164 |
+
| 0.0322 | 95.0 | 95 | 0.0105 | 1.0 |
|
165 |
+
| 0.0322 | 96.0 | 96 | 0.0106 | 1.0 |
|
166 |
+
| 0.0322 | 97.0 | 97 | 0.0106 | 1.0 |
|
167 |
+
| 0.0322 | 98.0 | 98 | 0.0106 | 1.0 |
|
168 |
+
| 0.0322 | 99.0 | 99 | 0.0108 | 1.0 |
|
169 |
+
| 0.0405 | 100.0 | 100 | 0.0109 | 1.0 |
|
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:1bd0cfbe96dc3a2a718d8a9b65adacfaf5ffcbe7707e542f4cf8f4ddbb37a271
|
3 |
size 343083404
|
runs/May23_14-55-24_2bc4f829fe52/events.out.tfevents.1716476125.2bc4f829fe52.989.26
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:d3e6d85d3fc06fa67fa75a16b5212e6b4d73a554602e48144cfea54994815065
|
3 |
+
size 39900
|