Instructions to use BAAI/EVA-CLIP-18B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BAAI/EVA-CLIP-18B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="BAAI/EVA-CLIP-18B", trust_remote_code=True)# Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("BAAI/EVA-CLIP-18B", trust_remote_code=True) model = AutoModel.from_pretrained("BAAI/EVA-CLIP-18B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download teaser.png from BAAI/EVA-CLIP-18B: direct link, hf CLI and curl.
- Browser
- Download file 528 kB
-
https://huggingface.co/BAAI/EVA-CLIP-18B/resolve/main/teaser.png
- Command line
-
hf download hf://BAAI/EVA-CLIP-18B/teaser.png
-
curl -L -o teaser.png https://huggingface.co/BAAI/EVA-CLIP-18B/resolve/main/teaser.png
528 kB
