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

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

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

  • Libraries
  • sentence-transformers

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

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("AryehRotberg/ToS-Sentence-Transformers")
    
    sentences = [
        "Third-party payment providers, such as Stripe, Checkout. Coingate and similar they help us to process payments together with our own authorized payment processing companiesUnited States, Ireland, BVIStorage and infrastructure service providers, such as BigQuery (by Google), Stitch (by Talend)they help us to deliver targeted advertising to the Website visitors United StatesLive chat and support service providers, such as Zendesk we use them to provide live chat technology and provide support to our users United StatesSecurity service providers, such as Cloudflare we work with them to provide improved security and performance United StatesAttorneys, notaries, bailiffs we transfer personal information in cases when we seek to defend our rights and legal interests",
        "Many third parties are involved in operating the service",
        "Only aggregate data is given to third parties",
        "You should revisit the terms periodically, although in case of material changes, the service will notify"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
ToS-Sentence-Transformers
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
AryehRotberg's picture
AryehRotberg
Add new SentenceTransformer model
8b56ada verified about 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    31.1 kB
    Add new SentenceTransformer model about 1 year ago
  • config.json
    712 Bytes
    Add new SentenceTransformer model about 1 year ago
  • config_sentence_transformers.json
    214 Bytes
    Add new SentenceTransformer model about 1 year ago
  • model.safetensors
    90.9 MB
    xet
    Add new SentenceTransformer model about 1 year ago
  • modules.json
    368 Bytes
    Add new SentenceTransformer model about 1 year ago
  • sentence_bert_config.json
    56 Bytes
    Add new SentenceTransformer model about 1 year ago
  • special_tokens_map.json
    732 Bytes
    Add new SentenceTransformer model about 1 year ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model about 1 year ago
  • tokenizer_config.json
    1.53 kB
    Add new SentenceTransformer model about 1 year ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model about 1 year ago