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
Download training_args.bin from Rich740804/st-scale70: direct link, hf CLI and curl.
- Browser
- Download file 5.62 kB
-
https://huggingface.co/Rich740804/st-scale70/resolve/main/training_args.bin
- Command line
-
hf download hf://Rich740804/st-scale70/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/Rich740804/st-scale70/resolve/main/training_args.bin
5.62 kB
- Xet hash:
- 4c19d2a26e2df169f0ca3c20eb2675c88450967047e5f06cdbbc58e5e3b11710
- Size of remote file:
- 5.62 kB
- SHA256:
- 2c97e4b3dd5bd84b086862dab3a5e4a2f8651ea1f526abc26541842490fd600c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.