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

fesvhtr
/
RC-B32-S1

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

Instructions to use fesvhtr/RC-B32-S1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use fesvhtr/RC-B32-S1 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="fesvhtr/RC-B32-S1")
    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("fesvhtr/RC-B32-S1")
    model = AutoModelForZeroShotImageClassification.from_pretrained("fesvhtr/RC-B32-S1")
  • Notebooks
  • Google Colab
  • Kaggle
RC-B32-S1
306 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
fesvhtr's picture
fesvhtr
Upload processor
573fb4a verified 25 days ago
  • .gitattributes
    1.52 kB
    initial commit 25 days ago
  • README.md
    5.17 kB
    Upload processor 25 days ago
  • config.json
    1.2 kB
    Copy weights from fesvhtr/clip-r-b32-s1-run0109-853 25 days ago
  • model.safetensors
    303 MB
    xet
    Copy weights from fesvhtr/clip-r-b32-s1-run0109-853 25 days ago
  • processor_config.json
    653 Bytes
    Upload processor 25 days ago
  • tokenizer.json
    3.64 MB
    Upload processor 25 days ago
  • tokenizer_config.json
    374 Bytes
    Upload processor 25 days ago