Model save
Browse files
README.md
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-RU3-40
|
| 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.8
|
| 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-RU3-40
|
| 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: 1.0989
|
| 36 |
+
- Accuracy: 0.8
|
| 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: 40
|
| 65 |
+
|
| 66 |
+
### Training results
|
| 67 |
+
|
| 68 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 69 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 70 |
+
| 1.3821 | 0.99 | 19 | 1.3119 | 0.4833 |
|
| 71 |
+
| 1.2698 | 1.97 | 38 | 1.0852 | 0.6167 |
|
| 72 |
+
| 0.9819 | 2.96 | 57 | 0.8757 | 0.7 |
|
| 73 |
+
| 0.6671 | 4.0 | 77 | 0.7689 | 0.7333 |
|
| 74 |
+
| 0.4248 | 4.99 | 96 | 0.7294 | 0.7167 |
|
| 75 |
+
| 0.3005 | 5.97 | 115 | 0.6518 | 0.7833 |
|
| 76 |
+
| 0.2035 | 6.96 | 134 | 0.5667 | 0.8333 |
|
| 77 |
+
| 0.2195 | 8.0 | 154 | 0.6646 | 0.8333 |
|
| 78 |
+
| 0.1654 | 8.99 | 173 | 0.6294 | 0.8167 |
|
| 79 |
+
| 0.1581 | 9.97 | 192 | 0.7211 | 0.7833 |
|
| 80 |
+
| 0.1338 | 10.96 | 211 | 0.8129 | 0.7833 |
|
| 81 |
+
| 0.1188 | 12.0 | 231 | 0.7925 | 0.8167 |
|
| 82 |
+
| 0.1179 | 12.99 | 250 | 0.9588 | 0.7667 |
|
| 83 |
+
| 0.1017 | 13.97 | 269 | 1.0875 | 0.7167 |
|
| 84 |
+
| 0.0845 | 14.96 | 288 | 0.9355 | 0.7 |
|
| 85 |
+
| 0.1109 | 16.0 | 308 | 0.9387 | 0.8167 |
|
| 86 |
+
| 0.0711 | 16.99 | 327 | 1.1214 | 0.7333 |
|
| 87 |
+
| 0.0884 | 17.97 | 346 | 0.9688 | 0.7667 |
|
| 88 |
+
| 0.0668 | 18.96 | 365 | 1.0306 | 0.8 |
|
| 89 |
+
| 0.0716 | 20.0 | 385 | 1.2653 | 0.7167 |
|
| 90 |
+
| 0.0643 | 20.99 | 404 | 0.9894 | 0.7833 |
|
| 91 |
+
| 0.0517 | 21.97 | 423 | 1.0439 | 0.7667 |
|
| 92 |
+
| 0.0597 | 22.96 | 442 | 1.1470 | 0.7667 |
|
| 93 |
+
| 0.0533 | 24.0 | 462 | 1.0848 | 0.7833 |
|
| 94 |
+
| 0.0529 | 24.99 | 481 | 1.1481 | 0.75 |
|
| 95 |
+
| 0.0524 | 25.97 | 500 | 1.1322 | 0.7333 |
|
| 96 |
+
| 0.0525 | 26.96 | 519 | 1.1868 | 0.7333 |
|
| 97 |
+
| 0.0517 | 28.0 | 539 | 1.1561 | 0.7167 |
|
| 98 |
+
| 0.0309 | 28.99 | 558 | 1.0562 | 0.7833 |
|
| 99 |
+
| 0.0403 | 29.97 | 577 | 1.2901 | 0.7333 |
|
| 100 |
+
| 0.0392 | 30.96 | 596 | 1.1295 | 0.7667 |
|
| 101 |
+
| 0.0404 | 32.0 | 616 | 1.1198 | 0.7667 |
|
| 102 |
+
| 0.0381 | 32.99 | 635 | 1.2986 | 0.7167 |
|
| 103 |
+
| 0.0262 | 33.97 | 654 | 1.1655 | 0.75 |
|
| 104 |
+
| 0.0354 | 34.96 | 673 | 1.1223 | 0.7833 |
|
| 105 |
+
| 0.0224 | 36.0 | 693 | 1.1679 | 0.7833 |
|
| 106 |
+
| 0.0244 | 36.99 | 712 | 1.0999 | 0.8167 |
|
| 107 |
+
| 0.0368 | 37.97 | 731 | 1.1213 | 0.7833 |
|
| 108 |
+
| 0.0199 | 38.96 | 750 | 1.1003 | 0.8 |
|
| 109 |
+
| 0.028 | 39.48 | 760 | 1.0989 | 0.8 |
|
| 110 |
+
|
| 111 |
+
|
| 112 |
+
### Framework versions
|
| 113 |
+
|
| 114 |
+
- Transformers 4.36.2
|
| 115 |
+
- Pytorch 2.1.2+cu118
|
| 116 |
+
- Datasets 2.16.1
|
| 117 |
+
- 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:6092a9063ed1c76f72a370ba72cd8492b50dd033c531618af7dd62b7878c41ae
|
| 3 |
size 343230128
|
runs/May23_18-36-22_DESKTOP-SKBE9FB/events.out.tfevents.1716510986.DESKTOP-SKBE9FB.14084.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:8aa902ed302c4045c3fdd089cbe54c3f3f4d5394226008e633b5969e3895b977
|
| 3 |
+
size 29623
|