Model save
Browse files
README.md
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: microsoft/swin-tiny-patch4-window7-224
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- accuracy
|
| 8 |
+
model-index:
|
| 9 |
+
- name: swin-tiny-patch4-window7-224-classification
|
| 10 |
+
results: []
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 14 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 15 |
+
|
| 16 |
+
# swin-tiny-patch4-window7-224-classification
|
| 17 |
+
|
| 18 |
+
This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on an unknown dataset.
|
| 19 |
+
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 0.3032
|
| 21 |
+
- Accuracy: 0.8941
|
| 22 |
+
|
| 23 |
+
## Model description
|
| 24 |
+
|
| 25 |
+
More information needed
|
| 26 |
+
|
| 27 |
+
## Intended uses & limitations
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Training and evaluation data
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Training procedure
|
| 36 |
+
|
| 37 |
+
### Training hyperparameters
|
| 38 |
+
|
| 39 |
+
The following hyperparameters were used during training:
|
| 40 |
+
- learning_rate: 0.0001
|
| 41 |
+
- train_batch_size: 64
|
| 42 |
+
- eval_batch_size: 64
|
| 43 |
+
- seed: 42
|
| 44 |
+
- gradient_accumulation_steps: 4
|
| 45 |
+
- total_train_batch_size: 256
|
| 46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 47 |
+
- lr_scheduler_type: linear
|
| 48 |
+
- lr_scheduler_warmup_ratio: 0.1
|
| 49 |
+
- num_epochs: 10
|
| 50 |
+
|
| 51 |
+
### Training results
|
| 52 |
+
|
| 53 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 54 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 55 |
+
| 0.8514 | 1.0 | 100 | 0.7862 | 0.7058 |
|
| 56 |
+
| 0.631 | 2.0 | 200 | 0.5492 | 0.7886 |
|
| 57 |
+
| 0.5516 | 2.99 | 300 | 0.5195 | 0.8079 |
|
| 58 |
+
| 0.4597 | 4.0 | 401 | 0.4840 | 0.8229 |
|
| 59 |
+
| 0.4094 | 5.0 | 501 | 0.3946 | 0.8597 |
|
| 60 |
+
| 0.3289 | 6.0 | 601 | 0.3787 | 0.8573 |
|
| 61 |
+
| 0.3145 | 6.99 | 701 | 0.3536 | 0.8773 |
|
| 62 |
+
| 0.2911 | 8.0 | 802 | 0.3249 | 0.8853 |
|
| 63 |
+
| 0.2487 | 9.0 | 902 | 0.3094 | 0.8938 |
|
| 64 |
+
| 0.2291 | 9.98 | 1000 | 0.3032 | 0.8941 |
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
### Framework versions
|
| 68 |
+
|
| 69 |
+
- Transformers 4.39.3
|
| 70 |
+
- Pytorch 2.1.2
|
| 71 |
+
- Datasets 2.18.0
|
| 72 |
+
- Tokenizers 0.15.2
|