Zero-Shot Image Classification
Transformers
Safetensors
tipsv2
feature-extraction
vision
image-text
contrastive-learning
zero-shot
custom_code
Instructions to use Creador301/tipsv2-l14 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Creador301/tipsv2-l14 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="Creador301/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("Creador301/tipsv2-l14", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
File size: 531 Bytes
3cf5dc9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | {
"model_type": "tipsv2",
"architectures": [
"TIPSv2Model"
],
"auto_map": {
"AutoConfig": "configuration_tips.TIPSv2Config",
"AutoModel": "modeling_tips.TIPSv2Model"
},
"patch_size": 14,
"img_size": 448,
"init_values": 1.0,
"num_register_tokens": 1,
"vocab_size": 32000,
"max_len": 64,
"vision_fn": "vit_large",
"embed_dim": 1024,
"text_hidden_size": 1024,
"text_mlp_dim": 4096,
"text_num_heads": 16,
"text_num_layers": 12,
"ffn_layer": "mlp",
"temperature": 0.004785141441971064
} |