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")# pip install -U transformers accelerate # 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
Commit History
-
Update dataset tag
9e2727f
-
Add vision tag
975e284
-
Add TF model
1e19bb3
-
add model
96e6082
-
Remove some tags
d4daca8
-
Add tags
cd0def0
-
Update README
9cb0d82 -
Update model
b308d7e
-
Fix typo
08f1cf2 -
First draft of model card
a485839 -
Add preprocessor config
7b9a687 -
First commit
a5e028b -
initial commit
91f09b9