Sentence Similarity
sentence-transformers
PyTorch
mpnet
feature-extraction
text-embeddings-inference
Instructions to use flax-sentence-embeddings/multi-qa_v1-mpnet-cls_dot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use flax-sentence-embeddings/multi-qa_v1-mpnet-cls_dot with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("flax-sentence-embeddings/multi-qa_v1-mpnet-cls_dot") 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
Download pytorch_model.bin from flax-sentence-embeddings/multi-qa_v1-mpnet-cls_dot: direct link, hf CLI and curl.
- Browser
- Download file 438 MB
-
https://huggingface.co/flax-sentence-embeddings/multi-qa_v1-mpnet-cls_dot/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://flax-sentence-embeddings/multi-qa_v1-mpnet-cls_dot/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/flax-sentence-embeddings/multi-qa_v1-mpnet-cls_dot/resolve/main/pytorch_model.bin
438 MB
- Xet hash:
- 3c946d620cf954d3ba3d55ee70b98a1a49eaca2364679cae80212f832f0587dc
- Size of remote file:
- 438 MB
- SHA256:
- 9e1e76b7a067f72e49c7f571cd8e811f7a1567bec49f17e5eaaea899e7bc2c9e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.