Instructions to use devboop/vit-base-patch16-224-cl-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use devboop/vit-base-patch16-224-cl-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="devboop/vit-base-patch16-224-cl-v1") 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("devboop/vit-base-patch16-224-cl-v1") model = AutoModelForImageClassification.from_pretrained("devboop/vit-base-patch16-224-cl-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from devboop/vit-base-patch16-224-cl-v1: direct link, hf CLI and curl.
- Browser
- Download file 345 MB
-
https://huggingface.co/devboop/vit-base-patch16-224-cl-v1/resolve/refs%2Fpr%2F1/pytorch_model.bin
- Command line
-
hf download hf://devboop/vit-base-patch16-224-cl-v1@refs/pr/1/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/devboop/vit-base-patch16-224-cl-v1/resolve/refs%2Fpr%2F1/pytorch_model.bin
345 MB
- Xet hash:
- 1a43bb43335dc9fcecc962ff047ca497e87e83732127e455aed7435b6036e3d1
- Size of remote file:
- 345 MB
- SHA256:
- 6846bf42276f10e73d841c8066930d6f3247a3f528833b05246d25a1de0b63b0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.