Sentence Similarity
sentence-transformers
PyTorch
mpnet
feature-extraction
text-embeddings-inference
Instructions to use Neokun004/mpnetv2_com with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Neokun004/mpnetv2_com with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Neokun004/mpnetv2_com") 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] - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 41e2f6dd2905ad2db164af0ff23834f8c1cb11a0dea4bd668a251be1753854c1
- Size of remote file:
- 438 MB
- SHA256:
- 5525b7c29fb996314225cda0f579d1df0640c162907e49e4f62ed3562ce9a2e7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.