Model save
Browse files
README.md
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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-RU9-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.8235294117647058
|
| 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-RU9-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.5375
|
| 36 |
+
- Accuracy: 0.8235
|
| 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 | 1.0 | 8 | 1.3401 | 0.5098 |
|
| 71 |
+
| 1.3685 | 2.0 | 16 | 1.2193 | 0.5686 |
|
| 72 |
+
| 1.2413 | 3.0 | 24 | 1.1150 | 0.5882 |
|
| 73 |
+
| 1.1126 | 4.0 | 32 | 0.9957 | 0.7059 |
|
| 74 |
+
| 0.9285 | 5.0 | 40 | 0.8976 | 0.6863 |
|
| 75 |
+
| 0.9285 | 6.0 | 48 | 0.8580 | 0.6863 |
|
| 76 |
+
| 0.7793 | 7.0 | 56 | 0.8426 | 0.7647 |
|
| 77 |
+
| 0.6291 | 8.0 | 64 | 0.7899 | 0.6863 |
|
| 78 |
+
| 0.5401 | 9.0 | 72 | 0.7169 | 0.7255 |
|
| 79 |
+
| 0.4358 | 10.0 | 80 | 0.7505 | 0.7255 |
|
| 80 |
+
| 0.4358 | 11.0 | 88 | 0.8077 | 0.7059 |
|
| 81 |
+
| 0.3901 | 12.0 | 96 | 0.6803 | 0.7647 |
|
| 82 |
+
| 0.3033 | 13.0 | 104 | 0.6483 | 0.7647 |
|
| 83 |
+
| 0.267 | 14.0 | 112 | 0.6451 | 0.7451 |
|
| 84 |
+
| 0.2212 | 15.0 | 120 | 0.6119 | 0.7647 |
|
| 85 |
+
| 0.2212 | 16.0 | 128 | 0.6150 | 0.8039 |
|
| 86 |
+
| 0.2206 | 17.0 | 136 | 0.6270 | 0.7843 |
|
| 87 |
+
| 0.2285 | 18.0 | 144 | 0.6181 | 0.7647 |
|
| 88 |
+
| 0.1741 | 19.0 | 152 | 0.5081 | 0.8431 |
|
| 89 |
+
| 0.1708 | 20.0 | 160 | 0.5502 | 0.8235 |
|
| 90 |
+
| 0.1708 | 21.0 | 168 | 0.5689 | 0.8039 |
|
| 91 |
+
| 0.16 | 22.0 | 176 | 0.5137 | 0.8235 |
|
| 92 |
+
| 0.1567 | 23.0 | 184 | 0.5207 | 0.8431 |
|
| 93 |
+
| 0.1616 | 24.0 | 192 | 0.5375 | 0.8235 |
|
| 94 |
+
|
| 95 |
+
|
| 96 |
+
### Framework versions
|
| 97 |
+
|
| 98 |
+
- Transformers 4.36.2
|
| 99 |
+
- Pytorch 2.1.2+cu118
|
| 100 |
+
- Datasets 2.16.1
|
| 101 |
+
- 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:787edf94f9f92ad0e428fcc2313ea5ff4056e64ad8fcaa7ff20cfbf5c9a11264
|
| 3 |
size 343230128
|
runs/Jun10_10-41-00_DESKTOP-SKBE9FB/events.out.tfevents.1718037662.DESKTOP-SKBE9FB.14904.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:473cdfb89fe82d913e8163d7a6f40c42442d9ae01078ebc0ea69dc21ddc39c9c
|
| 3 |
+
size 15452
|