Instructions to use matteopilotto/vit-base-patch16-224-in21k-snacks with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use matteopilotto/vit-base-patch16-224-in21k-snacks with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="matteopilotto/vit-base-patch16-224-in21k-snacks") 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("matteopilotto/vit-base-patch16-224-in21k-snacks") model = AutoModelForImageClassification.from_pretrained("matteopilotto/vit-base-patch16-224-in21k-snacks") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
74a0a56 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:564b95d5067bf66e4f3d8dcebbbc0b106c4d2f6d9c20eb7e041da50947c0b8d6
size 343322353
|