Instructions to use RISys-Lab/ReasonCLIP-L14-224-S2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RISys-Lab/ReasonCLIP-L14-224-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-224-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-224-S2") model = AutoModelForZeroShotImageClassification.from_pretrained("RISys-Lab/ReasonCLIP-L14-224-S2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
docs: add playground link
Verified signature4cbc5d7
-
docs: update usage model id namespace
Verified signatureaecb056 -
docs: add project and paper links
Verified signatureda816b5 -
docs: correct license metadata to CC BY-NC-SA 4.0
Verified signatureb4f3215 -
docs: add CC BY-SA 4.0 license metadata
Verified signature195b175 -
Add method figure to model card
ReasonCLIP Bot4c0d8dc
-
Add dataset links to model card
ReasonCLIP Bot4b8313d -
Update model card
ReasonCLIP Bot29c693a
-
Upload processor
Verified signature10e3a24 -
Copy weights from fesvhtr/clip-r-s2-run0204-505
Verified signaturec4fddf8 -
initial commit
Verified signature1bfca4a