Sentence Similarity
sentence-transformers
Safetensors
English
nomic_bert
feature-extraction
dense
Generated from Trainer
dataset_size:7193
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
custom_code
Eval Results (legacy)
text-embeddings-inference
Instructions to use vab46/nomic-embed-text-v1.5_Clinical-Trials_Matryoshka 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_Matryoshka with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("vab46/nomic-embed-text-v1.5_Clinical-Trials_Matryoshka", trust_remote_code=True) sentences = [ "TITLE: COMT, MAOA, and SLC6A4 Polymorphisms and Inferior Alveolar Nerve Block Success The Relationship Between COMT, MAOA, and SLC6A4 Polymorphisms and the Success of Inferior Alveolar Nerve Block\nSUMMARY: The purpose of this study was to evaluate the association between COMT, MAOA, and SLC6A4 genetic polymorphisms and the success of inferior alveolar nerve block (IANB) in patients with symptomatic irreversible pulpitis in mandibular molars. Patients presenting with moderate to severe pain were enrolled. Before anesthesia, pain intensity was assessed using the Heft-Parker Visual Analog Scale (HP-VAS), and pulpal vitality was evaluated using cold and electric pulp tests. All participants received a standardized inferior alveolar nerve block with 4% articaine containing epinephrine. Fifteen minutes after injection, pulpal anesthesia was reassessed using cold and electric pulp tests. Patients who continued to respond to these tests were considered to have unsuccessful pulpal anesthesia and were excluded from the study. Patients with no response to either test were included in the study, and root canal treatment was initiated. Pain experienced during the procedure was assessed using the HP-VAS. Buccal swab samples were collected for genomic DNA isolation, and COMT, MAOA, and SLC6A4 polymorphisms were analyzed using a Real-Time PCR-based TaqMan genotyping assay. The association between genetic polymorphisms and the success of inferior alveolar nerve block was statistically evaluated.\nINCLUSION CRITERIA:\nAge between 15 and 60 years. American Society of Anesthesiologists (ASA) Physical Status I. Clinical diagnosis of symptomatic irreversible pulpitis in a mandibular molar requiring primary root canal treatment.\nPositive response to both the cold test and electric pulp test before treatment.\nPresence of pulpal bleeding upon access cavity preparation, confirming pulp vitality.\nPeriodontal probing depth ≤3 mm. Sufficient coronal tooth structure to allow rubber dam isolation. No use of nonsteroidal anti-inflammatory drugs (NSAIDs) within 12 hours before enrollment.\nNo known allergy or hypersensitivity to articaine or epinephrine. No history of systemic or genetic disease. Ability and willingness to provide written informed consent.", "Are patients under 18 years old eligible to participate in this clinical trial?", "Would a child aged 8 undergoing an elective tonsillectomy qualify for this study?", "Could I participate in this study if I have a mandibular molar with symptomatic irreversible pulpitis?" ] 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!