Sentence Similarity
sentence-transformers
Safetensors
mpnet
feature-extraction
Generated from Trainer
dataset_size:8
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use shashrao54/embedding-finetuning-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use shashrao54/embedding-finetuning-model with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("shashrao54/embedding-finetuning-model") sentences = [ "Explain conforms in this document.", "PHARMA PRODUCT DOSSIER (SYNTHETIC) Product: Amoxycillin Capsules 500 mg Indication: Treatment of bacterial infections (upper respiratory tract, urinary tract). Mechanism of Action: Beta-lactam antibiotic; inhibits bacterial cell wall synthesis. Contraindications: Hypersensitivity to penicillins; history of severe allergy. Warnings: Risk of anaphylaxis; monitor for rash; adjust dose in renal impairment. Dosage & Administration: - Adults: 500 mg every 8 hours. - Renal impairment: dose adjustment required based on creatinine clearance. Adverse Reactions: - Common: nausea, diarrhea, rash. - Serious: anaphylaxis, C. difficile-associated diarrhea (rare). CLINICAL OVERVIEW (SYNTHETIC) Clinical Summary: Efficacy shown in randomized controlled trials for susceptible organisms. Non-inferiority demonstrated versus comparator antibiotics in mild-to-moderate infections. Drug Interactions: - Probenecid increases amoxycillin levels by decreasing renal clearance. - Oral anticoagulants: monitor INR; may increase bleeding risk. Storage & Stability: Store below 25°C. Protect from moisture. Shelf life: 24 months. Quality Attributes: Assay: 95.0% to 105.0% of label claim. Dissolution: NLT 80% in 45 minutes (Q). MANUFACTURING & CMC (SYNTHETIC) Manufacturing Process: Blending -> Encapsulation -> In-process checks -> Packaging. Critical process parameters: blend uniformity, capsule fill weight, moisture control. Specifications: - Identification: conforms to reference standard. - Related substances: within limits. - Microbial limits: complies with pharmacopeial requirements. Packaging: Alu-Alu blister packs; carton labeling includes batch number and expiry date.", "Identification: conforms to reference standard. - Related substances: within limits. - Microbial limits: complies with pharmacopeial requirements. Packaging: Alu-Alu blister packs; carton labeling includes batch number and expiry date.", "Identification: conforms to reference standard. - Related substances: within limits. - Microbial limits: complies with pharmacopeial requirements. Packaging: Alu-Alu blister packs; carton labeling includes batch number and expiry date." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
File size: 429 Bytes
841f823 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | [
{
"idx": 0,
"name": "0",
"path": "",
"type": "sentence_transformers.base.modules.transformer.Transformer"
},
{
"idx": 1,
"name": "1",
"path": "1_Pooling",
"type": "sentence_transformers.sentence_transformer.modules.pooling.Pooling"
},
{
"idx": 2,
"name": "2",
"path": "2_Normalize",
"type": "sentence_transformers.sentence_transformer.modules.normalize.Normalize"
}
] |