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

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

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

  • Libraries
  • Transformers

    How to use RISys-Lab/ReasonCLIP-L14-336-S2 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-S2")
    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-S2")
    model = AutoModelForZeroShotImageClassification.from_pretrained("RISys-Lab/ReasonCLIP-L14-336-S2")
  • Notebooks
  • Google Colab
  • Kaggle
ReasonCLIP-L14-336-S2
861 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 9 commits
fesvhtr's picture
fesvhtr
docs: update usage model id namespace
1832b32 verified 1 day ago
  • .gitattributes
    1.52 kB
    initial commit 2 months ago
  • README.md
    1.09 kB
    docs: update usage model id namespace 1 day ago
  • config.json
    1.15 kB
    Copy weights from fesvhtr/clip-r-336-s2-run0204-505 2 months ago
  • merges.txt
    525 kB
    Copy weights from fesvhtr/clip-r-336-s2-run0204-505 2 months ago
  • model.safetensors
    856 MB
    xet
    Copy weights from fesvhtr/clip-r-336-s2-run0204-505 2 months ago
  • preprocessor_config.json
    504 Bytes
    Copy weights from fesvhtr/clip-r-336-s2-run0204-505 2 months ago
  • processor_config.json
    653 Bytes
    Upload processor 2 months ago
  • special_tokens_map.json
    588 Bytes
    Copy weights from fesvhtr/clip-r-336-s2-run0204-505 2 months ago
  • tokenizer.json
    3.64 MB
    Copy weights from fesvhtr/clip-r-336-s2-run0204-505 2 months ago
  • tokenizer_config.json
    374 Bytes
    Upload processor 2 months ago
  • vocab.json
    862 kB
    Copy weights from fesvhtr/clip-r-336-s2-run0204-505 2 months ago