Zero-Shot Image Classification
Transformers
Safetensors
tipsv2
feature-extraction
vision
image-text
contrastive-learning
zero-shot
custom_code
Instructions to use google/tipsv2-l14 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/tipsv2-l14 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="google/tipsv2-l14", trust_remote_code=True) pipe( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png", candidate_labels=["animals", "humans", "landscape"], )# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("google/tipsv2-l14", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
Remove zero-shot segmentation snippet, link to GitHub for advanced use cases 6e72194
Gabriele commited on
PCA visualization: add whitening and sigmoid 04250d0
Gabriele commited on
Add navigation table linking all variants and DPT heads 597ecc2
Gabriele commited on
Switch to bus image with matching classes 69113d7
Gabriele commited on
Improve code examples: better classes, descriptive comments a34ff2b
Gabriele commited on
Use cat photo, add print statements to code examples 44dd5af
Gabriele commited on
Fix meta device crash: use pure Python for drop_path_rate 8a1db2c
Gabriele commited on
Fix zero-shot segmentation section, use public example image 9348ed0
Gabriele commited on
Normalize README and config.json formatting to match other variants 2766741
Gabriele commited on
Update README 54b33d9
Gabriele commited on
Align image_encoder.py drop_path_rate computation with upstream cc0fc02
Gabriele commited on