Sentence Similarity
sentence-transformers
Safetensors
English
mpnet
feature-extraction
Generated from Trainer
dataset_size:117502
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use Saideepthi55/sentencetransformer-ft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Saideepthi55/sentencetransformer-ft with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Saideepthi55/sentencetransformer-ft") sentences = [ "Help me make the molecule CC(=O)OC[C@H](OC(C)=O)C(=O)N1CCCC[C@H]1C1CCN(C(=O)c2cc3ccccc3n2C)CC1 with the same hydrogen bond donors. The output molecule should be similar to the input molecule. Please inform me of the number of hydrogen bond donor(s) of the optimized molecule.", "Your requirements guided the optimization, resulting in the molecule \"CC(=O)OC(CCl)C(Cc1cccs1)[C@H](OC(C)=O)C(=O)N1CCCC[C@H]1C1CCN(C(=O)c2cc3ccccc3n2C)CC1\" with an approximate hydrogen bond donor(s) of 0.", "Given a molecule expressed in SMILES string, help me optimize it according to my requirements.", "Help me adapt a molecular structure denoted in SMILES string based on my preferences." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K