yossiovadia commited on
Commit
9b9f392
·
verified ·
1 Parent(s): 20666a9

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -5,127 +5,239 @@ tags:
5
  - feature-extraction
6
  - dense
7
  - generated_from_trainer
8
- - dataset_size:12962
9
  - loss:TripletLoss
10
- - dataset_size:21344
11
  base_model: llm-semantic-router/mmbert-embed-32k-2d-matryoshka
12
  widget:
13
- - source_sentence: What is (are) Leigh's Disease ?
 
 
 
 
 
 
 
 
 
 
14
  sentences:
15
- - Leigh's disease is a rare inherited neurometabolic disorder that affects the central
16
- nervous system.This progressive disorder begins in infants between the ages of
17
- three months and two years.Rarely, it occurs in teenagers and adults.Leigh's disease
18
- can be caused by mutations in mitochondrial DNA or by deficiencies of an enzyme
19
- called pyruvate dehydrogenase.Symptoms of Leigh's disease usually progress rapidly.The
20
- earliest signs may be poor sucking ability,and the loss of head control and motor
21
- skills.These symptoms may be accompanied by loss of appetite, vomiting, irritability,
22
- continuous crying, and seizures.
23
- - Mutations in the ACE, AGT, AGTR1, or REN gene can cause renal tubular dysgenesis.These
24
- genes are involved in the renin-angiotensin system, which regulates blood pressure
25
- and the balance of fluids and salts in the body and plays a role in kidney development
26
- before birth. The renin-angiotensin system consists of several proteins that are
27
- involved in a series of steps to produce a protein called angiotensin II.In the
28
- first step, the renin protein (produced from the REN gene) converts a protein
29
- called angiotensinogen (produced from the AGT gene) to angiotensin I.In the next
30
- step, angiotensin-converting enzyme (produced from the ACE gene) converts angiotensin
31
- I to angiotensin II.Angiotensin II attaches (binds) to the angiotensin II receptor
32
- type 1 (AT1 receptor; produced from the AGTR1 gene), stimulating chemical signaling.
33
- By binding to the AT1 receptor, angiotensin II causes blood vessels to narrow
34
- (constrict), which results in increased blood pressure.
35
- - What causes Hashimoto's encephalitis? The exact cause of Hashimoto's encephalitis
36
- (HE) is unknown, but is thought to relate to autoimmune or other autoinflammatory
37
- processes. While it is associated with Hashimoto's thyroiditis, the exact nature
38
- of the relationship between the two conditions is unclear. It does not appear
39
- to be directly related to hypothyroidism or hyperthyroidism.
40
- - source_sentence: What causes Heart Palpitations ?
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  sentences:
42
- - "These include decongestants (found in cough and cold medicines) and some herbal\
43
- \ and nutritional supplements.\n \nCaffeine, nicotine (found in\
44
- \ tobacco), alcohol, and illegal drugs (such as cocaine and amphetamines) also\
45
- \ can cause palpitations.\n \nCauses Related to Heart Problems\n\
46
- \ \nSome palpitations are symptoms of arrhythmias.Arrhythmias are\
47
- \ problems with the rate or rhythm of the heartbeat.However, less than half of\
48
- \ the people who have palpitations have arrhythmias.\n \nDuring\
49
- \ an arrhythmia, the heart can beat too fast, too slow, or with an irregular rhythm."
50
- - "Arrhythmias are problems with the rate or rhythm of the heartbeat.\n \
51
- \ \nSome arrhythmias are signs of heart conditions, such as heart attack,\
52
- \ heart failure, heart valve disease, or heart muscle disease.However, less than\
53
- \ half of the people who have palpitations have arrhythmias.\n \
54
- \ \nYou can take steps to reduce or prevent palpitations.Try to avoid things that\
55
- \ trigger them (such as stress and stimulants) and treat related medical conditions.\n\
56
- \ \nOutlook\n \nPalpitations are very common.They\
57
- \ usually aren't serious or harmful, but they can be bothersome.If you have them,\
58
- \ your doctor can decide whether you need treatment or ongoing care."
59
- - Rheumatic fever is an inflammatory condition that may develop after infection
60
- with group A Streptococcus bacteria, such as strep throat or scarlet fever. It
61
- is primarily diagnosed in children between the ages of 6 and 16 and can affect
62
- the heart, joints, nervous system and/or skin. Early signs and symptoms include
63
- sore throat; swollen red tonsils; fever; headache; and/or muscle and joint aches.
64
- Some affected people develop rheumatic heart disease, which can lead to serious
65
- inflammation and scarring of the heart valves. It is not clear why some people
66
- who are infected with group A Streptococcus bacteria go on to develop rheumatic
67
- fever, while others do not; however, it appears that some families may have a
68
- genetic susceptibility to develop the condition. Treatment usually includes antibiotics
69
- and/or anti-inflammatory medications.
70
- - source_sentence: What are the symptoms of Colpocephaly ?
 
 
 
 
 
 
 
 
 
 
 
 
71
  sentences:
72
- - What are the symptoms of colpocephaly? Colpocephaly is characterized by a small
73
- head circumference and in many cases, intellectual disability. Other signs and
74
- symptoms may include movement abnormalities, muscle spasms, and seizures. Poor
75
- vision, speech and language difficulties, deafness, and chorioretinitis have been
76
- described in individual cases. Cases of people with colpocephaly and normal neurological
77
- and motor development have also been described.
78
- - The NINDS supports a broad program of research on disorders of the nervous system,
79
- including CIDP. Much of this research is aimed at increasing the understanding
80
- of these disorders and finding ways to prevent, treat, and cure them.
81
- - What are the signs and symptoms of pachygyria? Signs and symptoms of pachygyria
82
- vary among affected people and can depend on the extent of the abnormality. They
83
- often include poor muscle tone and motor function; seizures; developmental delays;
84
- intellectual disability; failure to grow and thrive; difficulties with feeding
85
- or swallowing; swelling in the extremities; and small head size (microcephaly).
86
- Most infants appear physically normal, but some conditions associated with pachygyria
87
- cause distinctive facial or skull characteristics.
88
- - source_sentence: How many people are affected by sialuria ?
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
  sentences:
90
- - PD is both chronic, meaning it persists over a long period of time, and progressive,
91
- meaning its symptoms grow worse over time. Although some people become severely
92
- disabled, others experience only minor motor disruptions. Tremor is the major
93
- symptom for some individuals, while for others tremor is only a minor complaint
94
- and other symptoms are more troublesome. It is currently not possible to predict
95
- which symptoms will affect an individual, and the intensity of the symptoms also
96
- varies from person to person.
97
- - Fewer than 10 people worldwide have been diagnosed with sialuria. There are probably
98
- more people with the disorder who have not been diagnosed, as sialuria can be
99
- difficult to detect because of its variable features.
100
- - Sialic acid storage disease is a very rare disorder. ISSD has been identified
101
- in only a few dozen infants worldwide. Salla disease occurs mainly in Finland
102
- and Sweden and has been reported in approximately 150 people. A few individuals
103
- have been identified as having intermediate severe Salla disease.
104
- - source_sentence: What is (are) Turner Syndrome ?
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
105
  sentences:
106
- - What are the signs and symptoms of Turner syndrome?There are various signs and
107
- symptoms of Turner syndrome, which can range from very mild to more severe.Short
108
- stature is the most common feature and usually becomes apparent by age 5.In early
109
- childhood, frequent middle ear infections are common and can lead to hearing loss
110
- in some cases.Most affected girls do not produce the necessary sex hormones for
111
- puberty, so they don't have a pubertal growth spurt, start their periods or develop
112
- breasts without hormone treatment.While most affected women are infertile, pregnancy
113
- is possible with egg donation and assisted reproductive technology.Intelligence
114
- is usually normal, but developmental delay, learning disabilities, and/or behavioral
115
- problems are sometimes present.
116
- - What are the signs and symptoms of Myotonic dystrophy?Signs and symptoms of myotonic
117
- dystrophy often begin in a person's 20s or 30s, but they can begin at any age.Symptoms
118
- often include progressive muscle weakness and wasting (particularly in the legs,
119
- hands, neck and face); stiffness and tightness of the muscles; cataracts; and
120
- cardiac conduction defects (irregular electrical control of the heartbeat).Some
121
- affected men also have hormonal changes that may cause balding or infertility.The
122
- severity of symptoms can vary widely among affected people.The signs and symptoms
123
- of type 1 and type 2 overlap, but type 2 is generally more mild than type 1.People
124
- who are born with the condition have congenital myotonic dystrophy, which is a
125
- variation of type 1.Congenital myotonic dystophy causes weakness of all muscles,
126
- in addition to breathing problems, developmental delays and intellectual disabilities.
127
- - 'Assisted reproduction techniques can help some women with Turner syndrome get
128
- pregnant. NIH: National Institute of Child Health and Human Development'
 
 
 
 
 
 
 
129
  pipeline_tag: sentence-similarity
130
  library_name: sentence-transformers
131
  ---
@@ -138,7 +250,7 @@ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [l
138
 
139
  ### Model Description
140
  - **Model Type:** Sentence Transformer
141
- - **Base model:** [llm-semantic-router/mmbert-embed-32k-2d-matryoshka](https://huggingface.co/llm-semantic-router/mmbert-embed-32k-2d-matryoshka) <!-- at revision ba2b3857d830fa4f10da37cd462106fd81ed14bd -->
142
  - **Maximum Sequence Length:** 32768 tokens
143
  - **Output Dimensionality:** 768 dimensions
144
  - **Similarity Function:** Cosine Similarity
@@ -179,9 +291,9 @@ from sentence_transformers import SentenceTransformer
179
  model = SentenceTransformer("sentence_transformers_model_id")
180
  # Run inference
181
  sentences = [
182
- 'What is (are) Turner Syndrome ?',
183
- 'Assisted reproduction techniques can help some women with Turner syndrome get pregnant. NIH: National Institute of Child Health and Human Development',
184
- "What are the signs and symptoms of Turner syndrome?There are various signs and symptoms of Turner syndrome, which can range from very mild to more severe.Short stature is the most common feature and usually becomes apparent by age 5.In early childhood, frequent middle ear infections are common and can lead to hearing loss in some cases.Most affected girls do not produce the necessary sex hormones for puberty, so they don't have a pubertal growth spurt, start their periods or develop breasts without hormone treatment.While most affected women are infertile, pregnancy is possible with egg donation and assisted reproductive technology.Intelligence is usually normal, but developmental delay, learning disabilities, and/or behavioral problems are sometimes present.",
185
  ]
186
  embeddings = model.encode(sentences)
187
  print(embeddings.shape)
@@ -190,9 +302,9 @@ print(embeddings.shape)
190
  # Get the similarity scores for the embeddings
191
  similarities = model.similarity(embeddings, embeddings)
192
  print(similarities)
193
- # tensor([[1.0000, 0.7383, 0.4883],
194
- # [0.7383, 1.0000, 0.5508],
195
- # [0.4883, 0.5508, 1.0000]], dtype=torch.bfloat16)
196
  ```
197
 
198
  <!--
@@ -237,19 +349,19 @@ You can finetune this model on your own dataset.
237
 
238
  #### Unnamed Dataset
239
 
240
- * Size: 21,344 training samples
241
  * Columns: <code>sentence_0</code>, <code>sentence_1</code>, and <code>sentence_2</code>
242
- * Approximate statistics based on the first 1000 samples:
243
- | | sentence_0 | sentence_1 | sentence_2 |
244
- |:--------|:----------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|
245
- | type | string | string | string |
246
- | details | <ul><li>min: 6 tokens</li><li>mean: 13.33 tokens</li><li>max: 27 tokens</li></ul> | <ul><li>min: 12 tokens</li><li>mean: 148.31 tokens</li><li>max: 439 tokens</li></ul> | <ul><li>min: 9 tokens</li><li>mean: 141.22 tokens</li><li>max: 523 tokens</li></ul> |
247
  * Samples:
248
- | sentence_0 | sentence_1 | sentence_2 |
249
- |:-------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
250
- | <code>What is the outlook for Coffin Lowry Syndrome ?</code> | <code>The prognosis for individuals with Coffin-Lowry syndrome varies depending on the severity of symptoms. Early intervention may improve the outlook for patients. Life span is reduced in some individuals with Coffin-Lowry syndrome.</code> | <code>How might Coffin-Siris syndrome be treated? People with Coffin-Siris syndrome may benefit from occupational, physical, and speech therapy. Developmental pediatricians may be helpful in recommending and coordinating therapeutic and educational interventions. Additional specialty care may be needed depending on the symptoms in the individual, such as by gastrointestinal, eye, kidney, heart, and hearing specialists.</code> |
251
- | <code>What is (are) Sarcoidosis ?</code> | <code>Sarcoidosis is an inflammatory disease characterized by the development and growth of tiny lumps of cells called granulomas. If these tiny granulomas grow and clump together in an organ, they can affect how the organ works, leading to the symptoms of sarcoidosis. The granulomas can be found in almost any part of the body, but occur more commonly in the lungs, lymph nodes, eyes, skin, and liver. Although no one is sure what causes sarcoidosis, it is thought by most scientists to be a disorder of the immune system. The course of the disease varies from person to person. It often goes away on its own, but in some people symptoms of sarcoidosis may last a lifetime. For those who need treatment, anti-inflammatory medications and immunosuppressants can help.</code> | <code>Sarcoidosis is a disease that leads to inflammation, usually in your lungs, skin, or lymph nodes. It starts as tiny, grain-like lumps, called granulomas. Sarcoidosis can affect any organ in your body. No one is sure what causes sarcoidosis. It affects men and women of all ages and races. It occurs mostly in people ages 20 to 50, African Americans, especially women, and people of Northern European origin. Many people have no symptoms. If you have symptoms, they may include - Cough - Shortness of breath - Weight loss - Night sweats - Fatigue Tests to diagnose sarcoidosis include chest x-rays, lung function tests, and a biopsy. Not everyone who has the disease needs treatment. If you do, prednisone, a type of steroid, is the main treatment. NIH: National Heart, Lung, and Blood Institute</code> |
252
- | <code>What are the symptoms of High Blood Pressure ?</code> | <code>Because diagnosis is based on blood pressure readings, this condition can go undetected for years, as symptoms do not usually appear until the body is damaged from chronic high blood pressure.<br> <br><br> <br>Complications of High Blood Pressure<br> <br>When blood pressure stays high over time, it can damage the body and cause complications.Some common complications and their signs and symptoms include:<br> <br>Aneurysms:When an abnormal bulge forms in the wall of an artery.Aneurysms develop and grow for years without causing signs or symptoms until they rupture, grow large enough to press on nearby body parts, or block blood flow.The signs and symptoms that develop depend on the location of the aneurysm.<br> <br>Chronic Kidney Disease: When blood vessels narrow in the kidneys, possibly causing kidney failure.<br> <br>Cognitive Changes: Research shows that over time, higher blood pressure numbers can lead to cognitive changes.</code> | <code>High blood pressure is a common disease in which blood flows through blood vessels (arteries) at higher than normal pressures. There are two main types of high blood pressure: primary and secondary high blood pressure. Primary, or essential, high blood pressure is the most common type of high blood pressure. This type of high blood pressure tends to develop over years as a person ages. Secondary high blood pressure is caused by another medical condition or use of certain medicines. This type usually resolves after the cause is treated or removed.</code> |
253
  * Loss: [<code>TripletLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#tripletloss) with these parameters:
254
  ```json
255
  {
@@ -320,7 +432,7 @@ You can finetune this model on your own dataset.
320
  - `parallelism_config`: None
321
  - `deepspeed`: None
322
  - `label_smoothing_factor`: 0.0
323
- - `optim`: adamw_torch_fused
324
  - `optim_args`: None
325
  - `group_by_length`: False
326
  - `length_column_name`: length
@@ -367,32 +479,11 @@ You can finetune this model on your own dataset.
367
 
368
  </details>
369
 
370
- ### Training Logs
371
- | Epoch | Step | Training Loss |
372
- |:------:|:----:|:-------------:|
373
- | 0.3085 | 500 | 0.0271 |
374
- | 0.6169 | 1000 | 0.0134 |
375
- | 0.9254 | 1500 | 0.0111 |
376
- | 1.2338 | 2000 | 0.0059 |
377
- | 1.5423 | 2500 | 0.0056 |
378
- | 1.8507 | 3000 | 0.0046 |
379
- | 0.1874 | 500 | 0.0184 |
380
- | 0.3748 | 1000 | 0.0161 |
381
- | 0.5622 | 1500 | 0.0143 |
382
- | 0.7496 | 2000 | 0.0127 |
383
- | 0.9370 | 2500 | 0.0125 |
384
- | 1.1244 | 3000 | 0.0090 |
385
- | 1.3118 | 3500 | 0.0064 |
386
- | 1.4993 | 4000 | 0.0059 |
387
- | 1.6867 | 4500 | 0.0062 |
388
- | 1.8741 | 5000 | 0.0054 |
389
-
390
-
391
  ### Framework Versions
392
- - Python: 3.12.3
393
  - Sentence Transformers: 5.2.2
394
  - Transformers: 5.0.0
395
- - PyTorch: 2.10.0+cu128
396
  - Accelerate: 1.12.0
397
  - Datasets: 4.5.0
398
  - Tokenizers: 0.22.2
 
5
  - feature-extraction
6
  - dense
7
  - generated_from_trainer
8
+ - dataset_size:492
9
  - loss:TripletLoss
 
10
  base_model: llm-semantic-router/mmbert-embed-32k-2d-matryoshka
11
  widget:
12
+ - source_sentence: A 7-year-old boy with a history of fetal alcohol syndrome is brought
13
+ by his mother to the emergency room for malaise and lethargy. His mother reports
14
+ that the family was on vacation in a cabin in the mountains for the past 10 days.
15
+ Five days ago, the child developed a fever with a max temperature of 102.6°F (39.2°F).
16
+ She also reports that he was given multiple medications to try to bring down his
17
+ fever. Although his fever resolved two days ago, the child has become increasingly
18
+ lethargic. He started having non-bilious, non-bloody emesis one day prior to presentation.
19
+ His current temperature is 100°F (37.8°C), blood pressure is 95/55 mmHg, pulse
20
+ is 110/min, and respirations are 22/min. On exam, the child is lethargic and minimally
21
+ reactive. Mild hepatomegaly is noted. A biopsy of this patient’s liver would likely
22
+ reveal which of the following?
23
  sentences:
24
+ - 'A 7-year-old boy with a history of fetal alcohol syndrome is brought by his mother
25
+ to the emergency room for malaise and lethargy. His mother reports that the family
26
+ was on vacation in a cabin in the mountains for the past 10 days. Five days ago,
27
+ the child developed a fever with a max temperature of 102.6°F (39.2°F). She also
28
+ reports that he was given multiple medications to try to bring down his fever.
29
+ Although his fever resolved two days ago, the child has become increasingly lethargic.
30
+ He started having non-bilious, non-bloody emesis one day prior to presentation.
31
+ His current temperature is 100°F (37.8°C), blood pressure is 95/55 mmHg, pulse
32
+ is 110/min, and respirations are 22/min. On exam, the child is lethargic and minimally
33
+ reactive. Mild hepatomegaly is noted. A biopsy of this patient’s liver would likely
34
+ reveal which of the following?
35
+
36
+
37
+ Answer: Microvesicular steatosis'
38
+ - 'A 2-day-old newborn boy is brought to the emergency department because of apnea,
39
+ cyanosis, and seizures. He is severely hypoglycemic and does not improve with
40
+ glucagon administration. His blood pressure is 100/62 mm Hg and heart rate is
41
+ 75/min. Blood tests show high lactate levels. Physical examination is notable
42
+ for hepatomegaly. Which of the following enzymes is most likely to be deficient
43
+ in this baby?
44
+
45
+
46
+ Answer: Glucose-6-phosphatase'
47
+ - 'A 49-year-old woman comes to the office complaining of 2 weeks of urinary incontinence.
48
+ She says she first noticed some light, urinary dribbling that would increase with
49
+ sneezing or coughing. This dribble soon worsened, soaking through a pad every
50
+ 3 hours. She denies any fevers, chills, abdominal pain, hematuria, dysuria, abnormal
51
+ vaginal discharge, or increased urinary frequency. The patient had a bilateral
52
+ tubal ligation 3 weeks ago. Her last menstrual period was 2 weeks ago. Her menses
53
+ are regular and last 5 days. She has had 3 pregnancies that each resulted in uncomplicated,
54
+ term vaginal deliveries. Her last pregnancy was 2 years ago. The patient has hypothyroidism
55
+ and takes daily levothyroxine. She denies tobacco, alcohol, or illicit drug use.
56
+ She has no history of sexually transmitted diseases. She is sexually active with
57
+ her husband of 25 years. Her BMI is 26 kg/m^2. On physical examination, the abdomen
58
+ is soft, nondistended, and nontender without palpable masses or hepatosplenomegaly.
59
+ Rectal tone is normal. The uterus is anteverted, mobile, and nontender. There
60
+ are no adnexal masses. Urine is seen pooling in the vaginal vault. Urinalysis
61
+ is unremarkable. Which of the following is next best step in diagnosis?
62
+
63
+
64
+ Answer: Methylene blue instillation into the bladder'
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 45-year-old man comes to the clinic concerned about his recent exposure to
70
+ radon. He heard from his co-worker that radon exposure can cause lung cancer.
71
+ He brings in a study concerning the risks of radon exposure. In the study, there
72
+ were 300 patients exposed to radon, and 18 developed lung cancer over a 10-year
73
+ period. To compare, there were 500 patients without radon exposure and 11 developed
74
+ lung cancer over the same 10-year period. If we know that 0.05% of the population
75
+ has been exposed to radon, what is the attributable risk percent for developing
76
+ lung cancer over a 10 year period after radon exposure?
77
+
78
+
79
+ Answer: 63.3%'
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
83
+ a week and takes a tablet of sublingual nitroglycerine prior to his run to prevent
84
+ anginal chest pain. The patient would like to run longer distances and asks the
85
+ physician whether he could increase the dose of the drug prior to running. Administration
86
+ of higher dosages of this drug is most likely to result in which of the following?
87
+
88
+
89
+ Answer: Reflex sympathetic activity'
90
+ - 'A 45-year-old Caucasian man is given nitroglycerin for the management of his
91
+ stable angina. Nitroglycerin given for the rapid relief of acute angina would
92
+ most likely be given through what route of administration?
93
+
94
+
95
+ Answer: Sublingual'
96
+ - source_sentence: "A 12-year-old boy is brought in by his mother for a routine checkup.\
97
+ \ The patient’s mother says he is frequently fatigued and looks pale. She also\
98
+ \ claims that he has recently become “much quieter” than normal and is no longer\
99
+ \ interested in playing baseball with his friends. The patient’s mother believes\
100
+ \ it may just be “growing pains.” The patient has no significant medical history.\
101
+ \ He is the 90th percentile for height and weight and has been meeting all developmental\
102
+ \ milestones. The patient is afebrile, and his vital signs are within normal limits.\
103
+ \ Physical examination reveals several small bruises on the patient’s right arm\
104
+ \ and on both thighs. Laboratory findings are significant for the following:\n\
105
+ Sodium 140 mEq/L\nPotassium 4.2 mEq/L\nChloride 101 mEq/L\nBicarbonate 27 mEq/L\n\
106
+ BUN 16 mg/dL\nCreatinine 1.2 mg/dL\nGlucose (fasting) 111 mg/dL\n WBC 3,400/mm3\n\
107
+ RBC 4.20 x 106/mm3\nHematocrit 22%\nHemoglobin 7.1 g/dL\nPlatelet count 109,000/mm3\n\
108
+ A peripheral blood smear reveals myeloblasts. Which of the following is the next\
109
+ \ best step in the management of this patient?"
110
  sentences:
111
+ - 'A 62-year-old man is brought to the emergency department with a 2-day history
112
+ of cough productive of yellowish sputum. He has had fever, chills, and worsening
113
+ shortness of breath over this time. He has a 10-year history of hypertension and
114
+ hyperlipidemia. He does not drink alcohol or smoke cigarettes. His current medications
115
+ include atorvastatin, amlodipine, and metoprolol. His temperature is 38.9°C (102.0°F),
116
+ pulse is 105/min, respirations are 27/min, and blood pressure is 110/70 mm Hg.
117
+ He appears in mild distress. He has rales over the left lower lung field. The
118
+ remainder of the examination shows no abnormalities. Leukocyte count is 15,000/mm3
119
+ (87% segmented neutrophils). Arterial blood gas analysis on room air shows:
120
+
121
+ pH 7.44
122
+
123
+ pO2 68 mm Hg
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 32-year-old G2P0A1 woman presents at 36 weeks of gestation for the first time
169
+ during her pregnancy. The patient has no complaints, currently. However, her past
170
+ medical history reveals seizure disorder, which is under control with valproic
171
+ acid and lithium. She has not seen her neurologist during the past 2 years, in
172
+ the absence of any complaints. She also reports a previous history of elective
173
+ abortion. The physical examination is insignificant. Her blood pressure is 130/75
174
+ mm Hg and pulse is 80/min. The patient is scheduled to undergo regular laboratory
175
+ tests and abdominal ultrasound. Given her past medical history, which of the following
176
+ conditions is her fetus most likely going to develop?
177
+
178
+
179
+ Answer: Neural tube defects (NTDs)'
180
+ - 'A 33-year-old pregnant woman in the 28th week of gestation presents to the emergency
181
+ department for evaluation of bilateral edema of her legs. It seems to worsen at
182
+ the end of the day and has lasted for the past 3 weeks. History reveals that this
183
+ is her 3rd pregnancy. Vital signs include: blood pressure 120/80 mm Hg, heart
184
+ rate 74/min, respiratory rate 18/min, and temperature 36.6°C (98.0°F). Body mass
185
+ index is 36 kg/m2. Physical examination reveals bilateral leg edema with engorged
186
+ surface veins. A photograph of the patient’s legs is shown. Which of the following
187
+ is the best initial management of the patient?
188
+
189
+
190
+ Answer: Compression stockings'
191
+ - 'A 22-year-old primigravida is admitted to the obstetrics ward with leg swelling
192
+ at 35 weeks gestation. She denies any other symptoms. Her pregnancy has been uneventful
193
+ and she was compliant with the recommended prenatal care. Her vital signs were
194
+ as follows: blood pressure, 168/95 mm Hg; heart rate, 86/min; respiratory rate,
195
+ 16/min; and temperature, 36.7℃ (98℉). The fetal heart rate was 141/min. The physical
196
+ examination was significant for 2+ pitting edema of the lower extremity. A dipstick
197
+ test shows 1+ proteinuria. On reassessment 15 minutes later without administration
198
+ of an antihypertensive, her blood pressure was 141/88 mm Hg, and the fetal heart
199
+ rate was 147/min. A decision was made to observe the patient and continue the
200
+ work-up without initiating antihypertensive therapy. Which of the following clinical
201
+ features would make the suspected diagnosis into a more severe form?
202
+
203
+
204
+ Answer: Blood pressure of 165/90 mm Hg reassessed 4 hours later'
205
+ - source_sentence: A previously healthy 23-year-old woman comes to the physician because
206
+ of a 1-week history of vaginal discharge. She has no pain or pruritus. She is
207
+ sexually active with one male partner and uses condoms inconsistently. Pelvic
208
+ examination shows a malodorous gray vaginal discharge. Microscopic examination
209
+ of the vaginal discharge is shown. Which of the following is the most likely diagnosis?
210
  sentences:
211
+ - 'A previously healthy 23-year-old woman comes to the physician because of a 1-week
212
+ history of vaginal discharge. She has no pain or pruritus. She is sexually active
213
+ with one male partner and uses condoms inconsistently. Pelvic examination shows
214
+ a malodorous gray vaginal discharge. Microscopic examination of the vaginal discharge
215
+ is shown. Which of the following is the most likely diagnosis?
216
+
217
+
218
+ Answer: Bacterial vaginosis'
219
+ - 'A 22-year-old female presents to her physician for evaluation of a vaginal discharge,
220
+ itching, and irritation. She recently started a new relationship with her boyfriend,
221
+ who is her only sexual partner. He does not report any genitourinary symptoms.
222
+ She takes oral contraceptives and does not use barrier contraception. The medical
223
+ history is unremarkable. The vital signs are within normal limits. A gynecologic
224
+ examination reveals a thin, yellow, frothy vaginal discharge with a musty, unpleasant
225
+ odor and numerous punctate red maculae on the ectocervix. The remainder of the
226
+ exam is normal. Which of the following organisms will most likely be revealed
227
+ on wet mount microscopy?
228
+
229
+
230
+ Answer: Motile round or oval-shaped microorganisms'
231
+ - 'A 38-year-old woman, gravida 4, para 3, at 20 weeks'' gestation comes to the
232
+ physician for a prenatal care visit. She used fertility enhancing treatment for
233
+ her current pregnancy. Her other children were born before 37 weeks'' gestation.
234
+ She is 170 cm (5 ft 7 in) tall and weighs 82 kg (180 lb); BMI is 28.4 kg/m2. Her
235
+ vital signs are within normal limits. The abdomen is nontender, and no contractions
236
+ are felt. Ultrasonography shows a cervical length of 22 mm and a fetal heart rate
237
+ of 140/min. Which of the following is the most likely diagnosis?
238
+
239
+
240
+ Answer: Cervical insufficiency'
241
  pipeline_tag: sentence-similarity
242
  library_name: sentence-transformers
243
  ---
 
250
 
251
  ### Model Description
252
  - **Model Type:** Sentence Transformer
253
+ - **Base model:** [llm-semantic-router/mmbert-embed-32k-2d-matryoshka](https://huggingface.co/llm-semantic-router/mmbert-embed-32k-2d-matryoshka) <!-- at revision 38ba9e6c90ad4f7631d7402c5bc2c0f953277aae -->
254
  - **Maximum Sequence Length:** 32768 tokens
255
  - **Output Dimensionality:** 768 dimensions
256
  - **Similarity Function:** Cosine Similarity
 
291
  model = SentenceTransformer("sentence_transformers_model_id")
292
  # Run inference
293
  sentences = [
294
+ 'A previously healthy 23-year-old woman comes to the physician because of a 1-week history of vaginal discharge. She has no pain or pruritus. She is sexually active with one male partner and uses condoms inconsistently. Pelvic examination shows a malodorous gray vaginal discharge. Microscopic examination of the vaginal discharge is shown. Which of the following is the most likely diagnosis?',
295
+ 'A previously healthy 23-year-old woman comes to the physician because of a 1-week history of vaginal discharge. She has no pain or pruritus. She is sexually active with one male partner and uses condoms inconsistently. Pelvic examination shows a malodorous gray vaginal discharge. Microscopic examination of the vaginal discharge is shown. Which of the following is the most likely diagnosis?\n\nAnswer: Bacterial vaginosis',
296
+ 'A 22-year-old female presents to her physician for evaluation of a vaginal discharge, itching, and irritation. She recently started a new relationship with her boyfriend, who is her only sexual partner. He does not report any genitourinary symptoms. She takes oral contraceptives and does not use barrier contraception. The medical history is unremarkable. The vital signs are within normal limits. A gynecologic examination reveals a thin, yellow, frothy vaginal discharge with a musty, unpleasant odor and numerous punctate red maculae on the ectocervix. The remainder of the exam is normal. Which of the following organisms will most likely be revealed on wet mount microscopy?\n\nAnswer: Motile round or oval-shaped microorganisms',
297
  ]
298
  embeddings = model.encode(sentences)
299
  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.9727, 0.8125],
306
+ # [0.9727, 0.9922, 0.8555],
307
+ # [0.8125, 0.8555, 1.0000]], dtype=torch.bfloat16)
308
  ```
309
 
310
  <!--
 
349
 
350
  #### Unnamed Dataset
351
 
352
+ * Size: 492 training samples
353
  * Columns: <code>sentence_0</code>, <code>sentence_1</code>, and <code>sentence_2</code>
354
+ * Approximate statistics based on the first 492 samples:
355
+ | | sentence_0 | sentence_1 | sentence_2 |
356
+ |:--------|:------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|
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 | sentence_1 | sentence_2 |
361
+ |:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
362
+ | <code>A 54-year-old man with a long-standing history of chronic obstructive pulmonary disease (COPD) presents to the clinic for progressive shortness of breath. The patient reports generalized fatigue, distress, and difficulty breathing that is exacerbated with exertion. Physical examination demonstrates clubbing of the fingers, and an echocardiogram shows right ventricular hypertrophy. The patient is placed on a medication for symptom control. One month later, the patient returns for follow up with some improvement in symptoms. Laboratory tests are drawn and shown below:<br><br>Serum:<br>Na+: 137 mEq/L<br>Cl-: 101 mEq/L<br>K+: 4.8 mEq/L<br>HCO3-: 25 mEq/L<br>BUN: 8.5 mg/dL<br>Glucose: 117 mg/dL<br>Creatinine: 1.4 mg/dL<br>Thyroid-stimulating hormone: 1.8 µU/mL<br>Ca2+: 9.6 mg/dL<br>AST: 159 U/L<br>ALT: 201 U/L<br><br>What is the mechanism of action of the likely medication given?</code> | <code>A 54-year-old man with a long-standing history of chronic obstructive pulmonary disease (COPD) presents to the clinic for progressive shortness of breath. The patient reports generalized fatigue, distress, and difficulty breathing that is exacerbated with exertion. Physical examination demonstrates clubbing of the fingers, and an echocardiogram shows right ventricular hypertrophy. The patient is placed on a medication for symptom control. One month later, the patient returns for follow up with some improvement in symptoms. Laboratory tests are drawn and shown below:<br><br>Serum:<br>Na+: 137 mEq/L<br>Cl-: 101 mEq/L<br>K+: 4.8 mEq/L<br>HCO3-: 25 mEq/L<br>BUN: 8.5 mg/dL<br>Glucose: 117 mg/dL<br>Creatinine: 1.4 mg/dL<br>Thyroid-stimulating hormone: 1.8 µU/mL<br>Ca2+: 9.6 mg/dL<br>AST: 159 U/L<br>ALT: 201 U/L<br><br>What is the mechanism of action of the likely medication given?<br><br>Answer: Competitive inhibition of endothelin-1 receptors</code> | <code>A 60-year-old man with known history of chronic obstructive pulmonary disease is brought by ambulance to the emergency department due to shortness of breath. He is out of breath and cannot string a sentence together. The emergency technician suggests that the man tried his tiotropium inhaler multiple times without success. The patient's vitals are as follows: afebrile, BP 90/60, HR 120, RR 24. Oxygen saturation is 90%. An EKG is obtained that shows narrow-complex tachycardia with irregular P waves preceding each QRS complex and irregular PR intervals. What is the best next step in management?<br><br>Answer: Give oxygen immediately</code> |
363
+ | <code>A 20-year-old female with type I diabetes mellitus presents to the emergency department with altered mental status. Her friend said that she has been out late either studying for upcoming tests or attending prayer group meetings. As far as the friend can recollect, the patient appeared to be in her usual state of health until only two days ago, when she was prescribed trimethoprim-sulfamethoxazole for a urinary tract infection. The patient complained that the medication was making her feel nauseous and bloated. The patient also relies on glargine and lispro for glycemic control. Her temperature is 100.5°F (38.1°C), blood pressure is 95/55 mmHg, pulse is 130/min, and respirations are 30/min. Her pupils are equal and reactive to light bilaterally. The remainder of the physical exam is unremarkable. Her basic metabolic panel is displayed below:<br><br>Serum:<br>Na+: 116 mEq/L<br>Cl-: 90 mEq/L<br>K+: 5.0 mEq/L<br>HCO3-: 2 mEq/L<br>BUN: 50 mg/dL<br>Glucose: 1,200 mg/dL<br>Creatinine: 1.5 mg/dL<br><br>Which of the following...</code> | <code>A 20-year-old female with type I diabetes mellitus presents to the emergency department with altered mental status. Her friend said that she has been out late either studying for upcoming tests or attending prayer group meetings. As far as the friend can recollect, the patient appeared to be in her usual state of health until only two days ago, when she was prescribed trimethoprim-sulfamethoxazole for a urinary tract infection. The patient complained that the medication was making her feel nauseous and bloated. The patient also relies on glargine and lispro for glycemic control. Her temperature is 100.5°F (38.1°C), blood pressure is 95/55 mmHg, pulse is 130/min, and respirations are 30/min. Her pupils are equal and reactive to light bilaterally. The remainder of the physical exam is unremarkable. Her basic metabolic panel is displayed below:<br><br>Serum:<br>Na+: 116 mEq/L<br>Cl-: 90 mEq/L<br>K+: 5.0 mEq/L<br>HCO3-: 2 mEq/L<br>BUN: 50 mg/dL<br>Glucose: 1,200 mg/dL<br>Creatinine: 1.5 mg/dL<br><br>Which of the following...</code> | <code>A 53-year-old woman with type 2 diabetes mellitus is admitted for evaluation of recurrent episodes of nausea, tremors, and excessive sweating. She works as a nurse and reports self-measured blood glucose levels below 50 mg/dL on several occasions. Her family history is positive for borderline personality disorder. The only medication listed in her history is metformin. Which of the following is the most appropriate next step in management?<br><br>Answer: Ask the patient if she is taking any medications other than metformin</code> |
364
+ | <code>A 50-year-old man undergoes parathyroidectomy for treatment-resistant hyperparathyroidism. The procedure is complicated by brisk bleeding from an artery that travels along the external branch of the superior laryngeal nerve. To stop the bleeding, the artery is ligated at its origin. Which of the following is most likely the origin of the artery that was injured in this patient?</code> | <code>A 50-year-old man undergoes parathyroidectomy for treatment-resistant hyperparathyroidism. The procedure is complicated by brisk bleeding from an artery that travels along the external branch of the superior laryngeal nerve. To stop the bleeding, the artery is ligated at its origin. Which of the following is most likely the origin of the artery that was injured in this patient?<br><br>Answer: External carotid artery</code> | <code>A 57-year-old man comes to the physician with a 3-month history of right flank pain. Urinalysis shows 60 RBC/hpf. Renal ultrasound shows a 3 cm, well-defined mass in the upper pole of the right kidney. A photomicrograph of a section of the resected mass is shown. Which of the following is the most likely diagnosis?<br><br>Answer: Oncocytoma</code> |
365
  * Loss: [<code>TripletLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#tripletloss) with these parameters:
366
  ```json
367
  {
 
432
  - `parallelism_config`: None
433
  - `deepspeed`: None
434
  - `label_smoothing_factor`: 0.0
435
+ - `optim`: adamw_torch
436
  - `optim_args`: None
437
  - `group_by_length`: False
438
  - `length_column_name`: length
 
479
 
480
  </details>
481
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
482
  ### Framework Versions
483
+ - Python: 3.12.10
484
  - Sentence Transformers: 5.2.2
485
  - Transformers: 5.0.0
486
+ - PyTorch: 2.7.0+cu128
487
  - Accelerate: 1.12.0
488
  - Datasets: 4.5.0
489
  - Tokenizers: 0.22.2
config_sentence_transformers.json CHANGED
@@ -3,7 +3,7 @@
3
  "__version__": {
4
  "sentence_transformers": "5.2.2",
5
  "transformers": "5.0.0",
6
- "pytorch": "2.10.0+cu128"
7
  },
8
  "prompts": {
9
  "query": "",
 
3
  "__version__": {
4
  "sentence_transformers": "5.2.2",
5
  "transformers": "5.0.0",
6
+ "pytorch": "2.7.0+cu128"
7
  },
8
  "prompts": {
9
  "query": "",
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f21a7fd24808578a802d202e82a20ea53231c0d026b6bfb1548d2a0fc81a1a64
3
  size 613892480
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d03e1552ecb8c1f4e677263184b2b95d7618da59040085a27d806449b5717b39
3
  size 613892480
tokenizer_config.json CHANGED
@@ -8,7 +8,7 @@
8
  "<start_of_turn>",
9
  "<end_of_turn>"
10
  ],
11
- "is_local": false,
12
  "mask_token": "<mask>",
13
  "max_length": 32768,
14
  "model_input_names": [
 
8
  "<start_of_turn>",
9
  "<end_of_turn>"
10
  ],
11
+ "is_local": true,
12
  "mask_token": "<mask>",
13
  "max_length": 32768,
14
  "model_input_names": [