Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:4830
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use semaj83/ctmatch-retriever-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use semaj83/ctmatch-retriever-v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("semaj83/ctmatch-retriever-v2") sentences = [ "A 57-year-old man was admitted to the clinic because of weight loss and persistent dry cough 4 months ago. Chest computed topography showed bilateral multiple infiltrates in the upper lobes and thickened bronchial walls. There is a documented positive serum MPO-ANCA in his medical record. Transbronchial biopsy revealed necrotic granulomas with multinucleated giant cells and the Wegener's granulomatosis was diagnosed for him. He is treating with corticosteroid and cyclophosphamides since 4 months ago. His Birmingham Vasculitis Activity Score (BVAS) is above 4 since the beginning of his disease. His last physical exam and lab study was performed yesterday and showed the results bellow: A wellbeing, well-nourished man, non-icteric, cooperative and alert Weight: 73 kg Height: 177 BP: 120/80 HR: 90/min RR: 22/min Hgb: 13 g/dl WBC: 8000 /mm3 (Neutrophil: 2700/mm3) Plt: 300000 /ml AST: 40 U/L ALT: 56 U/L Alk P: 147 U/L Bill total: 1.2 mg/dl ESR: 120 mm/hr MPO-ANCA: 153 EU", "Inclusion Criteria: Adult participants, >/= 18 years of age Granulomatosis with polyangiitis (GPA) or microscopic polyangiitis (MPA), according to Chapel Hill Consensus Conference Definitions for MPA and American College of Rheumatology (ACR) for the Classification of GPA Disease severity requiring rituximab treatment per the investigator's assessment, Exclusion Criteria: Prior use of rituximab (except if received within 4 weeks of screening) Known hypersensitivity to rituximab, to any component of the product, or to murine proteins Pregnant or breastfeeding women Diagnosis of Churg-Strauss syndrome", "Inclusion Criteria: Body mass index (BMI) >40 Kg/m2 BMI >35 Kg/m2 and obesity associated comorbidities Patients undergoing laparoscopic Roux en Y gastric bypass, Exclusion Criteria: Patients undergoing other bariatric procedures, different than Roux en Y gastric bypass Patients undergoing open bariatric surgery", "Inclusion Criteria: Patient is male or female ≥18 years of age 2. Patient voluntarily signed written, informed consent agreement. 3. If patient is female and not more than 1 year post-menopausal, or surgically sterile, must use medically accepted form of contraception or abstain from sexual activities during study 4. Patient has acute pancreatitis as defined by the Atlanta Classification of 2012 5. No evidence of obstructive pancreatitis on available cross-sectional imaging, Exclusion Criteria: Pancreatitis with duct obstruction or severe acute pancreatitis defined by Atlanta Classification 2. Pregnant woman, nursing mothers, or women of childbearing potential not on birth control 3. Known adverse reaction to human secretin" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
File too large to display, you can check the raw version instead.