Instructions to use tigeryi/imagenet-tiger with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tigeryi/imagenet-tiger with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="tigeryi/imagenet-tiger") 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("tigeryi/imagenet-tiger") model = AutoModelForImageClassification.from_pretrained("tigeryi/imagenet-tiger") - Notebooks
- Google Colab
- Kaggle
imagenet-tiger
This model is a fine-tuned version of tigeryi/imagenet1k on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.6595
- Accuracy: 0.8254
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: 0.0001
- train_batch_size: 32
- eval_batch_size: 32
- seed: 42
- optimizer: Adam with betas=(0.9,0.95) and epsilon=1e-08
- lr_scheduler_type: cosine
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 1.0771 | 1.0 | 1250 | 0.7663 | 0.7971 |
| 0.8206 | 2.0 | 2500 | 0.6772 | 0.8207 |
| 0.7212 | 3.0 | 3750 | 0.6595 | 0.8254 |
Framework versions
- Transformers 4.40.1
- Pytorch 2.2.1+cu121
- Datasets 2.19.0
- Tokenizers 0.19.1
- Downloads last month
- 2
Model tree for tigeryi/imagenet-tiger
Unable to build the model tree, the base model loops to the model itself. Learn more.