Model save
Browse files
README.md
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-cleandataset-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.8561096307575181
|
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-cleandataset-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.3982
|
37 |
+
- Accuracy: 0.8561
|
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: 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.1
|
65 |
+
- num_epochs: 10
|
66 |
+
|
67 |
+
### Training results
|
68 |
+
|
69 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
70 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
71 |
+
| 1.3509 | 0.9730 | 18 | 0.7926 | 0.7876 |
|
72 |
+
| 0.6001 | 2.0 | 37 | 0.5589 | 0.8085 |
|
73 |
+
| 0.4944 | 2.9730 | 55 | 0.5092 | 0.8226 |
|
74 |
+
| 0.462 | 4.0 | 74 | 0.4758 | 0.8260 |
|
75 |
+
| 0.4367 | 4.9730 | 92 | 0.4534 | 0.8394 |
|
76 |
+
| 0.4175 | 6.0 | 111 | 0.4492 | 0.8462 |
|
77 |
+
| 0.4129 | 6.9730 | 129 | 0.4376 | 0.8451 |
|
78 |
+
| 0.3956 | 8.0 | 148 | 0.4100 | 0.8515 |
|
79 |
+
| 0.3668 | 8.9730 | 166 | 0.4213 | 0.8496 |
|
80 |
+
| 0.3752 | 9.7297 | 180 | 0.3982 | 0.8561 |
|
81 |
+
|
82 |
+
|
83 |
+
### Framework versions
|
84 |
+
|
85 |
+
- Transformers 4.44.2
|
86 |
+
- Pytorch 2.4.1+cu121
|
87 |
+
- Datasets 3.2.0
|
88 |
+
- Tokenizers 0.19.1
|
runs/Dec17_13-52-55_ae1aa77fe319/events.out.tfevents.1734443587.ae1aa77fe319.236.16
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:ef5189e70d989dabad6a9c97d1b17b7d4188ddc5518c1e4535df1088bdcb1a4d
|
3 |
+
size 12403
|