Instructions to use google/vit-large-patch32-384 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/vit-large-patch32-384 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="google/vit-large-patch32-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-patch32-384") model = AutoModelForImageClassification.from_pretrained("google/vit-large-patch32-384", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Add vision tag
a2b30ad
-
Add TF model
0fe826d
-
add model
d8219bd
-
Remove some tags
aa20e76
-
Add tags
b43a4b8
-
Fix typo
d62a8f4 -
Update README
49163c7 -
Update model
df42416
-
First draft of model card
748c05b -
Add preprocessor config
192d9bf -
First commit
ac1eb39 -
initial commit
75d2122