Model save
Browse files- README.md +83 -0
- model.safetensors +1 -1
README.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: google/vit-base-patch16-224
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- accuracy
|
| 8 |
+
- precision
|
| 9 |
+
- recall
|
| 10 |
+
- f1
|
| 11 |
+
model-index:
|
| 12 |
+
- name: vit-augmentation
|
| 13 |
+
results: []
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 17 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 18 |
+
|
| 19 |
+
# vit-augmentation
|
| 20 |
+
|
| 21 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on an unknown dataset.
|
| 22 |
+
It achieves the following results on the evaluation set:
|
| 23 |
+
- Loss: 0.5668
|
| 24 |
+
- Accuracy: 0.8804
|
| 25 |
+
- Precision: 0.8823
|
| 26 |
+
- Recall: 0.8804
|
| 27 |
+
- F1: 0.8789
|
| 28 |
+
|
| 29 |
+
## Model description
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Intended uses & limitations
|
| 34 |
+
|
| 35 |
+
More information needed
|
| 36 |
+
|
| 37 |
+
## Training and evaluation data
|
| 38 |
+
|
| 39 |
+
More information needed
|
| 40 |
+
|
| 41 |
+
## Training procedure
|
| 42 |
+
|
| 43 |
+
### Training hyperparameters
|
| 44 |
+
|
| 45 |
+
The following hyperparameters were used during training:
|
| 46 |
+
- learning_rate: 0.0001
|
| 47 |
+
- train_batch_size: 16
|
| 48 |
+
- eval_batch_size: 8
|
| 49 |
+
- seed: 42
|
| 50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 51 |
+
- lr_scheduler_type: cosine
|
| 52 |
+
- lr_scheduler_warmup_steps: 770
|
| 53 |
+
- num_epochs: 100
|
| 54 |
+
- mixed_precision_training: Native AMP
|
| 55 |
+
|
| 56 |
+
### Training results
|
| 57 |
+
|
| 58 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
| 59 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
| 60 |
+
| 0.9124 | 1.0 | 321 | 0.6025 | 0.7805 | 0.7788 | 0.7805 | 0.7683 |
|
| 61 |
+
| 0.5876 | 2.0 | 642 | 0.5819 | 0.7864 | 0.7990 | 0.7864 | 0.7820 |
|
| 62 |
+
| 0.5415 | 3.0 | 963 | 0.6149 | 0.8041 | 0.7943 | 0.8041 | 0.7865 |
|
| 63 |
+
| 0.4815 | 4.0 | 1284 | 0.4654 | 0.8294 | 0.8259 | 0.8294 | 0.8115 |
|
| 64 |
+
| 0.4263 | 5.0 | 1605 | 0.5481 | 0.8259 | 0.8315 | 0.8259 | 0.8023 |
|
| 65 |
+
| 0.3515 | 6.0 | 1926 | 0.4287 | 0.8592 | 0.8580 | 0.8592 | 0.8574 |
|
| 66 |
+
| 0.3144 | 7.0 | 2247 | 0.5005 | 0.8363 | 0.8320 | 0.8363 | 0.8270 |
|
| 67 |
+
| 0.2736 | 8.0 | 2568 | 0.5306 | 0.8294 | 0.8448 | 0.8294 | 0.8302 |
|
| 68 |
+
| 0.2519 | 9.0 | 2889 | 0.4733 | 0.8578 | 0.8534 | 0.8578 | 0.8534 |
|
| 69 |
+
| 0.2227 | 10.0 | 3210 | 0.4905 | 0.8585 | 0.8520 | 0.8585 | 0.8512 |
|
| 70 |
+
| 0.1724 | 11.0 | 3531 | 0.5050 | 0.8655 | 0.8671 | 0.8655 | 0.8628 |
|
| 71 |
+
| 0.1596 | 12.0 | 3852 | 0.5263 | 0.8686 | 0.8657 | 0.8686 | 0.8631 |
|
| 72 |
+
| 0.1397 | 13.0 | 4173 | 0.7043 | 0.8533 | 0.8703 | 0.8533 | 0.8488 |
|
| 73 |
+
| 0.1298 | 14.0 | 4494 | 0.6275 | 0.8679 | 0.8734 | 0.8679 | 0.8632 |
|
| 74 |
+
| 0.1029 | 15.0 | 4815 | 0.5564 | 0.8807 | 0.8776 | 0.8807 | 0.8772 |
|
| 75 |
+
| 0.0893 | 16.0 | 5136 | 0.5668 | 0.8804 | 0.8823 | 0.8804 | 0.8789 |
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
### Framework versions
|
| 79 |
+
|
| 80 |
+
- Transformers 4.40.0.dev0
|
| 81 |
+
- Pytorch 2.2.1+cu121
|
| 82 |
+
- Datasets 2.18.0
|
| 83 |
+
- Tokenizers 0.15.2
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 343239356
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:213153062cbabb09820124fde725738d05842bb5d31952428739280c174b7f8e
|
| 3 |
size 343239356
|