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

Adf
/
test-model-v3

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

Instructions to use Adf/test-model-v3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Adf/test-model-v3 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="Adf/test-model-v3")
    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("Adf/test-model-v3")
    model = AutoModelForZeroShotImageClassification.from_pretrained("Adf/test-model-v3")
  • Notebooks
  • Google Colab
  • Kaggle
test-model-v3
7.32 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
Adf's picture
Adf
Upload model
cafb605 verified 1 day ago
  • .gitattributes
    1.57 kB
    Upload processor 1 day ago
  • README.md
    5.17 kB
    Upload model 1 day ago
  • config.json
    1.2 kB
    Upload model 1 day ago
  • model.safetensors
    7.26 GB
    xet
    Upload model 1 day ago
  • processor_config.json
    594 Bytes
    Upload processor 1 day ago
  • tokenizer.json
    61.3 MB
    xet
    Upload processor 1 day ago
  • tokenizer_config.json
    640 Bytes
    Upload processor 1 day ago