Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:122856
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
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
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!