Instructions to use RISys-Lab/ReasonCLIP-B32-S0-Rea with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RISys-Lab/ReasonCLIP-B32-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-B32-S0-Rea") pipe( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png", candidate_labels=["animals", "humans", "landscape"], )# Load model directly from transformers import AutoProcessor, AutoModelForZeroShotImageClassification processor = AutoProcessor.from_pretrained("RISys-Lab/ReasonCLIP-B32-S0-Rea") model = AutoModelForZeroShotImageClassification.from_pretrained("RISys-Lab/ReasonCLIP-B32-S0-Rea") - Notebooks
- Google Colab
- Kaggle
Commit History
docs: update usage model id namespace 8ef33b4 verified
docs: add project and paper links d6913e4 verified
docs: correct license metadata to CC BY-NC-SA 4.0 d59e998 verified
docs: add CC BY-SA 4.0 license metadata d1c9f7e verified
Add method figure to model card 60110e8
ReasonCLIP Bot commited on
Update model card 9cbc4b5
ReasonCLIP Bot commited on