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