Instructions to use RISys-Lab/ReasonCLIP-B32-S0-Des with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RISys-Lab/ReasonCLIP-B32-S0-Des with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="RISys-Lab/ReasonCLIP-B32-S0-Des") 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-B32-S0-Des") model = AutoModelForZeroShotImageClassification.from_pretrained("RISys-Lab/ReasonCLIP-B32-S0-Des", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
docs: add playground link
Verified signatured852309
-
docs: update usage model id namespace
Verified signatureb5bd1fc -
docs: add project and paper links
Verified signaturea98b642 -
docs: correct license metadata to CC BY-NC-SA 4.0
Verified signaturee74468b -
docs: add CC BY-SA 4.0 license metadata
Verified signaturec11aee9 -
Add method figure to model card
ReasonCLIP Bote9dffb5 -
Update model card
ReasonCLIP Bot1110014
-
Upload processor
Verified signature12e40cc -
Copy weights from fesvhtr/clip-r-b32-des-run0201-949
Verified signature430c40c -
initial commit
Verified signature6e0323c