Instructions to use google/vit-base-patch16-384 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/vit-base-patch16-384 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="google/vit-base-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-base-patch16-384") model = AutoModelForImageClassification.from_pretrained("google/vit-base-patch16-384", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (76b42f24f46dc804eb602b0294f21c6762974bbe) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>2960116
-
Add vision tag
be89a4a
-
Add TF model
ac80a30
-
add model
94f1e92
-
Remove some tags
4ecc33d
-
Add tags
012beaa
-
Update README
9235846 -
Update model
e5d7ed3
-
Fix typo
f80419b -
First draft of model card
36d9fcd -
Add preprocessor_config
bbecfff -
First commit
0c554bd -
initial commit
1358718