Instructions to use Prizzi/vit-wonders-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Prizzi/vit-wonders-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Prizzi/vit-wonders-model") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("Prizzi/vit-wonders-model") model = AutoModelForImageClassification.from_pretrained("Prizzi/vit-wonders-model") - Notebooks
- Google Colab
- Kaggle
vit-wonders-model
This model is a fine-tuned version of google/vit-base-patch16-224-in21k on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.1058
- Accuracy: 0.9912
- Precision: 0.9913
- Recall: 0.9912
- F1: 0.9912
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
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|---|---|
| 0.4376 | 1.0 | 168 | 0.3778 | 0.9877 | 0.9879 | 0.9877 | 0.9877 |
| 0.1761 | 2.0 | 336 | 0.1762 | 0.9912 | 0.9914 | 0.9912 | 0.9913 |
| 0.1046 | 3.0 | 504 | 0.1307 | 0.9895 | 0.9897 | 0.9895 | 0.9895 |
| 0.0845 | 4.0 | 672 | 0.1110 | 0.9895 | 0.9897 | 0.9895 | 0.9895 |
| 0.0774 | 5.0 | 840 | 0.1058 | 0.9912 | 0.9913 | 0.9912 | 0.9912 |
Framework versions
- Transformers 4.55.1
- Pytorch 2.6.0+cu124
- Datasets 4.0.0
- Tokenizers 0.21.4
- Downloads last month
- 2
Model tree for Prizzi/vit-wonders-model
Base model
google/vit-base-patch16-224-in21k