Sentence Similarity
sentence-transformers
PyTorch
Transformers
mpnet
feature-extraction
text-embeddings-inference
Instructions to use Brendan/refpydst-1p-icdst-split-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Brendan/refpydst-1p-icdst-split-v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Brendan/refpydst-1p-icdst-split-v2") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Transformers
How to use Brendan/refpydst-1p-icdst-split-v2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Brendan/refpydst-1p-icdst-split-v2") model = AutoModel.from_pretrained("Brendan/refpydst-1p-icdst-split-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from Brendan/refpydst-1p-icdst-split-v2: direct link, hf CLI and curl.
- Browser
- Download file 438 MB
-
https://huggingface.co/Brendan/refpydst-1p-icdst-split-v2/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://Brendan/refpydst-1p-icdst-split-v2/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/Brendan/refpydst-1p-icdst-split-v2/resolve/main/pytorch_model.bin
438 MB
- Xet hash:
- 0de156a7c1e861a5769fb1c613944f63c0ae68967d9c0c6383c6210d0fb60b04
- Size of remote file:
- 438 MB
- SHA256:
- c871e129b4463c2bf6a6cc6915f79e3076574f6236541d9fd8c674d9fc5f034b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.