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

  • Log In
  • Sign Up

facebook
/
levit-128S

Image Classification
Transformers
PyTorch
Safetensors
levit
vision
Model card Files Files and versions
xet
Community
1

Instructions to use facebook/levit-128S with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use facebook/levit-128S with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="facebook/levit-128S")
    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("facebook/levit-128S")
    model = AutoModelForImageClassification.from_pretrained("facebook/levit-128S")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
levit-128S
64.3 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 4 commits
nielsr's picture
nielsr HF Staff
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
46576b0 verified about 2 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model (#1) about 2 years ago
  • README.md
    1.71 kB
    Update README.md almost 4 years ago
  • config.json
    70 kB
    update almost 4 years ago
  • model.safetensors
    32.1 MB
    xet
    Adding `safetensors` variant of this model (#1) about 2 years ago
  • preprocessor_config.json
    268 Bytes
    update almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    32.1 MB
    xet
    update almost 4 years ago