Sentence Similarity
sentence-transformers
PyTorch
Safetensors
mpnet
feature-extraction
text-embeddings-inference
Instructions to use deepset/all-mpnet-base-v2-table with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use deepset/all-mpnet-base-v2-table with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("deepset/all-mpnet-base-v2-table") 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:
- 0ef8b1883d5653140e644b13b9130321a8225ed2b4f0f5516e5500973dd60918
- Size of remote file:
- 438 MB
- SHA256:
- 1574cba7a865526605332fbc275ce8c0f2a123b243b4f9b6055d67637f85c6c6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.