Sentence Similarity
sentence-transformers
Safetensors
English
bert
feature-extraction
Generated from Trainer
dataset_size:5344
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use kivanc/test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use kivanc/test with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("kivanc/test") sentences = [ "Omegaven contains no more than 25 mcg/L of aluminum.", "The rabbits are maintained in a closed colony that is controlled and routinely monitored for specific pathogens.", "The imprinting ink contains propylene glycol, shellac and titanium dioxide.", "Omegaven has an osmolality of approximately 342 mOsm/kg water (which represents an osmolarity of 273 mOsm/L)." ] 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!