Update README.md
Browse files
README.md
CHANGED
|
@@ -49,8 +49,73 @@ This model does not rank over the full vocabulary. It first masks non-gene token
|
|
| 49 |
```python
|
| 50 |
with torch.no_grad():
|
| 51 |
messages = [
|
| 52 |
-
|
| 53 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
text = tokenizer.apply_chat_template(
|
| 55 |
messages,
|
| 56 |
tokenize=False,
|
|
|
|
| 49 |
```python
|
| 50 |
with torch.no_grad():
|
| 51 |
messages = [
|
| 52 |
+
{
|
| 53 |
+
"role": "user",
|
| 54 |
+
"content": (
|
| 55 |
+
"For a patient who presents with Intellectual disability, movement disorder, "
|
| 56 |
+
"memory impairment, abnormal posture, falls, dysarthria, leukodystrophy, "
|
| 57 |
+
"developmental regression, muscle weakness, elevated liver transaminases, "
|
| 58 |
+
"atopic dermatitis, rash, pruritus.\n"
|
| 59 |
+
"We can find some patients with similar phenotypes, such as:\n"
|
| 60 |
+
"A patient presents with Seizure, Global developmental delay, Intellectual "
|
| 61 |
+
"disability, Gait disturbance, Hyperornithinemia, Childlike behavior, "
|
| 62 |
+
"Clumsiness, Spasticity, Myoclonus, Ataxic gait, Falls, Drop attacks, "
|
| 63 |
+
"Spastic gait, Ataxic gait, Depressive episode, Suicidal behavior, "
|
| 64 |
+
"Asthenia, Fatigue, Dysarthria, Urinary incontinence, Fecal incontinence, "
|
| 65 |
+
"Intervertebral disc degeneration, Syringomyelia, Cerebral atrophy, "
|
| 66 |
+
"Leukoencephalopathy, Pons hyperdensity, Myelopathy, Peripheral neuropathy, "
|
| 67 |
+
"Wheelchair bound, Proximal muscle weakness, Hypotonia, Hyperreflexia, "
|
| 68 |
+
"Babinski sign, Memory impairment, Cognitive decline, Dysphagia, "
|
| 69 |
+
"Impaired self-care. This patient has a mutation in "
|
| 70 |
+
"<|PhenoGemini-Special-Token-Entrez-ID-10166|>.\n"
|
| 71 |
+
"A patient presents with Irritability, Seizure, Developmental regression, "
|
| 72 |
+
"Failure to thrive, Food aversion, Tremor, Head nodding, Global developmental "
|
| 73 |
+
"delay, Hepatomegaly, Aggressive behavior, Attention deficit hyperactivity "
|
| 74 |
+
"disorder, Intellectual disability, Spastic paraplegia, Hyperreflexia, "
|
| 75 |
+
"Clonus, Babinski sign, Impaired verbal comprehension, Short-term memory "
|
| 76 |
+
"impairment, Gait disturbance, Frequent falls, Inability to walk, Dystonia, "
|
| 77 |
+
"Impaired arithmetic ability, Impaired performance on psychometric tests, "
|
| 78 |
+
"Postural instability, Muscle weakness, Gait ataxia, Circumduction gait, "
|
| 79 |
+
"Shuffling gait, Muscle wasting, Spasticity, Proximal muscle weakness. "
|
| 80 |
+
"This patient has a mutation in "
|
| 81 |
+
"<|PhenoGemini-Special-Token-Entrez-ID-10166|>.\n"
|
| 82 |
+
"A patient presents with Cognitive impairment, Absent speech, Gait "
|
| 83 |
+
"disturbance, Hypotonia, Alacrima, Constipation, Tremor, Hyperkinesia, "
|
| 84 |
+
"Abnormality of the electroencephalogram, Seizure, Elevated hepatic "
|
| 85 |
+
"transaminase, Failure to thrive, Sleep disturbance, Dysphagia, Scoliosis, "
|
| 86 |
+
"Small hands, Small feet, Abnormality of the skin, Corneal opacity, "
|
| 87 |
+
"Peripheral neuropathy, Hearing impairment, Recurrent infections, "
|
| 88 |
+
"Strabismus, Abnormality of metabolism/homeostasis, Neurodevelopmental "
|
| 89 |
+
"regression, Hypospadias, Recurrent pneumonia, Airway obstruction, "
|
| 90 |
+
"Recurrent fractures, Osteopenia, Laryngomalacia, Hirschsprung disease, "
|
| 91 |
+
"Anxiety, Eosinophilic esophagitis, Microcephaly, Skin hypopigmentation, "
|
| 92 |
+
"Skin hyperpigmentation, Exocrine pancreatic insufficiency, "
|
| 93 |
+
"Abnormality of vision. This patient has a mutation in "
|
| 94 |
+
"<|PhenoGemini-Special-Token-Entrez-ID-55768|>.\n"
|
| 95 |
+
"A patient presents with Chronic kidney disease, Gout, Action tremor, "
|
| 96 |
+
"Myoclonus, Gait disturbance, Falls, Dysarthria, Distal sensory loss, "
|
| 97 |
+
"Sensorineural hearing impairment, Stuttering, Motor delay, Axial ataxia, "
|
| 98 |
+
"Dysmetria, Slow saccadic eye movements, Ptosis, Abnormality of the Romberg "
|
| 99 |
+
"sign, Dystonia, Muscle weakness, Axonal neuropathy, Impaired temperature "
|
| 100 |
+
"sensation, Cerebellar atrophy, Cortical atrophy, Impaired working memory, "
|
| 101 |
+
"Perseveration, Impaired concentration, Bradyphrenia, Glomerulonephritis, "
|
| 102 |
+
"Nephronophthisis, Cytochrome c oxidase deficiency, Ragged red muscle "
|
| 103 |
+
"fibers, Abnormality of mitochondrial morphology. This patient has a "
|
| 104 |
+
"mutation in <|PhenoGemini-Special-Token-Entrez-ID-63929|>.\n"
|
| 105 |
+
"A patient presents with Developmental delay, Hypotonia, Microcephaly, "
|
| 106 |
+
"Failure to thrive, Gastroesophageal reflux, Absence of speech, Drooling, "
|
| 107 |
+
"Abnormal ocular pursuit, Ataxia, Dysmetria, Areflexia, Limb weakness, "
|
| 108 |
+
"Abnormal involuntary movements, Axonal neuropathy, Sensorimotor "
|
| 109 |
+
"neuropathy, Unilateral hearing impairment, Abnormal visual evoked "
|
| 110 |
+
"potentials, Skeletal deformities, Muscle wasting, Gait disturbance, "
|
| 111 |
+
"Chorea, Orofacial dyskinesia, Chewing difficulty, Optic atrophy, "
|
| 112 |
+
"Increased CSF lactate, Dysarthria. This patient has a mutation in "
|
| 113 |
+
"<|PhenoGemini-Special-Token-Entrez-ID-9927|>.\n"
|
| 114 |
+
"Based on all the information above, and my own general knowledge, "
|
| 115 |
+
"this patient is likely to have a mutation in"
|
| 116 |
+
),
|
| 117 |
+
}
|
| 118 |
+
]
|
| 119 |
text = tokenizer.apply_chat_template(
|
| 120 |
messages,
|
| 121 |
tokenize=False,
|