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