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
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

πŸ“‹ Documentation Enhancement Suggestion

#8 opened 3 months ago by
CroviaTrust

πŸ“‹ Documentation Enhancement Suggestion

#7 opened 3 months ago by
CroviaTrust

πŸ“‹ Documentation Enhancement Suggestion

#6 opened 3 months ago by
CroviaTrust

πŸ“‹ Documentation Enhancement Suggestion

#5 opened 3 months ago by
CroviaTrust

πŸ“‹ Documentation Enhancement Suggestion

#4 opened 3 months ago by
CroviaTrust

Discrepancy in image_size in the config.json and the original repo (https://github.com/facebookresearch/dinov2)

4
#3 opened over 2 years ago by
hitchhiker3010
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs