Instructions to use google/vit-large-patch16-384 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/vit-large-patch16-384 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="google/vit-large-patch16-384") 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-384") model = AutoModelForImageClassification.from_pretrained("google/vit-large-patch16-384", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Add vision tag
4b143e7
-
Add TF model
f23b79a
-
add model
aaffef1
-
Remove some tags
d2265e8
-
Add tags
1cc31c2
-
Update README
7666470 -
Update model
f3ff94f
-
First draft of model card
a3fd9ca -
Add preprocessor config
7ecb2c2 -
First commit
afbe49c -
initial commit
9d69ebb