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-cells-separated-dataset-agregates-25
|
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.9374958397124409
|
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-cells-separated-dataset-agregates-25
|
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.2370
|
37 |
+
- Accuracy: 0.9375
|
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 |
+
| 0.351 | 0.9937 | 119 | 0.2523 | 0.9151 |
|
72 |
+
| 0.3364 | 1.9958 | 239 | 0.2355 | 0.9195 |
|
73 |
+
| 0.2999 | 2.9979 | 359 | 0.2384 | 0.9169 |
|
74 |
+
| 0.2861 | 4.0 | 479 | 0.1902 | 0.9341 |
|
75 |
+
| 0.3014 | 4.9937 | 598 | 0.2154 | 0.9290 |
|
76 |
+
| 0.292 | 5.9958 | 718 | 0.1764 | 0.9383 |
|
77 |
+
| 0.2441 | 6.9979 | 838 | 0.1894 | 0.9348 |
|
78 |
+
| 0.2416 | 8.0 | 958 | 0.1913 | 0.9349 |
|
79 |
+
| 0.2642 | 8.9937 | 1077 | 0.1738 | 0.9385 |
|
80 |
+
| 0.2482 | 9.9958 | 1197 | 0.1911 | 0.9371 |
|
81 |
+
| 0.2279 | 10.9979 | 1317 | 0.1867 | 0.9381 |
|
82 |
+
| 0.2331 | 12.0 | 1437 | 0.1814 | 0.9389 |
|
83 |
+
| 0.2208 | 12.9937 | 1556 | 0.1790 | 0.9401 |
|
84 |
+
| 0.2326 | 13.9958 | 1676 | 0.1926 | 0.9366 |
|
85 |
+
| 0.1899 | 14.9979 | 1796 | 0.1975 | 0.9372 |
|
86 |
+
| 0.1822 | 16.0 | 1916 | 0.2052 | 0.9352 |
|
87 |
+
| 0.1837 | 16.9937 | 2035 | 0.2078 | 0.9364 |
|
88 |
+
| 0.1712 | 17.9958 | 2155 | 0.2345 | 0.9288 |
|
89 |
+
| 0.1715 | 18.9979 | 2275 | 0.2156 | 0.9368 |
|
90 |
+
| 0.1516 | 20.0 | 2395 | 0.2279 | 0.9368 |
|
91 |
+
| 0.1504 | 20.9937 | 2514 | 0.2213 | 0.9382 |
|
92 |
+
| 0.139 | 21.9958 | 2634 | 0.2247 | 0.9370 |
|
93 |
+
| 0.1264 | 22.9979 | 2754 | 0.2357 | 0.9384 |
|
94 |
+
| 0.1266 | 24.0 | 2874 | 0.2360 | 0.9381 |
|
95 |
+
| 0.1144 | 24.8434 | 2975 | 0.2370 | 0.9375 |
|
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 86693244
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ec3d848afb0e086adba609fae04c0a4a7938a6bc1103970501db2f41eae1ab8f
|
3 |
size 86693244
|