Instructions to use RISys-Lab/ReasonCLIP-L14-336-S0-Rea 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-Rea 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-Rea") 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-S0-Rea") model = AutoModelForZeroShotImageClassification.from_pretrained("RISys-Lab/ReasonCLIP-L14-336-S0-Rea", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
docs: add playground link
Verified signaturebea2aa0
-
docs: update usage model id namespace
Verified signaturea09d790 -
docs: add project and paper links
Verified signaturee42a687 -
docs: correct license metadata to CC BY-NC-SA 4.0
Verified signature226de3a -
docs: add CC BY-SA 4.0 license metadata
Verified signature3a9b909 -
Add method figure to model card
ReasonCLIP Bot2e32e6a -
Update model card
ReasonCLIP Bot614a60f
-
Upload processor
Verified signatureb58df6f -
Copy weights from fesvhtr/clip-r-336-rea-run1219-608
Verified signature3c3642e -
initial commit
Verified signature33a65e9