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

stephanefschwarz
/
google-bert-CachedMultipleNegativesSymmetricRankingLoss-loss

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:15178
loss:CachedMultipleNegativesSymmetricRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use stephanefschwarz/google-bert-CachedMultipleNegativesSymmetricRankingLoss-loss with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use stephanefschwarz/google-bert-CachedMultipleNegativesSymmetricRankingLoss-loss with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("stephanefschwarz/google-bert-CachedMultipleNegativesSymmetricRankingLoss-loss")
    
    sentences = [
        "hapvida assistencia medica sa - coleta e vida imagem centro sao jose dos campos",
        "sao jose imag",
        "parokia gracas",
        "igreja evangelica assembleia de deus - igreja evangelica assembleia de deusbairro saramandaia"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
google-bert-CachedMultipleNegativesSymmetricRankingLoss-loss / 1_Pooling
296 Bytes
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
stephanefschwarz's picture
stephanefschwarz
Upload folder using huggingface_hub
a2cb119 verified about 1 year ago
  • config.json
    296 Bytes
    Upload folder using huggingface_hub about 1 year ago