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