Instructions to use openai/clip-vit-base-patch16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openai/clip-vit-base-patch16 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="openai/clip-vit-base-patch16") 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-base-patch16") model = AutoModelForZeroShotImageClassification.from_pretrained("openai/clip-vit-base-patch16") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#17 opened 9 months ago
by
SFconvertbot
Adding `safetensors` variant of this model
#16 opened 9 months ago
by
SFconvertbot
Where can I find license information?
1
#15 opened 11 months ago
by
xixi126
Request: DOI
#14 opened 12 months ago
by
MikyLanfra
Adding `safetensors` variant of this model
#13 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#12 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#11 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#10 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#9 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#8 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#7 opened over 1 year ago
by
SFconvertbot
Update .gitattributes
#6 opened over 1 year ago
by
DrChamyoung
[AUTOMATED] Model Memory Requirements
#5 opened about 2 years ago
by
model-sizer-bot
Adding `safetensors` variant of this model
#4 opened about 3 years ago
by
SFconvertbot
Difference between this and patch-32
👍 3
2
#2 opened almost 4 years ago
by
sachin
Updating read me
2
#1 opened almost 4 years ago
by
Ilyao