Zero-Shot Image Classification
Transformers
PyTorch
English
clip
multimodal
language
vision
image-search
Instructions to use sujitpal/clip-imageclef with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sujitpal/clip-imageclef with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="sujitpal/clip-imageclef") 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("sujitpal/clip-imageclef") model = AutoModelForZeroShotImageClassification.from_pretrained("sujitpal/clip-imageclef") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
a9fcca8 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:30eb1dbe71b94b2a8f97160fbb482d081d5fdb399705dce5d745308685f03d50
size 605271807
|