Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • 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
Ctrl+K
Ctrl+K
  • 3 contributors
History: 8 commits
aisaza's picture
aisaza
Add LICENSE
6c86125 verified about 1 year ago
  • MobileViT.mlpackage
    add Core ML model almost 4 years ago
  • .gitattributes
    1.17 kB
    initial commit almost 4 years ago
  • LICENSE
    5.82 kB
    Add LICENSE about 1 year 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