Instructions to use google/vit-base-patch16-224-in21k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/vit-base-patch16-224-in21k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="google/vit-base-patch16-224-in21k")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("google/vit-base-patch16-224-in21k") model = AutoModel.from_pretrained("google/vit-base-patch16-224-in21k", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#6)
Verified signature- Adding `safetensors` variant of this model (8146525ca503690e7719cca453d932123c9c1eaa) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>b456956
-
Update README.md
7cbdb7e
-
Add vision tag
1ba429d
-
Disable widget
f599e79
-
Add TF model
b953a4a
-
Fix typo
6b6c585 -
Add FLAX code example
8140d7d
-
add model
5abdadb
-
Remove image classification tag
58d17f1
-
Remove timm tag
5588670
-
Add tags
9cfbef7
-
Fix typo
1148e37 -
Update model
29acf29 -
Update README
611aef9 -
Update README
d430295
-
First draft of model card
61d034f -
Add preprocessor config
ef5ff94 -
First commit
24ff877 -
initial commit
b9240b0