Sentence Similarity
sentence-transformers
Safetensors
English
mpnet
feature-extraction
Generated from Trainer
dataset_size:84915
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use scroobiustrip/mpnet-direction-finetuned-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use scroobiustrip/mpnet-direction-finetuned-v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("scroobiustrip/mpnet-direction-finetuned-v2") sentences = [ "send money online to new zealand from san marino", "how to send money from romania to uae", "send money online to san marino from new zealand", "send money internationally to new zealand from san marino" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K