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"], )# pip install -U transformers accelerate # 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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
docs: add playground link
Verified signatured332720
-
docs: update usage model id namespace
Verified signature1832b32 -
docs: add project and paper links
Verified signature99dc0fe -
docs: correct license metadata to CC BY-NC-SA 4.0
Verified signature8f68c12 -
docs: add CC BY-SA 4.0 license metadata
Verified signature962db4f -
Add method figure to model card
ReasonCLIP Bot7294920 -
Update model card
ReasonCLIP Bot86a574e
-
Upload processor
Verified signatureb17eb14 -
Copy weights from fesvhtr/clip-r-336-s2-run0204-505
Verified signature7ae13be -
initial commit
Verified signaturecc9aea2