Instructions to use Matthijs/mobilevit-xx-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Matthijs/mobilevit-xx-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Matthijs/mobilevit-xx-small") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("Matthijs/mobilevit-xx-small") model = AutoModelForImageClassification.from_pretrained("Matthijs/mobilevit-xx-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
850dc69 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:beaf4ea7abf0b92d265190d67f4d2411ee495936622bc184a03fed0bea6196b4
size 5218123
|