vit-base-patch16-224-U8-10c
This model is a fine-tuned version of google/vit-base-patch16-224 on the imagefolder dataset. It achieves the following results on the evaluation set:
- Loss: 0.6082
- Accuracy: 0.8824
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 32
- eval_batch_size: 32
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 128
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_ratio: 0.05
- num_epochs: 10
Training results
Training Loss | Epoch | Step | Validation Loss | Accuracy |
---|---|---|---|---|
1.2589 | 1.0 | 20 | 1.1823 | 0.5882 |
0.9852 | 2.0 | 40 | 0.9538 | 0.6471 |
0.7617 | 3.0 | 60 | 0.7493 | 0.7255 |
0.5658 | 4.0 | 80 | 0.6082 | 0.8824 |
0.4212 | 5.0 | 100 | 0.6274 | 0.8235 |
0.3139 | 6.0 | 120 | 0.5643 | 0.7843 |
0.2755 | 7.0 | 140 | 0.4752 | 0.8824 |
0.2262 | 8.0 | 160 | 0.5290 | 0.8039 |
0.2151 | 9.0 | 180 | 0.5825 | 0.7843 |
0.2126 | 10.0 | 200 | 0.5307 | 0.8235 |
Framework versions
- Transformers 4.36.2
- Pytorch 2.1.2+cu118
- Datasets 2.16.1
- Tokenizers 0.15.0
- Downloads last month
- 2
Inference API (serverless) is not available, repository is disabled.
Model tree for Augusto777/vit-base-patch16-224-U8-10c
Base model
google/vit-base-patch16-224
Finetuned
this model
Evaluation results
- Accuracy on imagefoldervalidation set self-reported0.882