Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

apple
/
mobilevit-x-small

Image Classification
Transformers
PyTorch
google-tensorflow TensorFlow
Core ML
mobilevit
vision
Model card Files Files and versions
xet
Community
4

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")
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForImageClassification
    
    processor = AutoImageProcessor.from_pretrained("apple/mobilevit-x-small")
    model = AutoModelForImageClassification.from_pretrained("apple/mobilevit-x-small")
  • Notebooks
  • Google Colab
  • Kaggle
mobilevit-x-small / MobileViT.mlpackage
9.45 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 1 commit
Matthijs's picture
Matthijs
add Core ML model
5579451 almost 4 years ago
  • Data
    add Core ML model almost 4 years ago
  • Manifest.json
    617 Bytes
    add Core ML model almost 4 years ago