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

  • Log In
  • Sign Up

apple
/
mobilevit-small

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

Instructions to use apple/mobilevit-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use apple/mobilevit-small with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="apple/mobilevit-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-small")
    model = AutoModelForImageClassification.from_pretrained("apple/mobilevit-small")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
mobilevit-small
79.2 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 8 commits
jongwook's picture
jongwook
Add Core ML conversion
bf6a9e5 over 2 years ago
  • MobileViT.mlpackage
    add Core ML model almost 4 years ago
  • coreml
    Add Core ML conversion over 2 years ago
  • .gitattributes
    1.17 kB
    initial commit almost 4 years ago
  • README.md
    4.81 kB
    add model card almost 4 years ago
  • config.json
    70 kB
    add model almost 4 years ago
  • preprocessor_config.json
    187 Bytes
    add model almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.LongStorage",
    • "torch.FloatStorage"

    What is a pickle import?

    22.5 MB
    xet
    add model almost 4 years ago
  • tf_model.h5
    22.8 MB
    xet
    Add TF weights (#1) over 3 years ago