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
Update README.md
Browse files
README.md
CHANGED
|
@@ -29,7 +29,7 @@ The base model is the OpenAI CLIP model. It uses a ViT-B/32 Transformer architec
|
|
| 29 |
|
| 30 |
### Fine-tuning
|
| 31 |
|
| 32 |
-
The fine-tuning can be reproduced using code from the Github repository [elsevierlabs-os/clip-image-search](
|
| 33 |
|
| 34 |
### Usage
|
| 35 |
|
|
|
|
| 29 |
|
| 30 |
### Fine-tuning
|
| 31 |
|
| 32 |
+
The fine-tuning can be reproduced using code from the Github repository [elsevierlabs-os/clip-image-search](https://github.com/elsevierlabs-os/clip-image-search#fine-tuning).
|
| 33 |
|
| 34 |
### Usage
|
| 35 |
|