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

  • Log In
  • Sign Up

facebook
/
dinov2-small

Image Feature Extraction
Transformers
PyTorch
Safetensors
dinov2
dino
vision
Model card Files Files and versions
xet
Community
8

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

  • Libraries
  • Transformers

    How to use facebook/dinov2-small with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-feature-extraction", model="facebook/dinov2-small")
    # Load model directly
    from transformers import AutoImageProcessor, AutoModel
    
    processor = AutoImageProcessor.from_pretrained("facebook/dinov2-small")
    model = AutoModel.from_pretrained("facebook/dinov2-small")
  • Notebooks
  • Google Colab
  • Kaggle
dinov2-small
177 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 7 commits
nielsr's picture
nielsr HF Staff
Update README.md
ed25f3a over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    3.03 kB
    Update README.md over 2 years ago
  • config.json
    547 Bytes
    Upload model almost 3 years ago
  • model.safetensors
    88.2 MB
    xet
    Upload safetensors version (#2) over 2 years ago
  • preprocessor_config.json
    436 Bytes
    Upload processor almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    88.3 MB
    xet
    Upload model almost 3 years ago