Instructions to use RISys-Lab/ReasonCLIP-L14-336-S2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RISys-Lab/ReasonCLIP-L14-336-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-336-S2") 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-L14-336-S2") model = AutoModelForZeroShotImageClassification.from_pretrained("RISys-Lab/ReasonCLIP-L14-336-S2") - Notebooks
- Google Colab
- Kaggle
File size: 1,092 Bytes
7ae13be 8f68c12 7ae13be 86a574e 7ae13be 7294920 99dc0fe 86a574e 7ae13be 86a574e 7ae13be 1832b32 86a574e 7ae13be 86a574e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | ---
library_name: transformers
license: cc-by-nc-sa-4.0
tags: []
---
## Model Details
- Model: ReasonCLIP-L14-336-S2
- Base model: [openai/clip-vit-large-patch14-336](https://huggingface.co/openai/clip-vit-large-patch14-336)
- Architecture: CLIP ViT-L/14
- Image resolution: 336
- Training stage: Stage 2
- Training data: [ReasonLite-42M](https://huggingface.co/datasets/RISys-Lab/ReasonCLIPLite-42M) and [ReasonPro-16M](https://huggingface.co/datasets/RISys-Lab/ReasonCLIPPro-16M)
## Method

## Resources
- GitHub: [RISys-Lab/ReasonCLIP](https://github.com/RISys-Lab/ReasonCLIP)
- Paper: [arXiv:2606.26794](https://arxiv.org/abs/2606.26794)
## Usage
```python
from transformers import CLIPModel, CLIPProcessor
model_id = "RISys-Lab/ReasonCLIP-L14-336-S2"
model = CLIPModel.from_pretrained(model_id)
processor = CLIPProcessor.from_pretrained(model_id)
```
For the full checkpoint list, see the [ReasonCLIP model card](https://github.com/RISys-Lab/ReasonCLIP/blob/main/doc/model_card.md).
|