Instructions to use google/vit-base-patch32-224-in21k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/vit-base-patch32-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-patch32-224-in21k")# Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("google/vit-base-patch32-224-in21k") model = AutoModel.from_pretrained("google/vit-base-patch32-224-in21k") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
6c303a5 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:8f1140419baba006259b9920900ce56f6144db8621bce803b0adafcbeec5bf59
size 352190662
|