Instructions to use nonsodev/datrix-image-classification-job_5472a213 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nonsodev/datrix-image-classification-job_5472a213 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="nonsodev/datrix-image-classification-job_5472a213", device_map="auto") 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("nonsodev/datrix-image-classification-job_5472a213") model = AutoModelForImageClassification.from_pretrained("nonsodev/datrix-image-classification-job_5472a213", device_map="auto") - Notebooks
- Google Colab
- Kaggle
datrix-image-classification-job_5472a213
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: 2.7470
- Accuracy: 0.2566
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: 2e-05
- train_batch_size: 32
- eval_batch_size: 64
- seed: 42
- 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
- lr_scheduler_warmup_steps: 0.1
- num_epochs: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 3.5699 | 1.0 | 239 | 3.5545 | 0.0642 |
| 3.3479 | 2.0 | 478 | 3.3057 | 0.1170 |
| 3.2327 | 3.0 | 717 | 3.1975 | 0.1208 |
| 3.1248 | 4.0 | 956 | 3.0876 | 0.1434 |
| 3.0689 | 5.0 | 1195 | 2.9798 | 0.1736 |
| 2.9669 | 6.0 | 1434 | 2.9051 | 0.2038 |
| 2.9706 | 7.0 | 1673 | 2.8224 | 0.2151 |
| 2.9171 | 8.0 | 1912 | 2.7895 | 0.2528 |
| 2.8688 | 9.0 | 2151 | 2.7562 | 0.2528 |
| 2.8695 | 10.0 | 2390 | 2.7470 | 0.2566 |
Framework versions
- Transformers 5.9.0
- Pytorch 2.12.0+cu130
- Datasets 5.0.0
- Tokenizers 0.22.2
- Downloads last month
- 4
Model tree for nonsodev/datrix-image-classification-job_5472a213
Base model
google/vit-base-patch16-224-in21kEvaluation results
- Accuracy on imagefoldervalidation set self-reported0.257