Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

vesteinn
/
clip-nabirds

Zero-Shot Image Classification
Transformers
PyTorch
Safetensors
clip
Model card Files Files and versions
xet
Community
1

Instructions to use vesteinn/clip-nabirds with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use vesteinn/clip-nabirds with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="vesteinn/clip-nabirds")
    pipe(
        "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png",
        candidate_labels=["animals", "humans", "landscape"],
    )
    # Load model directly
    from transformers import AutoProcessor, AutoModelForZeroShotImageClassification
    
    processor = AutoProcessor.from_pretrained("vesteinn/clip-nabirds")
    model = AutoModelForZeroShotImageClassification.from_pretrained("vesteinn/clip-nabirds")
  • Notebooks
  • Google Colab
  • Kaggle
clip-nabirds
1.21 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
vesteinn's picture
vesteinn
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
81af948 about 3 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • config.json
    4.1 kB
    Model updated over 4 years ago
  • model.safetensors
    605 MB
    xet
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • pytorch_model.bin
    605 MB
    xet
    Model updated over 4 years ago