Sentence Similarity
sentence-transformers
Safetensors
mpnet
feature-extraction
Generated from Trainer
dataset_size:7851
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use pawan2411/semantic-embedding with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use pawan2411/semantic-embedding with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("pawan2411/semantic-embedding") sentences = [ "show my holdings that have performed well over the past 10 years", "Do I hold any premium investment options?", "Show me the investments that have generated the highest returns over the past 10 years", "What implications does this news have for my portfolio's income generation?" ] 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!