Instructions to use openai/clip-vit-large-patch14-336 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openai/clip-vit-large-patch14-336 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="openai/clip-vit-large-patch14-336") 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("openai/clip-vit-large-patch14-336") model = AutoModelForZeroShotImageClassification.from_pretrained("openai/clip-vit-large-patch14-336") - Notebooks
- Google Colab
- Kaggle
EMBEDDING DIMENSION
#21 opened 4 months ago
by
rohitdas
Adding `safetensors` variant of this model
#20 opened 9 months ago
by
SFconvertbot
Adding `safetensors` variant of this model
#19 opened about 1 year ago
by
SFconvertbot
Error with transformers >=4.50 and use_fast=True
🤝 6
3
#18 opened about 1 year ago
by
tfederico
Adding `safetensors` variant of this model
#17 opened about 1 year ago
by
SFconvertbot
Adding ONNX file of this model
#16 opened about 1 year ago
by
motirodan
Adding `safetensors` variant of this model
#15 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#14 opened over 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#13 opened over 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#12 opened over 1 year ago
by
SFconvertbot
Update `preprocessor_config.json` to use `image_processor_type` instead of `feature_extractor_type`.
#11 opened almost 2 years ago
by
TerryPan0525
What is the license?
2
#10 opened about 2 years ago
by
phuchm
HuggingFace CLIP image preprocessing differs slightly from what's in CLIP repository
#9 opened over 2 years ago
by
thadd3us
Adding `safetensors` variant of this model
❤️ 1
6
#8 opened over 2 years ago
by
SFconvertbot
model evaluate
#6 opened over 3 years ago
by
sultanardnsyh
model documentation
1
#5 opened over 3 years ago
by
nazneen