Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

tomaarsen
/
google-siglip-base-512-coco

Sentence Similarity
sentence-transformers
Safetensors
English
siglip
feature-extraction
dense
Generated from Trainer
dataset_size:10000
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
Model card Files Files and versions
xet
Community

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
google-siglip-base-512-coco
816 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
tomaarsen's picture
tomaarsen HF Staff
Create train_script.py
c774022 verified 8 months ago
  • .gitattributes
    1.52 kB
    initial commit 8 months ago
  • README.md
    29.8 kB
    Add new SentenceTransformer model 8 months ago
  • config.json
    960 Bytes
    Add new SentenceTransformer model 8 months ago
  • config_sentence_transformers.json
    306 Bytes
    Add new SentenceTransformer model 8 months ago
  • model.safetensors
    815 MB
    xet
    Add new SentenceTransformer model 8 months ago
  • modules.json
    120 Bytes
    Add new SentenceTransformer model 8 months ago
  • sentence_bert_config.json
    364 Bytes
    Add new SentenceTransformer model 8 months ago
  • special_tokens_map.json
    432 Bytes
    Add new SentenceTransformer model 8 months ago
  • spiece.model
    798 kB
    xet
    Add new SentenceTransformer model 8 months ago
  • tokenizer_config.json
    802 Bytes
    Add new SentenceTransformer model 8 months ago
  • train_script.py
    3.67 kB
    Create train_script.py 8 months ago