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) - Notebooks
- Google Colab
- Kaggle
多gpu如何加载?
#4 opened over 1 year ago
by
dingguofeng
Adding `safetensors` variant of this model
#3 opened over 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#2 opened over 1 year ago
by
SFconvertbot
RuntimeError: Input type (torch.cuda.HalfTensor) and weight type (torch.HalfTensor) should be the same
#1 opened about 2 years ago
by
h420405961