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

merve
/
VeCLIP-b16-3m

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

Instructions to use merve/VeCLIP-b16-3m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use merve/VeCLIP-b16-3m with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="merve/VeCLIP-b16-3m")
    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("merve/VeCLIP-b16-3m")
    model = AutoModelForZeroShotImageClassification.from_pretrained("merve/VeCLIP-b16-3m")
  • Notebooks
  • Google Colab
  • Kaggle
VeCLIP-b16-3m
563 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
merve's picture
merve HF Staff
Upload 2 files
55acb08 verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    123 Bytes
    initial commit about 2 years ago
  • config.json
    440 Bytes
    Upload 2 files about 2 years ago
  • model.safetensors
    563 MB
    xet
    Upload 2 files about 2 years ago