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

  • Log In
  • Sign Up

facebook
/
data2vec-vision-large

Image Classification
Transformers
PyTorch
google-tensorflow TensorFlow
Safetensors
data2vec-vision
image-feature-extraction
vision
Model card Files Files and versions
xet
Community
2

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

  • Libraries
  • Transformers

    How to use facebook/data2vec-vision-large with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="facebook/data2vec-vision-large")
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # Load model directly
    from transformers import AutoImageProcessor, AutoModel
    
    processor = AutoImageProcessor.from_pretrained("facebook/data2vec-vision-large")
    model = AutoModel.from_pretrained("facebook/data2vec-vision-large")
  • Notebooks
  • Google Colab
  • Kaggle
data2vec-vision-large
3.64 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 6 commits
patrickvonplaten's picture
patrickvonplaten
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#2)
983e528 about 3 years ago
  • .gitattributes
    1.27 kB
    Adding `safetensors` variant of this model (#2) about 3 years ago
  • README.md
    3.89 kB
    Update README.md about 4 years ago
  • config.json
    1.04 kB
    up about 4 years ago
  • model.safetensors
    1.21 GB
    xet
    Adding `safetensors` variant of this model (#2) about 3 years ago
  • preprocessor_config.json
    302 Bytes
    up about 4 years ago
  • pytorch_model.bin
    1.21 GB
    xet
    up about 4 years ago
  • tf_model.h5
    1.21 GB
    xet
    Add TensorFlow weights about 4 years ago