Model save
Browse files
README.md
CHANGED
@@ -23,7 +23,7 @@ model-index:
|
|
23 |
metrics:
|
24 |
- name: Accuracy
|
25 |
type: accuracy
|
26 |
-
value: 0.
|
27 |
---
|
28 |
|
29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -33,8 +33,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
33 |
|
34 |
This model is a fine-tuned version of [Melo1512/vit-msn-small-lateral_flow_ivalidation_train_test_7](https://huggingface.co/Melo1512/vit-msn-small-lateral_flow_ivalidation_train_test_7) on the imagefolder dataset.
|
35 |
It achieves the following results on the evaluation set:
|
36 |
-
- Loss: 0.
|
37 |
-
- Accuracy: 0.
|
38 |
|
39 |
## Model description
|
40 |
|
@@ -53,98 +53,115 @@ More information needed
|
|
53 |
### Training hyperparameters
|
54 |
|
55 |
The following hyperparameters were used during training:
|
56 |
-
- learning_rate:
|
57 |
- train_batch_size: 64
|
58 |
- eval_batch_size: 64
|
59 |
- seed: 42
|
60 |
-
- gradient_accumulation_steps:
|
61 |
-
- total_train_batch_size:
|
62 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
63 |
- lr_scheduler_type: linear
|
64 |
-
- lr_scheduler_warmup_ratio: 0.
|
65 |
- num_epochs: 100
|
|
|
66 |
|
67 |
### Training results
|
68 |
|
69 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
70 |
|:-------------:|:-------:|:----:|:---------------:|:--------:|
|
71 |
-
| No log | 0.
|
72 |
-
| No log | 1.
|
73 |
-
| No log | 2.
|
74 |
-
| 0.
|
75 |
-
| 0.
|
76 |
-
| 0.
|
77 |
-
| 0.
|
78 |
-
| 0.
|
79 |
-
| 0.
|
80 |
-
| 0.
|
81 |
-
| 0.
|
82 |
-
| 0.
|
83 |
-
| 0.
|
84 |
-
| 0.
|
85 |
-
| 0.
|
86 |
-
| 0.
|
87 |
-
| 0.
|
88 |
-
| 0.
|
89 |
-
| 0.
|
90 |
-
| 0.
|
91 |
-
| 0.
|
92 |
-
| 0.
|
93 |
-
| 0.
|
94 |
-
| 0.
|
95 |
-
| 0.
|
96 |
-
| 0.
|
97 |
-
| 0.
|
98 |
-
| 0.
|
99 |
-
| 0.
|
100 |
-
| 0.
|
101 |
-
| 0.
|
102 |
-
| 0.
|
103 |
-
| 0.
|
104 |
-
| 0.
|
105 |
-
| 0.
|
106 |
-
| 0.
|
107 |
-
| 0.
|
108 |
-
| 0.
|
109 |
-
| 0.
|
110 |
-
| 0.
|
111 |
-
| 0.
|
112 |
-
| 0.
|
113 |
-
| 0.
|
114 |
-
| 0.
|
115 |
-
| 0.
|
116 |
-
| 0.
|
117 |
-
| 0.
|
118 |
-
| 0.
|
119 |
-
| 0.
|
120 |
-
| 0.
|
121 |
-
| 0.
|
122 |
-
| 0.
|
123 |
-
| 0.
|
124 |
-
| 0.
|
125 |
-
| 0.
|
126 |
-
| 0.
|
127 |
-
| 0.
|
128 |
-
| 0.
|
129 |
-
| 0.
|
130 |
-
| 0.
|
131 |
-
| 0.
|
132 |
-
| 0.
|
133 |
-
| 0.
|
134 |
-
| 0.
|
135 |
-
| 0.
|
136 |
-
| 0.
|
137 |
-
| 0.
|
138 |
-
| 0.
|
139 |
-
| 0.
|
140 |
-
| 0.
|
141 |
-
| 0.
|
142 |
-
| 0.
|
143 |
-
| 0.
|
144 |
-
| 0.
|
145 |
-
| 0.
|
146 |
-
| 0.
|
147 |
-
| 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
|
149 |
|
150 |
### Framework versions
|
|
|
23 |
metrics:
|
24 |
- name: Accuracy
|
25 |
type: accuracy
|
26 |
+
value: 0.7435897435897436
|
27 |
---
|
28 |
|
29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
33 |
|
34 |
This model is a fine-tuned version of [Melo1512/vit-msn-small-lateral_flow_ivalidation_train_test_7](https://huggingface.co/Melo1512/vit-msn-small-lateral_flow_ivalidation_train_test_7) on the imagefolder dataset.
|
35 |
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 0.5816
|
37 |
+
- Accuracy: 0.7436
|
38 |
|
39 |
## Model description
|
40 |
|
|
|
53 |
### Training hyperparameters
|
54 |
|
55 |
The following hyperparameters were used during training:
|
56 |
+
- learning_rate: 1e-05
|
57 |
- train_batch_size: 64
|
58 |
- eval_batch_size: 64
|
59 |
- seed: 42
|
60 |
+
- gradient_accumulation_steps: 4
|
61 |
+
- total_train_batch_size: 256
|
62 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
63 |
- lr_scheduler_type: linear
|
64 |
+
- lr_scheduler_warmup_ratio: 0.2
|
65 |
- num_epochs: 100
|
66 |
+
- label_smoothing_factor: 0.1
|
67 |
|
68 |
### Training results
|
69 |
|
70 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
71 |
|:-------------:|:-------:|:----:|:---------------:|:--------:|
|
72 |
+
| No log | 0.9231 | 3 | 0.4160 | 0.8791 |
|
73 |
+
| No log | 1.8462 | 6 | 0.4668 | 0.8388 |
|
74 |
+
| No log | 2.7692 | 9 | 0.5433 | 0.8022 |
|
75 |
+
| 0.3869 | 4.0 | 13 | 0.5052 | 0.8168 |
|
76 |
+
| 0.3869 | 4.9231 | 16 | 0.4591 | 0.8571 |
|
77 |
+
| 0.3869 | 5.8462 | 19 | 0.4820 | 0.8278 |
|
78 |
+
| 0.3658 | 6.7692 | 22 | 0.4953 | 0.8095 |
|
79 |
+
| 0.3658 | 8.0 | 26 | 0.4497 | 0.8608 |
|
80 |
+
| 0.3658 | 8.9231 | 29 | 0.4686 | 0.8315 |
|
81 |
+
| 0.3439 | 9.8462 | 32 | 0.4506 | 0.8608 |
|
82 |
+
| 0.3439 | 10.7692 | 35 | 0.4859 | 0.8168 |
|
83 |
+
| 0.3439 | 12.0 | 39 | 0.4929 | 0.8168 |
|
84 |
+
| 0.3416 | 12.9231 | 42 | 0.4957 | 0.8059 |
|
85 |
+
| 0.3416 | 13.8462 | 45 | 0.5229 | 0.7875 |
|
86 |
+
| 0.3416 | 14.7692 | 48 | 0.4473 | 0.8535 |
|
87 |
+
| 0.324 | 16.0 | 52 | 0.5260 | 0.8059 |
|
88 |
+
| 0.324 | 16.9231 | 55 | 0.4582 | 0.8462 |
|
89 |
+
| 0.324 | 17.8462 | 58 | 0.5299 | 0.7839 |
|
90 |
+
| 0.3273 | 18.7692 | 61 | 0.4947 | 0.8205 |
|
91 |
+
| 0.3273 | 20.0 | 65 | 0.5393 | 0.7692 |
|
92 |
+
| 0.3273 | 20.9231 | 68 | 0.4916 | 0.8278 |
|
93 |
+
| 0.3397 | 21.8462 | 71 | 0.5360 | 0.7802 |
|
94 |
+
| 0.3397 | 22.7692 | 74 | 0.5661 | 0.7656 |
|
95 |
+
| 0.3397 | 24.0 | 78 | 0.6354 | 0.7216 |
|
96 |
+
| 0.3344 | 24.9231 | 81 | 0.6782 | 0.7033 |
|
97 |
+
| 0.3344 | 25.8462 | 84 | 0.5704 | 0.7582 |
|
98 |
+
| 0.3344 | 26.7692 | 87 | 0.6537 | 0.6777 |
|
99 |
+
| 0.3325 | 28.0 | 91 | 0.4798 | 0.8425 |
|
100 |
+
| 0.3325 | 28.9231 | 94 | 0.5158 | 0.8059 |
|
101 |
+
| 0.3325 | 29.8462 | 97 | 0.5408 | 0.7912 |
|
102 |
+
| 0.3283 | 30.7692 | 100 | 0.5964 | 0.7399 |
|
103 |
+
| 0.3283 | 32.0 | 104 | 0.5069 | 0.8205 |
|
104 |
+
| 0.3283 | 32.9231 | 107 | 0.5396 | 0.7875 |
|
105 |
+
| 0.3229 | 33.8462 | 110 | 0.5203 | 0.7985 |
|
106 |
+
| 0.3229 | 34.7692 | 113 | 0.5464 | 0.7875 |
|
107 |
+
| 0.3229 | 36.0 | 117 | 0.5890 | 0.7509 |
|
108 |
+
| 0.3207 | 36.9231 | 120 | 0.5080 | 0.8132 |
|
109 |
+
| 0.3207 | 37.8462 | 123 | 0.4944 | 0.8168 |
|
110 |
+
| 0.3207 | 38.7692 | 126 | 0.4968 | 0.8095 |
|
111 |
+
| 0.3286 | 40.0 | 130 | 0.4874 | 0.8132 |
|
112 |
+
| 0.3286 | 40.9231 | 133 | 0.5013 | 0.8059 |
|
113 |
+
| 0.3286 | 41.8462 | 136 | 0.5329 | 0.7656 |
|
114 |
+
| 0.3286 | 42.7692 | 139 | 0.6199 | 0.6996 |
|
115 |
+
| 0.3154 | 44.0 | 143 | 0.4854 | 0.8059 |
|
116 |
+
| 0.3154 | 44.9231 | 146 | 0.5545 | 0.7509 |
|
117 |
+
| 0.3154 | 45.8462 | 149 | 0.5267 | 0.7729 |
|
118 |
+
| 0.3119 | 46.7692 | 152 | 0.5214 | 0.7802 |
|
119 |
+
| 0.3119 | 48.0 | 156 | 0.5265 | 0.7839 |
|
120 |
+
| 0.3119 | 48.9231 | 159 | 0.5137 | 0.7985 |
|
121 |
+
| 0.3036 | 49.8462 | 162 | 0.5354 | 0.7839 |
|
122 |
+
| 0.3036 | 50.7692 | 165 | 0.5269 | 0.7875 |
|
123 |
+
| 0.3036 | 52.0 | 169 | 0.5797 | 0.7399 |
|
124 |
+
| 0.2995 | 52.9231 | 172 | 0.6258 | 0.7179 |
|
125 |
+
| 0.2995 | 53.8462 | 175 | 0.5512 | 0.7692 |
|
126 |
+
| 0.2995 | 54.7692 | 178 | 0.5517 | 0.7619 |
|
127 |
+
| 0.306 | 56.0 | 182 | 0.5590 | 0.7546 |
|
128 |
+
| 0.306 | 56.9231 | 185 | 0.5514 | 0.7619 |
|
129 |
+
| 0.306 | 57.8462 | 188 | 0.5597 | 0.7509 |
|
130 |
+
| 0.2989 | 58.7692 | 191 | 0.5957 | 0.7326 |
|
131 |
+
| 0.2989 | 60.0 | 195 | 0.5366 | 0.7766 |
|
132 |
+
| 0.2989 | 60.9231 | 198 | 0.5465 | 0.7729 |
|
133 |
+
| 0.2931 | 61.8462 | 201 | 0.6171 | 0.7253 |
|
134 |
+
| 0.2931 | 62.7692 | 204 | 0.5768 | 0.7509 |
|
135 |
+
| 0.2931 | 64.0 | 208 | 0.5706 | 0.7509 |
|
136 |
+
| 0.299 | 64.9231 | 211 | 0.5962 | 0.7363 |
|
137 |
+
| 0.299 | 65.8462 | 214 | 0.6220 | 0.7216 |
|
138 |
+
| 0.299 | 66.7692 | 217 | 0.5929 | 0.7363 |
|
139 |
+
| 0.2969 | 68.0 | 221 | 0.6136 | 0.7253 |
|
140 |
+
| 0.2969 | 68.9231 | 224 | 0.6092 | 0.7289 |
|
141 |
+
| 0.2969 | 69.8462 | 227 | 0.6029 | 0.7253 |
|
142 |
+
| 0.3015 | 70.7692 | 230 | 0.5356 | 0.7766 |
|
143 |
+
| 0.3015 | 72.0 | 234 | 0.5376 | 0.7692 |
|
144 |
+
| 0.3015 | 72.9231 | 237 | 0.5886 | 0.7436 |
|
145 |
+
| 0.2919 | 73.8462 | 240 | 0.5869 | 0.7436 |
|
146 |
+
| 0.2919 | 74.7692 | 243 | 0.5846 | 0.7473 |
|
147 |
+
| 0.2919 | 76.0 | 247 | 0.5507 | 0.7656 |
|
148 |
+
| 0.288 | 76.9231 | 250 | 0.5801 | 0.7509 |
|
149 |
+
| 0.288 | 77.8462 | 253 | 0.6077 | 0.7399 |
|
150 |
+
| 0.288 | 78.7692 | 256 | 0.5848 | 0.7436 |
|
151 |
+
| 0.2951 | 80.0 | 260 | 0.5435 | 0.7692 |
|
152 |
+
| 0.2951 | 80.9231 | 263 | 0.5638 | 0.7656 |
|
153 |
+
| 0.2951 | 81.8462 | 266 | 0.5795 | 0.7399 |
|
154 |
+
| 0.2951 | 82.7692 | 269 | 0.5774 | 0.7509 |
|
155 |
+
| 0.2875 | 84.0 | 273 | 0.5703 | 0.7509 |
|
156 |
+
| 0.2875 | 84.9231 | 276 | 0.5713 | 0.7509 |
|
157 |
+
| 0.2875 | 85.8462 | 279 | 0.5784 | 0.7473 |
|
158 |
+
| 0.2855 | 86.7692 | 282 | 0.5904 | 0.7436 |
|
159 |
+
| 0.2855 | 88.0 | 286 | 0.5917 | 0.7326 |
|
160 |
+
| 0.2855 | 88.9231 | 289 | 0.5860 | 0.7473 |
|
161 |
+
| 0.2964 | 89.8462 | 292 | 0.5858 | 0.7473 |
|
162 |
+
| 0.2964 | 90.7692 | 295 | 0.5823 | 0.7436 |
|
163 |
+
| 0.2964 | 92.0 | 299 | 0.5817 | 0.7436 |
|
164 |
+
| 0.291 | 92.3077 | 300 | 0.5816 | 0.7436 |
|
165 |
|
166 |
|
167 |
### Framework versions
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 86688624
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1887b5e5eb85631e3fab56bd67c6c69544c869f959c7fb977f1870c04482326f
|
3 |
size 86688624
|
runs/Jan16_17-31-32_d2e708f84219/events.out.tfevents.1737048698.d2e708f84219.310.6
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:ade707b8de3a2302c4a7c0f591030d88bc72949365fb52183fd0d1fbd1a080b9
|
3 |
+
size 41551
|