Sentence Similarity
sentence-transformers
Safetensors
mpnet
feature-extraction
Generated from Trainer
dataset_size:84915
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use scroobiustrip/mpnet-direction-finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use scroobiustrip/mpnet-direction-finetuned with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("scroobiustrip/mpnet-direction-finetuned") sentences = [ "send money from south africa to belgium", "money transfer to estonia from slovenia", "transfer money online from belgium to south africa", "send money abroad to belgium from south africa" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!