Instructions to use openai/clip-vit-base-patch32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openai/clip-vit-base-patch32 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-patch32") 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-patch32") model = AutoModelForZeroShotImageClassification.from_pretrained("openai/clip-vit-base-patch32") - Notebooks
- Google Colab
- Kaggle
Create handler.py
1
#68 opened 9 months ago
by
PraadsHug
Create handler.py
#67 opened 9 months ago
by
PraadsHug
Adding `safetensors` variant of this model
#66 opened 9 months ago
by
SFconvertbot
Create Jayesh prajapati
#65 opened 9 months ago
by
jayeshprajapati9693
Improve model card: Add Hear-Your-Click context and refined metadata
#63 opened 10 months ago
by
nielsr
Adding `safetensors` variant of this model
#62 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#61 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#60 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#59 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#58 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#57 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#56 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#55 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#54 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#53 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#52 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#51 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#50 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#49 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#48 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#47 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#46 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#45 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#44 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#43 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#42 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#41 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#40 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#39 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#38 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#37 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#36 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#35 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#34 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#33 opened about 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#32 opened about 1 year ago
by
SFconvertbot
Update README.md
#31 opened about 1 year ago
by
dewsy
Fix a small formatting bug
#30 opened over 1 year ago
by
qingy2024
Adding `safetensors` variant of this model
#29 opened over 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#28 opened over 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#27 opened over 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#26 opened over 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#25 opened over 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#24 opened over 1 year ago
by
SFconvertbot
Adding `safetensors` variant of this model
#23 opened over 1 year ago
by
SFconvertbot
Can't reproduce results in even very basic cases?
#22 opened over 1 year ago
by
dgaff
Adding `safetensors` variant of this model
#21 opened over 1 year ago
by
SFconvertbot
Visual feature extractor
1
#20 opened over 1 year ago
by
yfpeng1234
Error in `parameters.candidate_labels`: field required
#19 opened almost 2 years ago
by
EgonO