Sentence Similarity
sentence-transformers
ONNX
Safetensors
modernbert
feature-extraction
dense
Generated from Trainer
dataset_size:492
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use llm-semantic-router/mmbert-embed-medical with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use llm-semantic-router/mmbert-embed-medical with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("llm-semantic-router/mmbert-embed-medical") sentences = [ "A 60-year-old man is rushed to the emergency room after he was found unconscious in bed that afternoon. The patient’s wife says he has been confused and irritable for the past several days. She says he has a history of chronic daily alcohol abuse and has been hospitalized multiple times with similar symptoms His temperature is 37°C (98.6°F), the blood pressure is 110/80 mm Hg, the pulse is 90/min, and the respiratory rate is 14/min. On physical examination, the patient is minimally responsive to painful stimuli. His abdomen is distended with positive shifting dullness. Laboratory results are as follows:\nComplete blood count\nHematocrit 35%\nPlatelets 100,000/mm3\nWhite blood cells 5000/mm3\nLiver function studies\nSerum Albumin 2 g/dL\nAlkaline phosphatase (ALP) 200 IU/L\nAspartate aminotransferase (AST) 106 IU/L\nAlanine aminotransferase (ALT) 56 IU/L\nThe patient is admitted to the hospital and started on the appropriate treatment to improve his mental status. Which of the following best describes the mechanism of action of the drug that is most likely used to treat this patient’s symptoms?", "A 60-year-old man is rushed to the emergency room after he was found unconscious in bed that afternoon. The patient’s wife says he has been confused and irritable for the past several days. She says he has a history of chronic daily alcohol abuse and has been hospitalized multiple times with similar symptoms His temperature is 37°C (98.6°F), the blood pressure is 110/80 mm Hg, the pulse is 90/min, and the respiratory rate is 14/min. On physical examination, the patient is minimally responsive to painful stimuli. His abdomen is distended with positive shifting dullness. Laboratory results are as follows:\nComplete blood count\nHematocrit 35%\nPlatelets 100,000/mm3\nWhite blood cells 5000/mm3\nLiver function studies\nSerum Albumin 2 g/dL\nAlkaline phosphatase (ALP) 200 IU/L\nAspartate aminotransferase (AST) 106 IU/L\nAlanine aminotransferase (ALT) 56 IU/L\nThe patient is admitted to the hospital and started on the appropriate treatment to improve his mental status. Which of the following best describes the mechanism of action of the drug that is most likely used to treat this patient’s symptoms?\n\nAnswer: Decreases pH in the gastrointestinal lumen", "A 65-year-old man is brought to the emergency department after loss of consciousness. He is accompanied by his wife. He is started on intravenous fluids, and his vital signs are assessed. His blood pressure is 85/50 mm Hg, pulse 50/min, and respiratory rate 10/min. He has been admitted in the past for a heart condition. His wife is unable to recall the name of the condition, but she does know that the doctor recommended some medications at that time in case his condition worsened. She has brought with her the test reports from previous medical visits over the last few months. She says that she has noticed that he often has difficulty breathing and requires three pillows to sleep at night to avoid being short of breath. He can only walk for a few kilometers before he has to stop and rest. His wife also reports that he has had occasional severe coughing spells with pinkish sputum production. She also mentions that he has been drinking alcohol for the past 30 years. Which of the following medications will improve the prognosis of this patient?\n\nAnswer: Enalapril", "A 71-year-old African American man is brought to the emergency department with a worsening productive cough and dyspnea for 2 days. He has had generalized bone pain for 2 months. He was admitted for pyelonephritis last month. He also received outpatient treatment for pneumonia almost 2 months ago. Over the past 2 months, he has been taking over-the-counter ibuprofen for pain as needed. He appears anxious. The vital signs include: temperature 38.8°C (101.8°F), pulse 95/min, respiratory rate 20/min, and blood pressure 155/90 mm Hg. The conjunctivae are pale. Crackles are heard in the right lower lobe. The cardiac examination shows no abnormalities. The laboratory studies show the following:\nHemoglobin 9 g/dL\nMean corpuscular volume 95 μm3\nLeukocyte count 13,500/mm3\nSegmented neutrophils 75%\nLymphocytes 25%\nPlatelet count 240,000/mm3\nESR 85 mm/hr\nSerum\nNa+ 135 mEq/L\nK+ 4.2 mEq/L\nCl− 113 mEq/L\nHCO3− 20 mEq/L\nCa+ 12.4 mg/dL\nAlbumin 4 g/dL\nUrea nitrogen 38 mg/dL\nCreatinine 2.2 mg/dL\nA chest X-ray shows a right lower lobe opacity and blurring of the ipsilateral diaphragmatic dome. Skull and pelvic X-rays are performed (see image). Which of the following is the most likely underlying cause of this patient’s recent infections?\n\nAnswer: Hypogammaglobulinemia" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- README.md +460 -229
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -6,77 +6,304 @@ tags:
|
|
| 6 |
- dense
|
| 7 |
- generated_from_trainer
|
| 8 |
- dataset_size:492
|
| 9 |
-
- loss:
|
| 10 |
base_model: llm-semantic-router/mmbert-embed-32k-2d-matryoshka
|
| 11 |
widget:
|
| 12 |
-
- source_sentence: A
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
sentences:
|
| 24 |
-
- 'A
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
the
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
is
|
| 33 |
-
reactive
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
- source_sentence: A 45-year-old Caucasian man is given nitroglycerin for the management
|
| 66 |
of his stable angina. Nitroglycerin given for the rapid relief of acute angina
|
| 67 |
would most likely be given through what route of administration?
|
| 68 |
sentences:
|
| 69 |
-
- 'A
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
|
|
|
|
| 78 |
|
| 79 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
- 'A 67-year-old man with stable coronary artery disease comes to the physician
|
| 81 |
for a follow-up examination. Aside from occasional exertional chest pain on mowing
|
| 82 |
the lawn or prolonged jogging, he feels well. He goes jogging for 20 minutes once
|
|
@@ -87,157 +314,160 @@ widget:
|
|
| 87 |
|
| 88 |
|
| 89 |
Answer: Reflex sympathetic activity'
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
|
|
|
|
| 94 |
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
pCO2 28 mm Hg
|
| 126 |
-
|
| 127 |
-
HCO3- 24 mEq/L
|
| 128 |
-
|
| 129 |
-
O2 saturation 91%
|
| 130 |
-
|
| 131 |
-
An x-ray of the chest shows a consolidation in the left lower lobe. Asking the
|
| 132 |
-
patient to lie down in the left lateral decubitus position would most likely result
|
| 133 |
-
in which of the following?"
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
Answer: Increase in A-a gradient'
|
| 137 |
-
- "A 12-year-old boy is brought in by his mother for a routine checkup. The patient’s\
|
| 138 |
-
\ mother says he is frequently fatigued and looks pale. She also claims that he\
|
| 139 |
-
\ has recently become “much quieter” than normal and is no longer interested in\
|
| 140 |
-
\ playing baseball with his friends. The patient’s mother believes it may just\
|
| 141 |
-
\ be “growing pains.” The patient has no significant medical history. He is the\
|
| 142 |
-
\ 90th percentile for height and weight and has been meeting all developmental\
|
| 143 |
-
\ milestones. The patient is afebrile, and his vital signs are within normal limits.\
|
| 144 |
-
\ Physical examination reveals several small bruises on the patient’s right arm\
|
| 145 |
-
\ and on both thighs. Laboratory findings are significant for the following:\n\
|
| 146 |
-
Sodium 140 mEq/L\nPotassium 4.2 mEq/L\nChloride 101 mEq/L\nBicarbonate 27 mEq/L\n\
|
| 147 |
-
BUN 16 mg/dL\nCreatinine 1.2 mg/dL\nGlucose (fasting) 111 mg/dL\n WBC 3,400/mm3\n\
|
| 148 |
-
RBC 4.20 x 106/mm3\nHematocrit 22%\nHemoglobin 7.1 g/dL\nPlatelet count 109,000/mm3\n\
|
| 149 |
-
A peripheral blood smear reveals myeloblasts. Which of the following is the next\
|
| 150 |
-
\ best step in the management of this patient?\n\nAnswer: Bone marrow biopsy"
|
| 151 |
-
- 'A 3-month-old boy is brought to the physician by his mother because of poor weight
|
| 152 |
-
gain. She also reports a dusky blue discoloration to his skin during feedings
|
| 153 |
-
and when crying. On examination, there is a harsh, systolic murmur heard over
|
| 154 |
-
the left upper sternal border. An x-ray of the chest is shown below. Which of
|
| 155 |
-
the following is the most likely cause of his symptoms?
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
Answer: Right ventricular outflow obstruction'
|
| 159 |
-
- source_sentence: 'A 33-year-old pregnant woman in the 28th week of gestation presents
|
| 160 |
-
to the emergency department for evaluation of bilateral edema of her legs. It
|
| 161 |
-
seems to worsen at the end of the day and has lasted for the past 3 weeks. History
|
| 162 |
-
reveals that this is her 3rd pregnancy. Vital signs include: blood pressure 120/80
|
| 163 |
-
mm Hg, heart rate 74/min, respiratory rate 18/min, and temperature 36.6°C (98.0°F).
|
| 164 |
-
Body mass index is 36 kg/m2. Physical examination reveals bilateral leg edema
|
| 165 |
-
with engorged surface veins. A photograph of the patient’s legs is shown. Which
|
| 166 |
-
of the following is the best initial management of the patient?'
|
| 167 |
sentences:
|
| 168 |
-
- 'A
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
the
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 210 |
sentences:
|
| 211 |
-
- 'A
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
a
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
|
|
|
| 241 |
pipeline_tag: sentence-similarity
|
| 242 |
library_name: sentence-transformers
|
| 243 |
---
|
|
@@ -291,9 +521,9 @@ from sentence_transformers import SentenceTransformer
|
|
| 291 |
model = SentenceTransformer("sentence_transformers_model_id")
|
| 292 |
# Run inference
|
| 293 |
sentences = [
|
| 294 |
-
|
| 295 |
-
|
| 296 |
-
'A
|
| 297 |
]
|
| 298 |
embeddings = model.encode(sentences)
|
| 299 |
print(embeddings.shape)
|
|
@@ -302,9 +532,9 @@ print(embeddings.shape)
|
|
| 302 |
# Get the similarity scores for the embeddings
|
| 303 |
similarities = model.similarity(embeddings, embeddings)
|
| 304 |
print(similarities)
|
| 305 |
-
# tensor([[1.0000, 0.
|
| 306 |
-
# [0.
|
| 307 |
-
# [0.
|
| 308 |
```
|
| 309 |
|
| 310 |
<!--
|
|
@@ -357,16 +587,17 @@ You can finetune this model on your own dataset.
|
|
| 357 |
| type | string | string | string |
|
| 358 |
| details | <ul><li>min: 36 tokens</li><li>mean: 219.2 tokens</li><li>max: 791 tokens</li></ul> | <ul><li>min: 49 tokens</li><li>mean: 227.77 tokens</li><li>max: 819 tokens</li></ul> | <ul><li>min: 51 tokens</li><li>mean: 159.34 tokens</li><li>max: 430 tokens</li></ul> |
|
| 359 |
* Samples:
|
| 360 |
-
| sentence_0
|
| 361 |
-
|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
| 362 |
-
| <code>A
|
| 363 |
-
| <code>A
|
| 364 |
-
| <code>A
|
| 365 |
-
* Loss: [<code>
|
| 366 |
```json
|
| 367 |
{
|
| 368 |
-
"
|
| 369 |
-
"
|
|
|
|
| 370 |
}
|
| 371 |
```
|
| 372 |
|
|
@@ -505,15 +736,15 @@ You can finetune this model on your own dataset.
|
|
| 505 |
}
|
| 506 |
```
|
| 507 |
|
| 508 |
-
####
|
| 509 |
```bibtex
|
| 510 |
-
@misc{
|
| 511 |
-
title={
|
| 512 |
-
author={
|
| 513 |
year={2017},
|
| 514 |
-
eprint={
|
| 515 |
archivePrefix={arXiv},
|
| 516 |
-
primaryClass={cs.
|
| 517 |
}
|
| 518 |
```
|
| 519 |
|
|
|
|
| 6 |
- dense
|
| 7 |
- generated_from_trainer
|
| 8 |
- dataset_size:492
|
| 9 |
+
- loss:MultipleNegativesRankingLoss
|
| 10 |
base_model: llm-semantic-router/mmbert-embed-32k-2d-matryoshka
|
| 11 |
widget:
|
| 12 |
+
- source_sentence: 'A 60-year-old man is rushed to the emergency room after he was
|
| 13 |
+
found unconscious in bed that afternoon. The patient’s wife says he has been confused
|
| 14 |
+
and irritable for the past several days. She says he has a history of chronic
|
| 15 |
+
daily alcohol abuse and has been hospitalized multiple times with similar symptoms
|
| 16 |
+
His temperature is 37°C (98.6°F), the blood pressure is 110/80 mm Hg, the pulse
|
| 17 |
+
is 90/min, and the respiratory rate is 14/min. On physical examination, the patient
|
| 18 |
+
is minimally responsive to painful stimuli. His abdomen is distended with positive
|
| 19 |
+
shifting dullness. Laboratory results are as follows:
|
| 20 |
+
|
| 21 |
+
Complete blood count
|
| 22 |
+
|
| 23 |
+
Hematocrit 35%
|
| 24 |
+
|
| 25 |
+
Platelets 100,000/mm3
|
| 26 |
+
|
| 27 |
+
White blood cells 5000/mm3
|
| 28 |
+
|
| 29 |
+
Liver function studies
|
| 30 |
+
|
| 31 |
+
Serum Albumin 2 g/dL
|
| 32 |
+
|
| 33 |
+
Alkaline phosphatase (ALP) 200 IU/L
|
| 34 |
+
|
| 35 |
+
Aspartate aminotransferase (AST) 106 IU/L
|
| 36 |
+
|
| 37 |
+
Alanine aminotransferase (ALT) 56 IU/L
|
| 38 |
+
|
| 39 |
+
The patient is admitted to the hospital and started on the appropriate treatment
|
| 40 |
+
to improve his mental status. Which of the following best describes the mechanism
|
| 41 |
+
of action of the drug that is most likely used to treat this patient’s symptoms?'
|
| 42 |
+
sentences:
|
| 43 |
+
- 'A 60-year-old man is rushed to the emergency room after he was found unconscious
|
| 44 |
+
in bed that afternoon. The patient’s wife says he has been confused and irritable
|
| 45 |
+
for the past several days. She says he has a history of chronic daily alcohol
|
| 46 |
+
abuse and has been hospitalized multiple times with similar symptoms His temperature
|
| 47 |
+
is 37°C (98.6°F), the blood pressure is 110/80 mm Hg, the pulse is 90/min, and
|
| 48 |
+
the respiratory rate is 14/min. On physical examination, the patient is minimally
|
| 49 |
+
responsive to painful stimuli. His abdomen is distended with positive shifting
|
| 50 |
+
dullness. Laboratory results are as follows:
|
| 51 |
+
|
| 52 |
+
Complete blood count
|
| 53 |
+
|
| 54 |
+
Hematocrit 35%
|
| 55 |
+
|
| 56 |
+
Platelets 100,000/mm3
|
| 57 |
+
|
| 58 |
+
White blood cells 5000/mm3
|
| 59 |
+
|
| 60 |
+
Liver function studies
|
| 61 |
+
|
| 62 |
+
Serum Albumin 2 g/dL
|
| 63 |
+
|
| 64 |
+
Alkaline phosphatase (ALP) 200 IU/L
|
| 65 |
+
|
| 66 |
+
Aspartate aminotransferase (AST) 106 IU/L
|
| 67 |
+
|
| 68 |
+
Alanine aminotransferase (ALT) 56 IU/L
|
| 69 |
+
|
| 70 |
+
The patient is admitted to the hospital and started on the appropriate treatment
|
| 71 |
+
to improve his mental status. Which of the following best describes the mechanism
|
| 72 |
+
of action of the drug that is most likely used to treat this patient’s symptoms?
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
Answer: Decreases pH in the gastrointestinal lumen'
|
| 76 |
+
- 'A 65-year-old man is brought to the emergency department after loss of consciousness.
|
| 77 |
+
He is accompanied by his wife. He is started on intravenous fluids, and his vital
|
| 78 |
+
signs are assessed. His blood pressure is 85/50 mm Hg, pulse 50/min, and respiratory
|
| 79 |
+
rate 10/min. He has been admitted in the past for a heart condition. His wife
|
| 80 |
+
is unable to recall the name of the condition, but she does know that the doctor
|
| 81 |
+
recommended some medications at that time in case his condition worsened. She
|
| 82 |
+
has brought with her the test reports from previous medical visits over the last
|
| 83 |
+
few months. She says that she has noticed that he often has difficulty breathing
|
| 84 |
+
and requires three pillows to sleep at night to avoid being short of breath. He
|
| 85 |
+
can only walk for a few kilometers before he has to stop and rest. His wife also
|
| 86 |
+
reports that he has had occasional severe coughing spells with pinkish sputum
|
| 87 |
+
production. She also mentions that he has been drinking alcohol for the past 30
|
| 88 |
+
years. Which of the following medications will improve the prognosis of this patient?
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
Answer: Enalapril'
|
| 92 |
+
- 'A 71-year-old African American man is brought to the emergency department with
|
| 93 |
+
a worsening productive cough and dyspnea for 2 days. He has had generalized bone
|
| 94 |
+
pain for 2 months. He was admitted for pyelonephritis last month. He also received
|
| 95 |
+
outpatient treatment for pneumonia almost 2 months ago. Over the past 2 months,
|
| 96 |
+
he has been taking over-the-counter ibuprofen for pain as needed. He appears anxious.
|
| 97 |
+
The vital signs include: temperature 38.8°C (101.8°F), pulse 95/min, respiratory
|
| 98 |
+
rate 20/min, and blood pressure 155/90 mm Hg. The conjunctivae are pale. Crackles
|
| 99 |
+
are heard in the right lower lobe. The cardiac examination shows no abnormalities.
|
| 100 |
+
The laboratory studies show the following:
|
| 101 |
+
|
| 102 |
+
Hemoglobin 9 g/dL
|
| 103 |
+
|
| 104 |
+
Mean corpuscular volume 95 μm3
|
| 105 |
+
|
| 106 |
+
Leukocyte count 13,500/mm3
|
| 107 |
+
|
| 108 |
+
Segmented neutrophils 75%
|
| 109 |
+
|
| 110 |
+
Lymphocytes 25%
|
| 111 |
+
|
| 112 |
+
Platelet count 240,000/mm3
|
| 113 |
+
|
| 114 |
+
ESR 85 mm/hr
|
| 115 |
+
|
| 116 |
+
Serum
|
| 117 |
+
|
| 118 |
+
Na+ 135 mEq/L
|
| 119 |
+
|
| 120 |
+
K+ 4.2 mEq/L
|
| 121 |
+
|
| 122 |
+
Cl− 113 mEq/L
|
| 123 |
+
|
| 124 |
+
HCO3− 20 mEq/L
|
| 125 |
+
|
| 126 |
+
Ca+ 12.4 mg/dL
|
| 127 |
+
|
| 128 |
+
Albumin 4 g/dL
|
| 129 |
+
|
| 130 |
+
Urea nitrogen 38 mg/dL
|
| 131 |
+
|
| 132 |
+
Creatinine 2.2 mg/dL
|
| 133 |
+
|
| 134 |
+
A chest X-ray shows a right lower lobe opacity and blurring of the ipsilateral
|
| 135 |
+
diaphragmatic dome. Skull and pelvic X-rays are performed (see image). Which of
|
| 136 |
+
the following is the most likely underlying cause of this patient’s recent infections?
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
Answer: Hypogammaglobulinemia'
|
| 140 |
+
- source_sentence: 'A 35-year-old man presents to the physician with concerns that
|
| 141 |
+
a “bad flu” he has had for the past 10 days is getting worse and causing sleeplessness.
|
| 142 |
+
On presentation today, his sore throat has improved; however, fever and chest
|
| 143 |
+
and body aches persist despite the use of ibuprofen. He reports sharp, intermittent
|
| 144 |
+
chest pain that worsens with exertion. He has not traveled outside the United
|
| 145 |
+
States recently and does not have a history of substance abuse or alcohol use.
|
| 146 |
+
Physical examination shows the temperature is 38.3°C (100.9°F), the heart rate
|
| 147 |
+
is 110/min, the blood pressure is 120/60 mm Hg, and the oxygen saturation is 98%
|
| 148 |
+
on room air. There is bilateral pedal edema at the level of the ankle. Auscultation
|
| 149 |
+
reveals normal S1 and S2 and a third early diastolic heart sound. Jugular vein
|
| 150 |
+
distention is observed. An ECG shows sinus tachycardia and diffuse ST-segment
|
| 151 |
+
elevation throughout the precordial leads with 1.0-mm PR-segment depression in
|
| 152 |
+
leads I and II.
|
| 153 |
+
|
| 154 |
+
Laboratory results
|
| 155 |
+
|
| 156 |
+
WBC 14,000/mm3
|
| 157 |
+
|
| 158 |
+
Lymphocyte count 70%
|
| 159 |
+
|
| 160 |
+
Hematocrit 45%
|
| 161 |
+
|
| 162 |
+
CRP 56 mg/dL
|
| 163 |
+
|
| 164 |
+
Troponin T 1.15 ng/mL
|
| 165 |
+
|
| 166 |
+
Troponin I 0.2 ng/mL
|
| 167 |
+
|
| 168 |
+
Ck-MB 22 ng/mL
|
| 169 |
+
|
| 170 |
+
Coxsackie type b viral antibody positive
|
| 171 |
+
|
| 172 |
+
A chest x-ray shows clear lung fields bilaterally and a mildly enlarged cardiac
|
| 173 |
+
silhouette. Transthoracic ultrasound reveals a left ventricular ejection fraction
|
| 174 |
+
of 30%. Which of the following is the cause of difficulty sleeping for this patient?'
|
| 175 |
sentences:
|
| 176 |
+
- 'A 20-year-old female with type I diabetes mellitus presents to the emergency
|
| 177 |
+
department with altered mental status. Her friend said that she has been out late
|
| 178 |
+
either studying for upcoming tests or attending prayer group meetings. As far
|
| 179 |
+
as the friend can recollect, the patient appeared to be in her usual state of
|
| 180 |
+
health until only two days ago, when she was prescribed trimethoprim-sulfamethoxazole
|
| 181 |
+
for a urinary tract infection. The patient complained that the medication was
|
| 182 |
+
making her feel nauseous and bloated. The patient also relies on glargine and
|
| 183 |
+
lispro for glycemic control. Her temperature is 100.5°F (38.1°C), blood pressure
|
| 184 |
+
is 95/55 mmHg, pulse is 130/min, and respirations are 30/min. Her pupils are equal
|
| 185 |
+
and reactive to light bilaterally. The remainder of the physical exam is unremarkable.
|
| 186 |
+
Her basic metabolic panel is displayed below:
|
| 187 |
+
|
| 188 |
+
|
| 189 |
+
Serum:
|
| 190 |
+
|
| 191 |
+
Na+: 116 mEq/L
|
| 192 |
+
|
| 193 |
+
Cl-: 90 mEq/L
|
| 194 |
+
|
| 195 |
+
K+: 5.0 mEq/L
|
| 196 |
+
|
| 197 |
+
HCO3-: 2 mEq/L
|
| 198 |
+
|
| 199 |
+
BUN: 50 mg/dL
|
| 200 |
+
|
| 201 |
+
Glucose: 1,200 mg/dL
|
| 202 |
+
|
| 203 |
+
Creatinine: 1.5 mg/dL
|
| 204 |
+
|
| 205 |
+
|
| 206 |
+
Which of the following is true regarding this patient''s presentation?
|
| 207 |
+
|
| 208 |
+
|
| 209 |
+
Answer: Hyperkalemia is independent of the patient''s total body potassium stores'
|
| 210 |
+
- 'A 24-year-old woman, otherwise healthy, presents with a non-productive cough,
|
| 211 |
+
sore throat, and myalgia. The patient reports that her symptoms started gradually
|
| 212 |
+
2 weeks ago and have not improved. She has no significant past medical history
|
| 213 |
+
and no current medications. She is a college student and denies any recent overseas
|
| 214 |
+
travel. The patient received the flu vaccine this year, and her 2-part PPD required
|
| 215 |
+
for school was negative. She does not smoke, drink, or use recreational drugs.
|
| 216 |
+
The patient denies being sexually active. The vital signs include: temperature
|
| 217 |
+
37.0°C (98.6°F), blood pressure 110/75 mm Hg, pulse 98/min, respirations 20/min,
|
| 218 |
+
and oxygen saturation 99% on room air. On physical exam, the patient is alert
|
| 219 |
+
and cooperative. The cardiac exam is normal. There are rales present bilaterally
|
| 220 |
+
over both lung fields. The skin and conjunctiva are pale. The laboratory tests
|
| 221 |
+
are pending. The chest X-ray is shown in the image. Which of the following laboratory
|
| 222 |
+
findings would also commonly be found in this patient?
|
| 223 |
+
|
| 224 |
+
|
| 225 |
+
Answer: Low serum levels of complement'
|
| 226 |
+
- 'A 35-year-old man presents to the physician with concerns that a “bad flu” he
|
| 227 |
+
has had for the past 10 days is getting worse and causing sleeplessness. On presentation
|
| 228 |
+
today, his sore throat has improved; however, fever and chest and body aches persist
|
| 229 |
+
despite the use of ibuprofen. He reports sharp, intermittent chest pain that worsens
|
| 230 |
+
with exertion. He has not traveled outside the United States recently and does
|
| 231 |
+
not have a history of substance abuse or alcohol use. Physical examination shows
|
| 232 |
+
the temperature is 38.3°C (100.9°F), the heart rate is 110/min, the blood pressure
|
| 233 |
+
is 120/60 mm Hg, and the oxygen saturation is 98% on room air. There is bilateral
|
| 234 |
+
pedal edema at the level of the ankle. Auscultation reveals normal S1 and S2 and
|
| 235 |
+
a third early diastolic heart sound. Jugular vein distention is observed. An ECG
|
| 236 |
+
shows sinus tachycardia and diffuse ST-segment elevation throughout the precordial
|
| 237 |
+
leads with 1.0-mm PR-segment depression in leads I and II.
|
| 238 |
+
|
| 239 |
+
Laboratory results
|
| 240 |
+
|
| 241 |
+
WBC 14,000/mm3
|
| 242 |
+
|
| 243 |
+
Lymphocyte count 70%
|
| 244 |
+
|
| 245 |
+
Hematocrit 45%
|
| 246 |
+
|
| 247 |
+
CRP 56 mg/dL
|
| 248 |
+
|
| 249 |
+
Troponin T 1.15 ng/mL
|
| 250 |
+
|
| 251 |
+
Troponin I 0.2 ng/mL
|
| 252 |
+
|
| 253 |
+
Ck-MB 22 ng/mL
|
| 254 |
+
|
| 255 |
+
Coxsackie type b viral antibody positive
|
| 256 |
+
|
| 257 |
+
A chest x-ray shows clear lung fields bilaterally and a mildly enlarged cardiac
|
| 258 |
+
silhouette. Transthoracic ultrasound reveals a left ventricular ejection fraction
|
| 259 |
+
of 30%. Which of the following is the cause of difficulty sleeping for this patient?
|
| 260 |
+
|
| 261 |
+
|
| 262 |
+
Answer: Decreased cardiac contractility due to cardiac myocyte injury'
|
| 263 |
- source_sentence: A 45-year-old Caucasian man is given nitroglycerin for the management
|
| 264 |
of his stable angina. Nitroglycerin given for the rapid relief of acute angina
|
| 265 |
would most likely be given through what route of administration?
|
| 266 |
sentences:
|
| 267 |
+
- 'A 43-year-old man is brought to the emergency department because of severe retrosternal
|
| 268 |
+
pain radiating to the back and left shoulder for 4 hours. The pain began after
|
| 269 |
+
attending a farewell party for his coworker at a local bar. He had 3–4 episodes
|
| 270 |
+
of nonbilious vomiting before the onset of the pain. He has hypertension. His
|
| 271 |
+
father died of cardiac arrest at the age of 55 years. He has smoked one pack of
|
| 272 |
+
cigarettes daily for the last 23 years and drinks 2–3 beers daily. His current
|
| 273 |
+
medications include amlodipine and valsartan. He appears pale. His temperature
|
| 274 |
+
is 37° C (98.6° F), pulse is 115/min, and blood pressure is 90/60 mm Hg. There
|
| 275 |
+
are decreased breath sounds over the left base and crepitus is palpable over the
|
| 276 |
+
thorax. Abdominal examination shows tenderness to palpation in the epigastric
|
| 277 |
+
region; bowel sounds are normal. Laboratory studies show:
|
| 278 |
+
|
| 279 |
+
Hemoglobin 16.5 g/dL
|
| 280 |
+
|
| 281 |
+
Leukocyte count 11,100/mm3
|
| 282 |
+
|
| 283 |
+
Serum
|
| 284 |
+
|
| 285 |
+
Na+ 133 mEq/L
|
| 286 |
|
| 287 |
+
K+ 3.2 mEq/L
|
| 288 |
|
| 289 |
+
Cl- 98 mEq/L
|
| 290 |
+
|
| 291 |
+
HCO3- 30 mEq/L
|
| 292 |
+
|
| 293 |
+
Creatinine 1.4 mg/dL
|
| 294 |
+
|
| 295 |
+
An ECG shows sinus tachycardia with left ventricular hypertrophy. Intravenous
|
| 296 |
+
fluid resuscitation and antibiotics are begun. Which of the following is the most
|
| 297 |
+
appropriate test to confirm the diagnosis in this patient?"
|
| 298 |
+
|
| 299 |
+
|
| 300 |
+
Answer: CT scan of the chest'
|
| 301 |
+
- 'A 45-year-old Caucasian man is given nitroglycerin for the management of his
|
| 302 |
+
stable angina. Nitroglycerin given for the rapid relief of acute angina would
|
| 303 |
+
most likely be given through what route of administration?
|
| 304 |
+
|
| 305 |
+
|
| 306 |
+
Answer: Sublingual'
|
| 307 |
- 'A 67-year-old man with stable coronary artery disease comes to the physician
|
| 308 |
for a follow-up examination. Aside from occasional exertional chest pain on mowing
|
| 309 |
the lawn or prolonged jogging, he feels well. He goes jogging for 20 minutes once
|
|
|
|
| 314 |
|
| 315 |
|
| 316 |
Answer: Reflex sympathetic activity'
|
| 317 |
+
- source_sentence: 'A 42-year-old woman comes to the physician for a routine health
|
| 318 |
+
maintenance examination. She has generalized fatigue and has had difficulties
|
| 319 |
+
doing her household duties for the past 3 months. She has eczema and gastroesophageal
|
| 320 |
+
reflux disease. She has a history of using intravenous methamphetamine in her
|
| 321 |
+
youth but has not used illicit drugs in 23 years. Her medications include topical
|
| 322 |
+
clobetasol and pantoprazole. She is 160 cm (5 ft 3 in) tall and weighs 105 kg
|
| 323 |
+
(231 lb); BMI is 42 kg/m2. Her temperature is 37°C (98.6°F), pulse is 95/min,
|
| 324 |
+
and blood pressure is 145/90 mm Hg. The lungs are clear to auscultation. Cardiac
|
| 325 |
+
examination shows no abnormalities. Pelvic examination shows a normal vagina and
|
| 326 |
+
cervix. Laboratory studies show:
|
| 327 |
|
| 328 |
+
Hemoglobin 13.1 g/dL
|
| 329 |
|
| 330 |
+
Leukocyte count 7,800/mm3
|
| 331 |
+
|
| 332 |
+
Platelet count 312,000/mm3
|
| 333 |
+
|
| 334 |
+
Serum
|
| 335 |
+
|
| 336 |
+
Na+ 141 mEq/L
|
| 337 |
+
|
| 338 |
+
K+ 4.6 mEq/L
|
| 339 |
+
|
| 340 |
+
Cl- 98 mEq/L
|
| 341 |
+
|
| 342 |
+
Urea nitrogen 12 mg/dL
|
| 343 |
+
|
| 344 |
+
Fasting glucose 110 mg/dL
|
| 345 |
+
|
| 346 |
+
Creatinine 0.8 mg/dL
|
| 347 |
+
|
| 348 |
+
Total cholesterol 269 mg/dL
|
| 349 |
+
|
| 350 |
+
HDL-cholesterol 55 mg/dL
|
| 351 |
+
|
| 352 |
+
LDL-cholesterol 160 mg/dL
|
| 353 |
+
|
| 354 |
+
Triglycerides 320 mg/dL
|
| 355 |
+
|
| 356 |
+
Urinalysis is within normal limits. An x-ray of the chest shows no abnormalities.
|
| 357 |
+
She has not lost any weight over the past year despite following supervised weight
|
| 358 |
+
loss programs, including various diets and exercise regimens. Which of the following
|
| 359 |
+
is the most appropriate next step in management of this patient?"'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 360 |
sentences:
|
| 361 |
+
- 'A 17-year-old male with a history of bipolar disorder presents to clinic with
|
| 362 |
+
a rash (Image A) that he noticed one week after starting a medication to stabilize
|
| 363 |
+
his mood. The medication blocks voltage-gated sodium channels and can be used
|
| 364 |
+
to treat partial simple, partial complex, and generalized tonic-clonic seizures.
|
| 365 |
+
Regarding the patient''s rash, what is the next step in management?
|
| 366 |
+
|
| 367 |
+
|
| 368 |
+
Answer: Immediately discontinue the drug'
|
| 369 |
+
- 'A 42-year-old woman comes to the physician for a routine health maintenance examination.
|
| 370 |
+
She has generalized fatigue and has had difficulties doing her household duties
|
| 371 |
+
for the past 3 months. She has eczema and gastroesophageal reflux disease. She
|
| 372 |
+
has a history of using intravenous methamphetamine in her youth but has not used
|
| 373 |
+
illicit drugs in 23 years. Her medications include topical clobetasol and pantoprazole.
|
| 374 |
+
She is 160 cm (5 ft 3 in) tall and weighs 105 kg (231 lb); BMI is 42 kg/m2. Her
|
| 375 |
+
temperature is 37°C (98.6°F), pulse is 95/min, and blood pressure is 145/90 mm
|
| 376 |
+
Hg. The lungs are clear to auscultation. Cardiac examination shows no abnormalities.
|
| 377 |
+
Pelvic examination shows a normal vagina and cervix. Laboratory studies show:
|
| 378 |
+
|
| 379 |
+
Hemoglobin 13.1 g/dL
|
| 380 |
+
|
| 381 |
+
Leukocyte count 7,800/mm3
|
| 382 |
+
|
| 383 |
+
Platelet count 312,000/mm3
|
| 384 |
+
|
| 385 |
+
Serum
|
| 386 |
+
|
| 387 |
+
Na+ 141 mEq/L
|
| 388 |
+
|
| 389 |
+
K+ 4.6 mEq/L
|
| 390 |
+
|
| 391 |
+
Cl- 98 mEq/L
|
| 392 |
+
|
| 393 |
+
Urea nitrogen 12 mg/dL
|
| 394 |
+
|
| 395 |
+
Fasting glucose 110 mg/dL
|
| 396 |
+
|
| 397 |
+
Creatinine 0.8 mg/dL
|
| 398 |
+
|
| 399 |
+
Total cholesterol 269 mg/dL
|
| 400 |
+
|
| 401 |
+
HDL-cholesterol 55 mg/dL
|
| 402 |
+
|
| 403 |
+
LDL-cholesterol 160 mg/dL
|
| 404 |
+
|
| 405 |
+
Triglycerides 320 mg/dL
|
| 406 |
+
|
| 407 |
+
Urinalysis is within normal limits. An x-ray of the chest shows no abnormalities.
|
| 408 |
+
She has not lost any weight over the past year despite following supervised weight
|
| 409 |
+
loss programs, including various diets and exercise regimens. Which of the following
|
| 410 |
+
is the most appropriate next step in management of this patient?"
|
| 411 |
+
|
| 412 |
+
|
| 413 |
+
Answer: Bariatric surgery'
|
| 414 |
+
- 'A 43-year-old woman visits her primary care provider complaining of fatigue.
|
| 415 |
+
Although she has had it for several months, her fatigue has been worsening over
|
| 416 |
+
the past few weeks. She has no other symptoms. Past medical history is significant
|
| 417 |
+
for hypertension. She takes chlorthalidone, an oral contraceptive pill, and a
|
| 418 |
+
multivitamin every day. Family history is noncontributory. She drinks about 1
|
| 419 |
+
bottle of wine every day and started taking a shot or two of whisky or vodka every
|
| 420 |
+
morning before work to “clear out the cobwebs”. She was recently fired from her
|
| 421 |
+
job. Today, her heart rate is 90/min, respiratory rate is 17/min, blood pressure
|
| 422 |
+
is 110/65 mm Hg, and temperature is 36.7°C (98.1°F). On physical exam, she appears
|
| 423 |
+
malnourished and anxious. Her conjunctiva are pale, and glossitis is noted on
|
| 424 |
+
oral exam. Her heart has a regular rate and rhythm and her lungs are clear to
|
| 425 |
+
auscultation bilaterally. She has no gait or balance abnormalities. Lab results
|
| 426 |
+
show a hemoglobin of 10 g/dL, with a mean corpuscular volume (MCV) of 108 fl.
|
| 427 |
+
Elevated level of which of the following will most likely to be found in this
|
| 428 |
+
patient?
|
| 429 |
+
|
| 430 |
+
|
| 431 |
+
Answer: Homocysteine'
|
| 432 |
+
- source_sentence: A 45-year-old woman, gravida 3, para 2, at 18 weeks' gestation
|
| 433 |
+
comes to the physician for a prenatal visit. Ultrasonography at a previous visit
|
| 434 |
+
when she was at 12 weeks' gestation showed a hypoplastic nasal bone. Pelvic examination
|
| 435 |
+
shows a uterus consistent in size with an 18-week gestation. Maternal serum studies
|
| 436 |
+
show low α-fetoprotein and free estriol concentrations, and increased inhibin
|
| 437 |
+
A and β-hCG concentrations. Physical examination of the infant after delivery
|
| 438 |
+
is most likely to show which of the following findings?
|
| 439 |
sentences:
|
| 440 |
+
- 'A 45-year-old woman, gravida 3, para 2, at 18 weeks'' gestation comes to the
|
| 441 |
+
physician for a prenatal visit. Ultrasonography at a previous visit when she was
|
| 442 |
+
at 12 weeks'' gestation showed a hypoplastic nasal bone. Pelvic examination shows
|
| 443 |
+
a uterus consistent in size with an 18-week gestation. Maternal serum studies
|
| 444 |
+
show low α-fetoprotein and free estriol concentrations, and increased inhibin
|
| 445 |
+
A and β-hCG concentrations. Physical examination of the infant after delivery
|
| 446 |
+
is most likely to show which of the following findings?
|
| 447 |
+
|
| 448 |
+
|
| 449 |
+
Answer: Single transverse palmar crease'
|
| 450 |
+
- 'A 35-year-old woman gravida 2, para 1, comes to the physician for her first prenatal
|
| 451 |
+
visit. Pregnancy and delivery of her first child were uncomplicated. She is not
|
| 452 |
+
sure about the date of her last menstrual period. Pelvic examination shows a uterus
|
| 453 |
+
consistent in size with a 10-week gestation. An ultrasound examination confirms
|
| 454 |
+
the gestational age and shows one fetus with no indication of multiple gestations.
|
| 455 |
+
During counseling on pregnancy risks and possible screening and diagnostic tests,
|
| 456 |
+
the patient states she would like to undergo screening for Down syndrome. She
|
| 457 |
+
would prefer immediate and secure screening with a low risk to herself and the
|
| 458 |
+
fetus. Which of the following is the most appropriate next step in management
|
| 459 |
+
at this time?
|
| 460 |
+
|
| 461 |
+
|
| 462 |
+
Answer: Cell-free fetal DNA testing'
|
| 463 |
+
- 'A 6-month-old male presents with a painless, enlarged left scrotum. After examining
|
| 464 |
+
the patient, you suspect this enlargement is secondary to serous fluid entering
|
| 465 |
+
and accumulating in the scrotum through a patent processus vaginalis. Which of
|
| 466 |
+
the following would be the most useful next step in confirming the diagnosis of
|
| 467 |
+
this patient’s condition?
|
| 468 |
+
|
| 469 |
+
|
| 470 |
+
Answer: Transillumination test followed by scrotal ultrasound'
|
| 471 |
pipeline_tag: sentence-similarity
|
| 472 |
library_name: sentence-transformers
|
| 473 |
---
|
|
|
|
| 521 |
model = SentenceTransformer("sentence_transformers_model_id")
|
| 522 |
# Run inference
|
| 523 |
sentences = [
|
| 524 |
+
"A 45-year-old woman, gravida 3, para 2, at 18 weeks' gestation comes to the physician for a prenatal visit. Ultrasonography at a previous visit when she was at 12 weeks' gestation showed a hypoplastic nasal bone. Pelvic examination shows a uterus consistent in size with an 18-week gestation. Maternal serum studies show low α-fetoprotein and free estriol concentrations, and increased inhibin A and β-hCG concentrations. Physical examination of the infant after delivery is most likely to show which of the following findings?",
|
| 525 |
+
"A 45-year-old woman, gravida 3, para 2, at 18 weeks' gestation comes to the physician for a prenatal visit. Ultrasonography at a previous visit when she was at 12 weeks' gestation showed a hypoplastic nasal bone. Pelvic examination shows a uterus consistent in size with an 18-week gestation. Maternal serum studies show low α-fetoprotein and free estriol concentrations, and increased inhibin A and β-hCG concentrations. Physical examination of the infant after delivery is most likely to show which of the following findings?\n\nAnswer: Single transverse palmar crease",
|
| 526 |
+
'A 35-year-old woman gravida 2, para 1, comes to the physician for her first prenatal visit. Pregnancy and delivery of her first child were uncomplicated. She is not sure about the date of her last menstrual period. Pelvic examination shows a uterus consistent in size with a 10-week gestation. An ultrasound examination confirms the gestational age and shows one fetus with no indication of multiple gestations. During counseling on pregnancy risks and possible screening and diagnostic tests, the patient states she would like to undergo screening for Down syndrome. She would prefer immediate and secure screening with a low risk to herself and the fetus. Which of the following is the most appropriate next step in management at this time?\n\nAnswer: Cell-free fetal DNA testing',
|
| 527 |
]
|
| 528 |
embeddings = model.encode(sentences)
|
| 529 |
print(embeddings.shape)
|
|
|
|
| 532 |
# Get the similarity scores for the embeddings
|
| 533 |
similarities = model.similarity(embeddings, embeddings)
|
| 534 |
print(similarities)
|
| 535 |
+
# tensor([[1.0000, 0.9805, 0.5273],
|
| 536 |
+
# [0.9805, 1.0000, 0.5430],
|
| 537 |
+
# [0.5273, 0.5430, 1.0000]], dtype=torch.bfloat16)
|
| 538 |
```
|
| 539 |
|
| 540 |
<!--
|
|
|
|
| 587 |
| type | string | string | string |
|
| 588 |
| details | <ul><li>min: 36 tokens</li><li>mean: 219.2 tokens</li><li>max: 791 tokens</li></ul> | <ul><li>min: 49 tokens</li><li>mean: 227.77 tokens</li><li>max: 819 tokens</li></ul> | <ul><li>min: 51 tokens</li><li>mean: 159.34 tokens</li><li>max: 430 tokens</li></ul> |
|
| 589 |
* Samples:
|
| 590 |
+
| sentence_0 | sentence_1 | sentence_2 |
|
| 591 |
+
|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
| 592 |
+
| <code>A 48-year-old woman presents to the emergency department because of increasingly severe right upper abdominal pain, fever, and non-bloody vomiting for the last 5 hours. The pain is dull, intermittent, and radiates to her right shoulder. During the past 3 months, she has had recurring abdominal discomfort after meals. The patient underwent an appendectomy more than 30 years ago. She has hypertension, diabetes mellitus type 2, and chronic back pain. She takes bisoprolol, metformin, and ibuprofen daily. She is 171 cm (5 ft 6 in) tall and weighs 99 kg (218 lb). Her BMI is 35.2 kg/m2. She appears uncomfortable and is clutching her abdomen. Her temperature is 38.5°C (101.3°F), pulse is 108/min, and blood pressure is 150/82 mm Hg. Abdominal examination shows right upper quadrant abdominal tenderness and guarding. Upon deep palpation of the right upper quadrant, the patient pauses during inspiration. Laboratory studies show the following:<br>Blood<br>Hemoglobin 13.1 g/dL<br>Leukocyte count 10,900/mm3<br>P...</code> | <code>A 48-year-old woman presents to the emergency department because of increasingly severe right upper abdominal pain, fever, and non-bloody vomiting for the last 5 hours. The pain is dull, intermittent, and radiates to her right shoulder. During the past 3 months, she has had recurring abdominal discomfort after meals. The patient underwent an appendectomy more than 30 years ago. She has hypertension, diabetes mellitus type 2, and chronic back pain. She takes bisoprolol, metformin, and ibuprofen daily. She is 171 cm (5 ft 6 in) tall and weighs 99 kg (218 lb). Her BMI is 35.2 kg/m2. She appears uncomfortable and is clutching her abdomen. Her temperature is 38.5°C (101.3°F), pulse is 108/min, and blood pressure is 150/82 mm Hg. Abdominal examination shows right upper quadrant abdominal tenderness and guarding. Upon deep palpation of the right upper quadrant, the patient pauses during inspiration. Laboratory studies show the following:<br>Blood<br>Hemoglobin 13.1 g/dL<br>Leukocyte count 10,900/mm3<br>P...</code> | <code>A 27-year-old woman presents with acute abdominal pain in her right upper quadrant. The pain came on suddenly while she was eating dinner. After this pain she began feeling dizzy and came to the emergency department. In the ED, her blood pressure is 75/40 mmHg, pulse is 100/minute, and she is afebrile. On physical exam, she feels too light-headed to ambulate. She demonstrates normal bowel sounds with tenderness upon palpation in the right upper quadrant. The patient is deemed too unstable for imaging. An abdominal radiograph and CT are reviewed from a recent previous visit to the ED for mild abdominal pain, and are shown in Figures A and B, respectively. Which of the following specific additional findings in her history supports the most likely diagnosis?<br><br>Answer: Use of oral contraceptives (OCPs) for birth control</code> |
|
| 593 |
+
| <code>A 42-year-old man presents to his primary care provider for abdominal pain. He reports that for several months he has been experiencing a stabbing pain above the umbilicus during meals. He denies associated symptoms of nausea, vomiting, or diarrhea. The patient’s past medical history is significant for hypertension and hyperlipidemia for which he takes amlodipine and atorvastatin. His family history is significant for lung cancer in his father. The patient is a current smoker with a 20 pack-year smoking history and drinks 3-5 beers per week. Initial laboratory testing is as follows:<br><br>Serum:<br>Na+: 141 mEq/L<br>K+: 4.6 mEq/L<br>Cl-: 102 mEq/L<br>HCO3-: 25 mEq/L<br>Urea nitrogen: 14 mg/dL<br>Creatinine: 1.1 mg/dL<br>Glucose: 120 mg/dL<br>Calcium: 8.4 mg/dL<br>Alkaline phosphatase: 66 U/L<br>Aspartate aminotransferase (AST): 40 U/L<br>Alanine aminotransferase (ALT): 52 U/L<br>Gastrin: 96 pg/mL (<100 pg/mL)<br>Lipase: 90 U/L (<160 U/L)<br><br>The patient is started on a proton pump inhibitor without symptomatic improvement after 6 w...</code> | <code>A 42-year-old man presents to his primary care provider for abdominal pain. He reports that for several months he has been experiencing a stabbing pain above the umbilicus during meals. He denies associated symptoms of nausea, vomiting, or diarrhea. The patient’s past medical history is significant for hypertension and hyperlipidemia for which he takes amlodipine and atorvastatin. His family history is significant for lung cancer in his father. The patient is a current smoker with a 20 pack-year smoking history and drinks 3-5 beers per week. Initial laboratory testing is as follows:<br><br>Serum:<br>Na+: 141 mEq/L<br>K+: 4.6 mEq/L<br>Cl-: 102 mEq/L<br>HCO3-: 25 mEq/L<br>Urea nitrogen: 14 mg/dL<br>Creatinine: 1.1 mg/dL<br>Glucose: 120 mg/dL<br>Calcium: 8.4 mg/dL<br>Alkaline phosphatase: 66 U/L<br>Aspartate aminotransferase (AST): 40 U/L<br>Alanine aminotransferase (ALT): 52 U/L<br>Gastrin: 96 pg/mL (<100 pg/mL)<br>Lipase: 90 U/L (<160 U/L)<br><br>The patient is started on a proton pump inhibitor without symptomatic improvement after 6 w...</code> | <code>A 42-year-old man comes to his primary care physician complaining of abdominal pain. He describes intermittent, burning, epigastric pain over the past 4 months. He reports that the pain worsens following meals. He had an upper gastrointestinal endoscopy done 2 months ago that showed a gastric ulcer without evidence of malignancy. The patient was prescribed pantoprazole with minimal improvement in symptoms. He denies nausea, vomiting, diarrhea, or melena. The patient has no other medical problems. He had a total knee replacement 3 years ago following a motor vehicle accident for which he took naproxen for 2 months for pain management. He has smoked 1 pack per day since the age 22 and drinks 1-2 beers several nights a week with dinner. He works as a truck driver, and his diet consists of mostly of fast food. His family history is notable for hypertension in his paternal grandfather and coronary artery disease in his mother. On physical examination, the abdomen is soft, nondistended, and ...</code> |
|
| 594 |
+
| <code>A 62-year-old woman comes to the physician in June for a routine check-up. She has chronic back pain and underwent an appendectomy at the age of 27. She is married and has two kids. The patient recently got back from a cruise to Mexico where she celebrated her 40th wedding anniversary. Her last mammogram was 6 months ago and showed no abnormalities. Her last Pap smear was 2 years ago and unremarkable. A colonoscopy 5 years ago was normal. Her mother died of breast cancer last year and her father has arterial hypertension. Her immunization records show that she has never received a pneumococcal or a shingles vaccine, her last tetanus booster was 6 years ago, and her last influenza vaccine was 2 years ago. She drinks 1– 2 alcoholic beverages every weekend. She takes a multivitamin daily and uses topical steroids. She regularly attends water aerobic classes and physical therapy for her back pain. She is 168 cm (5 ft 6 in) tall and weighs 72 kg (160 lb); BMI is 26 kg/m2. Her temperature is...</code> | <code>A 62-year-old woman comes to the physician in June for a routine check-up. She has chronic back pain and underwent an appendectomy at the age of 27. She is married and has two kids. The patient recently got back from a cruise to Mexico where she celebrated her 40th wedding anniversary. Her last mammogram was 6 months ago and showed no abnormalities. Her last Pap smear was 2 years ago and unremarkable. A colonoscopy 5 years ago was normal. Her mother died of breast cancer last year and her father has arterial hypertension. Her immunization records show that she has never received a pneumococcal or a shingles vaccine, her last tetanus booster was 6 years ago, and her last influenza vaccine was 2 years ago. She drinks 1– 2 alcoholic beverages every weekend. She takes a multivitamin daily and uses topical steroids. She regularly attends water aerobic classes and physical therapy for her back pain. She is 168 cm (5 ft 6 in) tall and weighs 72 kg (160 lb); BMI is 26 kg/m2. Her temperature is...</code> | <code>A 66-year-old G3P3 presents with an 8-year-history of back pain, perineal discomfort, difficulty urinating, recurrent malaise, and low-grade fevers. These symptoms have recurred regularly for the past 5–6 years. She also says that there are times when she experiences a feeling of having a foreign body in her vagina. With the onset of symptoms, she was evaluated by a physician who prescribed her medications after a thorough examination and recommended a vaginal pessary, but she was non-compliant. She had 3 vaginal deliveries She has been menopausal since 51 years of age. She does not have a history of malignancies or cardiovascular disease. She has type 2 diabetes mellitus that is controlled with diet and metformin. Her vital signs include: blood pressure 110/60 mm Hg, heart rate 91/min, respiratory rate 13/min, and temperature 37.4℃ (99.3℉). On physical examination, there is bilateral costovertebral angle tenderness. The urinary bladder is non-palpable. The gynecologic examination reve...</code> |
|
| 595 |
+
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
|
| 596 |
```json
|
| 597 |
{
|
| 598 |
+
"scale": 20.0,
|
| 599 |
+
"similarity_fct": "cos_sim",
|
| 600 |
+
"gather_across_devices": false
|
| 601 |
}
|
| 602 |
```
|
| 603 |
|
|
|
|
| 736 |
}
|
| 737 |
```
|
| 738 |
|
| 739 |
+
#### MultipleNegativesRankingLoss
|
| 740 |
```bibtex
|
| 741 |
+
@misc{henderson2017efficient,
|
| 742 |
+
title={Efficient Natural Language Response Suggestion for Smart Reply},
|
| 743 |
+
author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
|
| 744 |
year={2017},
|
| 745 |
+
eprint={1705.00652},
|
| 746 |
archivePrefix={arXiv},
|
| 747 |
+
primaryClass={cs.CL}
|
| 748 |
}
|
| 749 |
```
|
| 750 |
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 613892480
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f3b07bc5fa03580dcc3c4ff90771f8d30a50c8822989015e54bd568a518d5cf8
|
| 3 |
size 613892480
|