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