Sentence Similarity
sentence-transformers
Safetensors
English
nomic_bert
feature-extraction
dense
Generated from Trainer
dataset_size:7869
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
custom_code
Eval Results (legacy)
text-embeddings-inference
Instructions to use vab46/nomic-embed-text-v1.5_Clinical-Trials_Matryoshka2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use vab46/nomic-embed-text-v1.5_Clinical-Trials_Matryoshka2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("vab46/nomic-embed-text-v1.5_Clinical-Trials_Matryoshka2", trust_remote_code=True) sentences = [ "Visual Stimulation Through Video Therapy to Enhance Lower Limb Motor Recovery After Stroke Use of Intensive Visual Stimulation Through Video Therapy to Enhance Lower Limb Motor Recovery After Stroke (SIVIMI). A Single-Center Pilot Study Using a Single-Case Experimental Design (SCED)", "What is the condition affecting the children participating in this trial?", "What is the focus of this clinical trial?", "What is the focus of this clinical trial?" ] 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!