Instructions to use google/vit-large-patch16-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/vit-large-patch16-224 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="google/vit-large-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-large-patch16-224") model = AutoModelForImageClassification.from_pretrained("google/vit-large-patch16-224", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
1e19bb3 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:99194d8683531fb43b6bc40954673e52ca6233cf4a12d08d63436d1f6897ce78
size 1217853528
|