Instructions to use RISys-Lab/ReasonCLIP-L14-336-S1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RISys-Lab/ReasonCLIP-L14-336-S1 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-S1") 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-S1") model = AutoModelForZeroShotImageClassification.from_pretrained("RISys-Lab/ReasonCLIP-L14-336-S1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
docs: add playground link
Verified signaturecc1bcd5
-
docs: update usage model id namespace
Verified signature517a4de -
docs: add project and paper links
Verified signature25a48b2 -
docs: correct license metadata to CC BY-NC-SA 4.0
Verified signature9e2e298 -
docs: add CC BY-SA 4.0 license metadata
Verified signature9926cec -
Add method figure to model card
ReasonCLIP Bot1cc5b86 -
Update model card
ReasonCLIP Bot5b986db
-
Update model card
ReasonCLIP Bot2dba015
-
Upload processor
Verified signature558fa45 -
Copy weights from fesvhtr/clip-r-336-s1-run1215-1280
Verified signature69c80bc -
initial commit
Verified signatured9958ad