Instructions to use apple/mobilevit-x-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use apple/mobilevit-x-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="apple/mobilevit-x-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-x-small") model = AutoModelForImageClassification.from_pretrained("apple/mobilevit-x-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
7cafa29
-
Add TF weights (#1)
- Add TF weights (81d1c0e89b227ea79be94463134951477176483a) Co-authored-by: Sayak Paul <sayakpaul@users.noreply.huggingface.co>e43eb04
-
add model
1f46347
-
add Core ML model
5579451 -
add model card
a30ce04 -
add model
f6ee0bf -
add model
a67f39f -
initial commit
e314b5a