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

LICENSE TO USE LARGE MODEL FOR FEATURE EXTRACTION BY COMMERCIALIZED APPLICATIONS

#1 opened over 3 years ago by
ahmedghani
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs