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-Des

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

Instructions to use RISys-Lab/ReasonCLIP-L14-336-S0-Des 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-Des 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-Des")
    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-Des")
    model = AutoModelForZeroShotImageClassification.from_pretrained("RISys-Lab/ReasonCLIP-L14-336-S0-Des")
  • Notebooks
  • Google Colab
  • Kaggle
ReasonCLIP-L14-336-S0-Des
860 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 10 commits
fesvhtr's picture
fesvhtr
docs: add playground link
fa9a1d9 verified about 7 hours ago
  • .gitattributes
    1.52 kB
    initial commit 2 months ago
  • README.md
    1.14 kB
    docs: add playground link about 7 hours ago
  • config.json
    1.15 kB
    Copy weights from fesvhtr/clip-r-336-des-run0201-949 2 months ago
  • model.safetensors
    856 MB
    xet
    Copy weights from fesvhtr/clip-r-336-des-run0201-949 2 months ago
  • processor_config.json
    653 Bytes
    Upload processor 2 months ago
  • tokenizer.json
    3.64 MB
    Upload processor 2 months ago
  • tokenizer_config.json
    374 Bytes
    Upload processor 2 months ago