Zero-Shot Image Classification
Transformers
Safetensors
English
clip
fashion
multimodal
image-search
text-search
embeddings
contrastive-learning
zero-shot-classification
Instructions to use Leacb4/gap-clip with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Leacb4/gap-clip with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="Leacb4/gap-clip") pipe( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png", candidate_labels=["animals", "humans", "landscape"], )# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForZeroShotImageClassification processor = AutoProcessor.from_pretrained("Leacb4/gap-clip") model = AutoModelForZeroShotImageClassification.from_pretrained("Leacb4/gap-clip", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
delete
Verified signature02afbb9 -
Update paper: KAGL Test D — canonical labels, descriptor expansion, hier-dominant fusion (0.45 -> 0.72)
Verified signaturec0a3520
-
Upload paper/paper.pdf with huggingface_hub
Verified signature069c3b2 -
Upload paper/paper.ltx with huggingface_hub
Verified signatureb07c2f2 -
Delete paper/.DS_Store with huggingface_hub
Verified signature0459a1f
-
Strengthen zero-shot classification justification (Table 4)
Verified signaturec09aeb7 -
Update paper PDF (recompiled from LaTeX)
Verified signatured215b92 -
Update paper LaTeX source
Verified signature3e2c32e
-
Upload paper/paper.pdf with huggingface_hub
Verified signature9bd82e5 -
Upload paper/paper.ltx with huggingface_hub
Verified signatureb2c2c4c
-
Update repository with restructured codebase
Verified signaturefac3f86