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

  • Log In
  • Sign Up

facebook
/
deit-base-distilled-patch16-384

Image Classification
Transformers
PyTorch
google-tensorflow TensorFlow
Safetensors
deit
vision
Model card Files Files and versions
xet
Community
2

Instructions to use facebook/deit-base-distilled-patch16-384 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use facebook/deit-base-distilled-patch16-384 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="facebook/deit-base-distilled-patch16-384")
    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/deit-base-distilled-patch16-384")
    model = AutoModelForImageClassification.from_pretrained("facebook/deit-base-distilled-patch16-384")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
deit-base-distilled-patch16-384
1.05 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 8 commits
lysandre's picture
lysandre HF Staff
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#2)
d939597 over 2 years ago
  • .gitattributes
    744 Bytes
    Adding `safetensors` variant of this model (#2) over 2 years ago
  • README.md
    6.87 kB
    Add vision tag about 4 years ago
  • config.json
    69.6 kB
    First commit about 5 years ago
  • model.safetensors
    351 MB
    xet
    Adding `safetensors` variant of this model (#2) over 2 years ago
  • preprocessor_config.json
    287 Bytes
    First commit about 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    351 MB
    xet
    First commit about 5 years ago
  • tf_model.h5
    351 MB
    xet
    Add TF weights (#1) almost 4 years ago