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

AryehRotberg
/
ToS-Sentence-Transformers-V4

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:122856
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use AryehRotberg/ToS-Sentence-Transformers-V4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use AryehRotberg/ToS-Sentence-Transformers-V4 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("AryehRotberg/ToS-Sentence-Transformers-V4")
    
    sentences = [
        "\"To update your preferences, ask us to remove your information from our marketing mailing lists or submit a request, please contact us as outlined in the How To Contact Us Section below.\"",
        "You can opt out of promotional communications",
        "IP addresses of website visitors are not tracked",
        "If you are the target of a copyright holder's take down notice, this service gives you the opportunity to defend yourself"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
ToS-Sentence-Transformers-V4
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
AryehRotberg's picture
AryehRotberg
Add new SentenceTransformer model
3cb27d6 verified 8 months ago
  • 1_Pooling
    Add new SentenceTransformer model 8 months ago
  • .gitattributes
    1.52 kB
    initial commit 8 months ago
  • README.md
    29.7 kB
    Add new SentenceTransformer model 8 months ago
  • config.json
    611 Bytes
    Add new SentenceTransformer model 8 months ago
  • config_sentence_transformers.json
    283 Bytes
    Add new SentenceTransformer model 8 months ago
  • model.safetensors
    90.9 MB
    xet
    Add new SentenceTransformer model 8 months ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model 8 months ago
  • sentence_bert_config.json
    57 Bytes
    Add new SentenceTransformer model 8 months ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model 8 months ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model 8 months ago
  • tokenizer_config.json
    1.46 kB
    Add new SentenceTransformer model 8 months ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model 8 months ago