Model save
Browse files
README.md
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: google/vit-base-patch16-224
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
datasets:
|
| 7 |
+
- imagefolder
|
| 8 |
+
metrics:
|
| 9 |
+
- accuracy
|
| 10 |
+
model-index:
|
| 11 |
+
- name: vit-base-patch16-224-RX1-24
|
| 12 |
+
results:
|
| 13 |
+
- task:
|
| 14 |
+
name: Image Classification
|
| 15 |
+
type: image-classification
|
| 16 |
+
dataset:
|
| 17 |
+
name: imagefolder
|
| 18 |
+
type: imagefolder
|
| 19 |
+
config: default
|
| 20 |
+
split: validation
|
| 21 |
+
args: default
|
| 22 |
+
metrics:
|
| 23 |
+
- name: Accuracy
|
| 24 |
+
type: accuracy
|
| 25 |
+
value: 0.803921568627451
|
| 26 |
+
---
|
| 27 |
+
|
| 28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 29 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 30 |
+
|
| 31 |
+
# vit-base-patch16-224-RX1-24
|
| 32 |
+
|
| 33 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the imagefolder dataset.
|
| 34 |
+
It achieves the following results on the evaluation set:
|
| 35 |
+
- Loss: 0.6337
|
| 36 |
+
- Accuracy: 0.8039
|
| 37 |
+
|
| 38 |
+
## Model description
|
| 39 |
+
|
| 40 |
+
More information needed
|
| 41 |
+
|
| 42 |
+
## Intended uses & limitations
|
| 43 |
+
|
| 44 |
+
More information needed
|
| 45 |
+
|
| 46 |
+
## Training and evaluation data
|
| 47 |
+
|
| 48 |
+
More information needed
|
| 49 |
+
|
| 50 |
+
## Training procedure
|
| 51 |
+
|
| 52 |
+
### Training hyperparameters
|
| 53 |
+
|
| 54 |
+
The following hyperparameters were used during training:
|
| 55 |
+
- learning_rate: 5.5e-05
|
| 56 |
+
- train_batch_size: 32
|
| 57 |
+
- eval_batch_size: 32
|
| 58 |
+
- seed: 42
|
| 59 |
+
- gradient_accumulation_steps: 4
|
| 60 |
+
- total_train_batch_size: 128
|
| 61 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 62 |
+
- lr_scheduler_type: linear
|
| 63 |
+
- lr_scheduler_warmup_ratio: 0.05
|
| 64 |
+
- num_epochs: 24
|
| 65 |
+
|
| 66 |
+
### Training results
|
| 67 |
+
|
| 68 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 69 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 70 |
+
| No log | 0.93 | 7 | 1.3485 | 0.4706 |
|
| 71 |
+
| 1.3674 | 2.0 | 15 | 1.2284 | 0.5490 |
|
| 72 |
+
| 1.2414 | 2.93 | 22 | 1.1307 | 0.6471 |
|
| 73 |
+
| 1.1146 | 4.0 | 30 | 1.0230 | 0.6471 |
|
| 74 |
+
| 1.1146 | 4.93 | 37 | 0.9251 | 0.6863 |
|
| 75 |
+
| 0.9522 | 6.0 | 45 | 0.9122 | 0.6471 |
|
| 76 |
+
| 0.8247 | 6.93 | 52 | 0.9374 | 0.6275 |
|
| 77 |
+
| 0.6825 | 8.0 | 60 | 0.8320 | 0.6863 |
|
| 78 |
+
| 0.6825 | 8.93 | 67 | 0.8286 | 0.6667 |
|
| 79 |
+
| 0.6191 | 10.0 | 75 | 0.8418 | 0.6667 |
|
| 80 |
+
| 0.5312 | 10.93 | 82 | 0.7836 | 0.8235 |
|
| 81 |
+
| 0.454 | 12.0 | 90 | 0.7356 | 0.8039 |
|
| 82 |
+
| 0.454 | 12.93 | 97 | 0.6117 | 0.8235 |
|
| 83 |
+
| 0.3752 | 14.0 | 105 | 0.6014 | 0.8235 |
|
| 84 |
+
| 0.3269 | 14.93 | 112 | 0.6102 | 0.8039 |
|
| 85 |
+
| 0.2733 | 16.0 | 120 | 0.6404 | 0.8039 |
|
| 86 |
+
| 0.2733 | 16.93 | 127 | 0.5687 | 0.8431 |
|
| 87 |
+
| 0.2711 | 18.0 | 135 | 0.6120 | 0.8235 |
|
| 88 |
+
| 0.2519 | 18.93 | 142 | 0.6250 | 0.8431 |
|
| 89 |
+
| 0.2484 | 20.0 | 150 | 0.6086 | 0.7843 |
|
| 90 |
+
| 0.2484 | 20.93 | 157 | 0.6229 | 0.8235 |
|
| 91 |
+
| 0.2258 | 22.0 | 165 | 0.6390 | 0.7843 |
|
| 92 |
+
| 0.2258 | 22.4 | 168 | 0.6337 | 0.8039 |
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
### Framework versions
|
| 96 |
+
|
| 97 |
+
- Transformers 4.36.2
|
| 98 |
+
- Pytorch 2.1.2+cu118
|
| 99 |
+
- Datasets 2.16.1
|
| 100 |
+
- Tokenizers 0.15.0
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 343230128
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:023aeb51ed41e480ff3bb70001d9b8f12b581965f28b05ba5fab4a11a1f9fdfc
|
| 3 |
size 343230128
|
runs/Jun10_10-01-05_DESKTOP-SKBE9FB/events.out.tfevents.1718035266.DESKTOP-SKBE9FB.11312.0
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:9bc330ab3247e5a23e0ecad6e8f05d6f2c44598b8cd6dd347bc16050fa7d4367
|
| 3 |
+
size 14646
|