Instructions to use jonglet/mobile_vit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jonglet/mobile_vit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="jonglet/mobile_vit") 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("jonglet/mobile_vit") model = AutoModelForImageClassification.from_pretrained("jonglet/mobile_vit") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
09fd6f9 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:3937aaaf709b9a3511ea6a458b67990974851ef7075e14128489747ed8056db7
size 3579
|