Zero-Shot Image Classification
sentence-transformers
Safetensors
Indonesian
siglip
trimmed
🇪🇺 Region: EU
Instructions to use alphaedge-ai/siglip2-large-patch16-512-ind-16384 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use alphaedge-ai/siglip2-large-patch16-512-ind-16384 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("alphaedge-ai/siglip2-large-patch16-512-ind-16384") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Download config.json from alphaedge-ai/siglip2-large-patch16-512-ind-16384: direct link, hf CLI and curl.
- Browser
- Download file 683 Bytes
-
https://huggingface.co/alphaedge-ai/siglip2-large-patch16-512-ind-16384/resolve/main/config.json
- Command line
-
hf download hf://alphaedge-ai/siglip2-large-patch16-512-ind-16384/config.json
-
curl -L -o config.json https://huggingface.co/alphaedge-ai/siglip2-large-patch16-512-ind-16384/resolve/main/config.json
683 Bytes
| { | |
| "_name_or_path": "google/siglip2-large-patch16-512", | |
| "architectures": [ | |
| "SiglipModel" | |
| ], | |
| "initializer_factor": 1.0, | |
| "model_type": "siglip", | |
| "text_config": { | |
| "hidden_size": 1024, | |
| "intermediate_size": 4096, | |
| "model_type": "siglip_text_model", | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 24, | |
| "projection_size": 1024, | |
| "vocab_size": 16384 | |
| }, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.46.3", | |
| "vision_config": { | |
| "hidden_size": 1024, | |
| "image_size": 512, | |
| "intermediate_size": 4096, | |
| "model_type": "siglip_vision_model", | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 24 | |
| } | |
| } |