Sentence Similarity
sentence-transformers
Safetensors
English
siglip
feature-extraction
dense
Generated from Trainer
dataset_size:10000
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
Instructions to use tomaarsen/google-siglip-base-512-coco with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use tomaarsen/google-siglip-base-512-coco with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("tomaarsen/google-siglip-base-512-coco") sentences = [ "A man standing next to a little girl riding a horse.", "The woman is working on her computer at the desk.", "A young man holding an umbrella next to a herd of cattle.", "a person sitting at a desk with a keyboard and monitor " ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K