vit-pulp-fiction-characters-photos
This model is a fine-tuned version of google/vit-base-patch16-224-in21k on the imagefolder dataset. It achieves the following results on the evaluation set:
- Loss: 0.9006
- Accuracy: 0.8971
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: 16
- eval_batch_size: 16
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 64
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| No log | 1.0 | 5 | 1.6924 | 0.6471 |
| 1.6871 | 2.0 | 10 | 1.4893 | 0.7206 |
| 1.6871 | 3.0 | 15 | 1.3351 | 0.7794 |
| 1.2250 | 4.0 | 20 | 1.2159 | 0.7794 |
| 1.2250 | 5.0 | 25 | 1.1170 | 0.8088 |
| 0.9465 | 6.0 | 30 | 1.0352 | 0.8382 |
| 0.9465 | 7.0 | 35 | 0.9752 | 0.8529 |
| 0.8151 | 8.0 | 40 | 0.9349 | 0.8824 |
| 0.8151 | 9.0 | 45 | 0.9100 | 0.8824 |
| 0.7116 | 10.0 | 50 | 0.9006 | 0.8971 |
Framework versions
- Transformers 5.16.1
- Pytorch 2.14.0
- Datasets 5.0.1
- Tokenizers 0.23.2