Model save
Browse files
README.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-corect_deepcleaned_dataset_lateral_flow_ivalidation
|
| 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: validation
|
| 22 |
+
args: default
|
| 23 |
+
metrics:
|
| 24 |
+
- name: Accuracy
|
| 25 |
+
type: accuracy
|
| 26 |
+
value: 0.8879227053140096
|
| 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-corect_deepcleaned_dataset_lateral_flow_ivalidation
|
| 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.3520
|
| 37 |
+
- Accuracy: 0.8879
|
| 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: 20
|
| 66 |
+
|
| 67 |
+
### Training results
|
| 68 |
+
|
| 69 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 70 |
+
|:-------------:|:-------:|:----:|:---------------:|:--------:|
|
| 71 |
+
| No log | 0.9231 | 3 | 0.3933 | 0.8928 |
|
| 72 |
+
| No log | 1.8462 | 6 | 0.4167 | 0.9188 |
|
| 73 |
+
| No log | 2.7692 | 9 | 0.9331 | 0.4966 |
|
| 74 |
+
| 0.615 | 4.0 | 13 | 0.3085 | 0.9179 |
|
| 75 |
+
| 0.615 | 4.9231 | 16 | 0.2210 | 0.9333 |
|
| 76 |
+
| 0.615 | 5.8462 | 19 | 0.2106 | 0.9391 |
|
| 77 |
+
| 0.3763 | 6.7692 | 22 | 0.1871 | 0.9498 |
|
| 78 |
+
| 0.3763 | 8.0 | 26 | 0.2043 | 0.9372 |
|
| 79 |
+
| 0.3763 | 8.9231 | 29 | 0.3121 | 0.8889 |
|
| 80 |
+
| 0.3511 | 9.8462 | 32 | 0.2015 | 0.9314 |
|
| 81 |
+
| 0.3511 | 10.7692 | 35 | 0.4485 | 0.8377 |
|
| 82 |
+
| 0.3511 | 12.0 | 39 | 0.2445 | 0.9285 |
|
| 83 |
+
| 0.2962 | 12.9231 | 42 | 0.3045 | 0.9053 |
|
| 84 |
+
| 0.2962 | 13.8462 | 45 | 0.3915 | 0.8715 |
|
| 85 |
+
| 0.2962 | 14.7692 | 48 | 0.3165 | 0.8937 |
|
| 86 |
+
| 0.2553 | 16.0 | 52 | 0.2823 | 0.9082 |
|
| 87 |
+
| 0.2553 | 16.9231 | 55 | 0.3504 | 0.8870 |
|
| 88 |
+
| 0.2553 | 17.8462 | 58 | 0.3679 | 0.8870 |
|
| 89 |
+
| 0.2601 | 18.4615 | 60 | 0.3520 | 0.8879 |
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
### Framework versions
|
| 93 |
+
|
| 94 |
+
- Transformers 4.44.2
|
| 95 |
+
- Pytorch 2.4.1+cu121
|
| 96 |
+
- Datasets 3.2.0
|
| 97 |
+
- 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 86688624
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:008c06916141b0a561f85c502490cb76bbd77666e21185d5c54f9042e0e45399
|
| 3 |
size 86688624
|
runs/Jan14_17-38-22_c583982b4f3d/events.out.tfevents.1736876311.c583982b4f3d.215.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:0138fa5b59f5fc5922afd2a86aad210ea54f7ed4f9deb868e34061b4b607c4e0
|
| 3 |
+
size 12658
|