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