Sentence Similarity
sentence-transformers
Safetensors
mpnet
feature-extraction
Generated from Trainer
dataset_size:18963
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use Rich740804/st-scale70 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Rich740804/st-scale70 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Rich740804/st-scale70") sentences = [ "If the comatose man had previously expressed a desire to be euthanized in such a situation, respecting his autonomy would support euthanasia.", "If the comatose man had previously expressed a desire for euthanasia in such circumstances, there may be a duty to respect his autonomy, which would support the action.", "If the man is believed to be suffering in his comatose state or there is a significant burden on his family, there may be a duty to alleviate suffering that supports euthanasia.", "As a living being, the rat may warrant a duty of care from humans, which may include providing it with appropriate medical treatment or humane euthanasia in case of suffering." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- b3c2333d2261fd7d052a5ea6ca8c8b3f9f920e96c4766aab9fe979de8faa7292
- Size of remote file:
- 871 MB
- SHA256:
- 16bee095091cb54694d9e280f3503981ea52637e5af3b5b32e05adc13b5941ba
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.