Model save
Browse files- README.md +103 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: facebook/vit-msn-small
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- imagefolder
|
9 |
+
metrics:
|
10 |
+
- accuracy
|
11 |
+
model-index:
|
12 |
+
- name: vit-msn-small-wbc-classifier-0316-cropped-cleaned-dataset-10
|
13 |
+
results:
|
14 |
+
- task:
|
15 |
+
name: Image Classification
|
16 |
+
type: image-classification
|
17 |
+
dataset:
|
18 |
+
name: imagefolder
|
19 |
+
type: imagefolder
|
20 |
+
config: default
|
21 |
+
split: test
|
22 |
+
args: default
|
23 |
+
metrics:
|
24 |
+
- name: Accuracy
|
25 |
+
type: accuracy
|
26 |
+
value: 0.8834154351395731
|
27 |
+
---
|
28 |
+
|
29 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
30 |
+
should probably proofread and complete it, then remove this comment. -->
|
31 |
+
|
32 |
+
# vit-msn-small-wbc-classifier-0316-cropped-cleaned-dataset-10
|
33 |
+
|
34 |
+
This model is a fine-tuned version of [facebook/vit-msn-small](https://huggingface.co/facebook/vit-msn-small) on the imagefolder dataset.
|
35 |
+
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 0.4247
|
37 |
+
- Accuracy: 0.8834
|
38 |
+
|
39 |
+
## Model description
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Intended uses & limitations
|
44 |
+
|
45 |
+
More information needed
|
46 |
+
|
47 |
+
## Training and evaluation data
|
48 |
+
|
49 |
+
More information needed
|
50 |
+
|
51 |
+
## Training procedure
|
52 |
+
|
53 |
+
### Training hyperparameters
|
54 |
+
|
55 |
+
The following hyperparameters were used during training:
|
56 |
+
- learning_rate: 5e-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.1
|
65 |
+
- num_epochs: 25
|
66 |
+
|
67 |
+
### Training results
|
68 |
+
|
69 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
70 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
71 |
+
| 1.3709 | 1.0 | 17 | 0.6977 | 0.8050 |
|
72 |
+
| 0.5673 | 2.0 | 34 | 0.5949 | 0.8099 |
|
73 |
+
| 0.5227 | 3.0 | 51 | 0.6152 | 0.7931 |
|
74 |
+
| 0.4958 | 4.0 | 68 | 0.4351 | 0.8436 |
|
75 |
+
| 0.4402 | 5.0 | 85 | 0.3777 | 0.8580 |
|
76 |
+
| 0.3878 | 6.0 | 102 | 0.3970 | 0.8699 |
|
77 |
+
| 0.3646 | 7.0 | 119 | 0.3793 | 0.8641 |
|
78 |
+
| 0.3452 | 8.0 | 136 | 0.3550 | 0.8805 |
|
79 |
+
| 0.344 | 9.0 | 153 | 0.4003 | 0.8736 |
|
80 |
+
| 0.3365 | 10.0 | 170 | 0.3654 | 0.8830 |
|
81 |
+
| 0.3223 | 11.0 | 187 | 0.3571 | 0.8764 |
|
82 |
+
| 0.2819 | 12.0 | 204 | 0.3665 | 0.8789 |
|
83 |
+
| 0.2998 | 13.0 | 221 | 0.3609 | 0.8838 |
|
84 |
+
| 0.2959 | 14.0 | 238 | 0.4335 | 0.8719 |
|
85 |
+
| 0.2662 | 15.0 | 255 | 0.4245 | 0.8785 |
|
86 |
+
| 0.2668 | 16.0 | 272 | 0.3760 | 0.8846 |
|
87 |
+
| 0.2576 | 17.0 | 289 | 0.3728 | 0.8830 |
|
88 |
+
| 0.2398 | 18.0 | 306 | 0.4192 | 0.8814 |
|
89 |
+
| 0.2278 | 19.0 | 323 | 0.4156 | 0.8805 |
|
90 |
+
| 0.2033 | 20.0 | 340 | 0.4159 | 0.8851 |
|
91 |
+
| 0.2037 | 21.0 | 357 | 0.3986 | 0.8855 |
|
92 |
+
| 0.1934 | 22.0 | 374 | 0.4220 | 0.8822 |
|
93 |
+
| 0.1983 | 23.0 | 391 | 0.4159 | 0.8855 |
|
94 |
+
| 0.1746 | 24.0 | 408 | 0.4179 | 0.8855 |
|
95 |
+
| 0.1776 | 25.0 | 425 | 0.4247 | 0.8834 |
|
96 |
+
|
97 |
+
|
98 |
+
### Framework versions
|
99 |
+
|
100 |
+
- Transformers 4.44.2
|
101 |
+
- Pytorch 2.4.1+cu121
|
102 |
+
- Datasets 3.2.0
|
103 |
+
- 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 86691704
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bc9acc9389156f124deefe4c4c747389e20f6ed03066dedfba704fe9d9151f7f
|
3 |
size 86691704
|