Sentence Similarity
sentence-transformers
Safetensors
English
mpnet
feature-extraction
text-embeddings-inference
Instructions to use GebeyaTalent/mpnetwithoutchunking with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use GebeyaTalent/mpnetwithoutchunking with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("GebeyaTalent/mpnetwithoutchunking") 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
File size: 116 Bytes
d9d0b5d | 1 2 3 4 5 6 7 | {
"__version__": {
"sentence_transformers": "2.0.0",
"transformers": "4.6.1",
"pytorch": "1.8.1"
}
} |