Instructions to use google/vit-base-patch16-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/vit-base-patch16-224 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="google/vit-base-patch16-224") 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("google/vit-base-patch16-224") model = AutoModelForImageClassification.from_pretrained("google/vit-base-patch16-224") - Inference
- Notebooks
- Google Colab
- Kaggle
- Xet hash:
- a05aa68c898ee18e9b3189f8aabde8206a0f319f708ceed0f252144b5331d53c
- Size of remote file:
- 346 MB
- SHA256:
- e0c809a1fe1d79c51c4da8a9ebd6c0923bac317ca469a33c6620977054149471
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.