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

RISys-Lab
/
ReasonCLIP-L14-336-S0-Rea

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

Instructions to use RISys-Lab/ReasonCLIP-L14-336-S0-Rea with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use RISys-Lab/ReasonCLIP-L14-336-S0-Rea with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-image-classification", model="RISys-Lab/ReasonCLIP-L14-336-S0-Rea")
    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("RISys-Lab/ReasonCLIP-L14-336-S0-Rea")
    model = AutoModelForZeroShotImageClassification.from_pretrained("RISys-Lab/ReasonCLIP-L14-336-S0-Rea")
  • Notebooks
  • Google Colab
  • Kaggle
ReasonCLIP-L14-336-S0-Rea
856 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
fesvhtr's picture
fesvhtr
Copy weights from fesvhtr/clip-r-336-rea-run1219-608
3c3642e verified 2 months ago
  • .gitattributes
    1.52 kB
    initial commit 2 months ago
  • config.json
    1.15 kB
    Copy weights from fesvhtr/clip-r-336-rea-run1219-608 2 months ago
  • model.safetensors
    856 MB
    xet
    Copy weights from fesvhtr/clip-r-336-rea-run1219-608 2 months ago