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