Spaces:
Sleeping
Sleeping
Added large files with Git LFS
Browse files- .gitattributes +39 -0
- README.md +14 -0
- data/emergency_drugs.json +3 -212
- data/icd10_emergency_conditions.json +3 -37
- data/patient_cases.json +0 -0
- medsentinel_weights_to_share/adapter_config.json +3 -50
- medsentinel_weights_to_share/tokenizer_config.json +3 -201
- training_summary.json +3 -120
- ui/components.json +3 -20
- ui/package-lock.json +0 -0
- ui/package.json +3 -94
- ui/tsconfig.app.json +3 -30
- ui/tsconfig.json +3 -15
- ui/tsconfig.node.json +3 -22
.gitattributes
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
|
|
| 1 |
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 2 |
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 3 |
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 4 |
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 5 |
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<<<<<<< HEAD
|
| 2 |
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 3 |
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 5 |
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 6 |
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
=======
|
| 8 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
>>>>>>> 6cadfc99a12949a8342988efcd12cc5636d7bf02
|
| 44 |
+
*.json filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
---
|
|
|
|
| 2 |
title: MedSentinel
|
| 3 |
emoji: 🏥
|
| 4 |
colorFrom: blue
|
|
@@ -148,3 +149,16 @@ medsentinel/
|
|
| 148 |
## License
|
| 149 |
|
| 150 |
MIT — For research/education only. Not for clinical use.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
<<<<<<< HEAD
|
| 3 |
title: MedSentinel
|
| 4 |
emoji: 🏥
|
| 5 |
colorFrom: blue
|
|
|
|
| 149 |
## License
|
| 150 |
|
| 151 |
MIT — For research/education only. Not for clinical use.
|
| 152 |
+
=======
|
| 153 |
+
title: Medsentinal
|
| 154 |
+
emoji: 🌖
|
| 155 |
+
colorFrom: gray
|
| 156 |
+
colorTo: indigo
|
| 157 |
+
sdk: docker
|
| 158 |
+
pinned: false
|
| 159 |
+
license: mit
|
| 160 |
+
short_description: AI-powered multi-agent medical emergency simulation
|
| 161 |
+
---
|
| 162 |
+
|
| 163 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 164 |
+
>>>>>>> 6cadfc99a12949a8342988efcd12cc5636d7bf02
|
data/emergency_drugs.json
CHANGED
|
@@ -1,212 +1,3 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
"max_dose_mg": 325,
|
| 5 |
-
"used_for": ["cardiac", "coronary", "myocardial infarction", "antiplatelet", "fever"],
|
| 6 |
-
"contraindications": ["peptic ulcer", "bleeding disorder", "aspirin allergy"],
|
| 7 |
-
"interactions": ["warfarin", "heparin", "clopidogrel", "ibuprofen"]
|
| 8 |
-
},
|
| 9 |
-
"nitroglycerin": {
|
| 10 |
-
"min_dose_mg": 0.3,
|
| 11 |
-
"max_dose_mg": 0.6,
|
| 12 |
-
"used_for": ["cardiac", "angina", "chest pain", "coronary", "hypertension"],
|
| 13 |
-
"contraindications": ["hypotension", "sildenafil use", "severe aortic stenosis"],
|
| 14 |
-
"interactions": ["sildenafil", "tadalafil", "antihypertensives"]
|
| 15 |
-
},
|
| 16 |
-
"morphine": {
|
| 17 |
-
"min_dose_mg": 2,
|
| 18 |
-
"max_dose_mg": 10,
|
| 19 |
-
"used_for": ["pain", "cardiac", "pulmonary edema", "chest pain", "trauma"],
|
| 20 |
-
"contraindications": ["respiratory depression", "hypotension", "opioid allergy"],
|
| 21 |
-
"interactions": ["benzodiazepines", "alcohol", "other opioids", "MAO inhibitors"]
|
| 22 |
-
},
|
| 23 |
-
"heparin": {
|
| 24 |
-
"min_dose_mg": 5000,
|
| 25 |
-
"max_dose_mg": 25000,
|
| 26 |
-
"used_for": ["cardiac", "coronary", "pulmonary embolism", "deep vein thrombosis", "anticoagulation"],
|
| 27 |
-
"contraindications": ["active bleeding", "heparin allergy", "HIT"],
|
| 28 |
-
"interactions": ["warfarin", "aspirin", "NSAIDs", "thrombolytics"]
|
| 29 |
-
},
|
| 30 |
-
"epinephrine": {
|
| 31 |
-
"min_dose_mg": 0.1,
|
| 32 |
-
"max_dose_mg": 1.0,
|
| 33 |
-
"used_for": ["anaphylaxis", "allergic reaction", "cardiac arrest", "shock", "bronchospasm"],
|
| 34 |
-
"contraindications": ["hypertensive crisis", "angle-closure glaucoma"],
|
| 35 |
-
"interactions": ["beta blockers", "MAO inhibitors", "tricyclics", "antihypertensives"]
|
| 36 |
-
},
|
| 37 |
-
"metoprolol": {
|
| 38 |
-
"min_dose_mg": 5,
|
| 39 |
-
"max_dose_mg": 50,
|
| 40 |
-
"used_for": ["cardiac", "hypertension", "atrial fibrillation", "tachycardia", "coronary"],
|
| 41 |
-
"contraindications": ["bradycardia", "heart block", "asthma", "cardiogenic shock"],
|
| 42 |
-
"interactions": ["calcium channel blockers", "digoxin", "amiodarone", "clonidine"]
|
| 43 |
-
},
|
| 44 |
-
"amiodarone": {
|
| 45 |
-
"min_dose_mg": 150,
|
| 46 |
-
"max_dose_mg": 300,
|
| 47 |
-
"used_for": ["cardiac", "ventricular fibrillation", "ventricular tachycardia", "atrial fibrillation"],
|
| 48 |
-
"contraindications": ["iodine allergy", "thyroid disease", "pulmonary fibrosis"],
|
| 49 |
-
"interactions": ["warfarin", "digoxin", "metoprolol", "simvastatin"]
|
| 50 |
-
},
|
| 51 |
-
"atropine": {
|
| 52 |
-
"min_dose_mg": 0.5,
|
| 53 |
-
"max_dose_mg": 3.0,
|
| 54 |
-
"used_for": ["bradycardia", "cardiac", "organophosphate poisoning", "heart block"],
|
| 55 |
-
"contraindications": ["glaucoma", "prostatic hypertrophy", "tachycardia"],
|
| 56 |
-
"interactions": ["antihistamines", "tricyclics", "phenothiazines"]
|
| 57 |
-
},
|
| 58 |
-
"furosemide": {
|
| 59 |
-
"min_dose_mg": 20,
|
| 60 |
-
"max_dose_mg": 200,
|
| 61 |
-
"used_for": ["pulmonary edema", "congestive heart failure", "renal", "hypertension", "fluid overload"],
|
| 62 |
-
"contraindications": ["anuria", "sulfa allergy", "severe hypovolemia"],
|
| 63 |
-
"interactions": ["aminoglycosides", "lithium", "digoxin", "NSAIDs"]
|
| 64 |
-
},
|
| 65 |
-
"ceftriaxone": {
|
| 66 |
-
"min_dose_mg": 1000,
|
| 67 |
-
"max_dose_mg": 2000,
|
| 68 |
-
"used_for": ["pneumonia", "sepsis", "infectious", "meningitis", "infection", "bacterial"],
|
| 69 |
-
"contraindications": ["cephalosporin allergy", "penicillin allergy"],
|
| 70 |
-
"interactions": ["warfarin", "calcium-containing IV solutions"]
|
| 71 |
-
},
|
| 72 |
-
"vancomycin": {
|
| 73 |
-
"min_dose_mg": 500,
|
| 74 |
-
"max_dose_mg": 2000,
|
| 75 |
-
"used_for": ["sepsis", "infectious", "MRSA", "bacterial", "endocarditis", "pneumonia"],
|
| 76 |
-
"contraindications": ["vancomycin allergy", "severe renal impairment"],
|
| 77 |
-
"interactions": ["aminoglycosides", "loop diuretics", "NSAIDs"]
|
| 78 |
-
},
|
| 79 |
-
"piperacillin-tazobactam": {
|
| 80 |
-
"min_dose_mg": 3375,
|
| 81 |
-
"max_dose_mg": 4500,
|
| 82 |
-
"used_for": ["sepsis", "pneumonia", "infectious", "bacterial", "intraabdominal"],
|
| 83 |
-
"contraindications": ["penicillin allergy", "beta-lactam allergy"],
|
| 84 |
-
"interactions": ["methotrexate", "aminoglycosides", "anticoagulants"]
|
| 85 |
-
},
|
| 86 |
-
"norepinephrine": {
|
| 87 |
-
"min_dose_mg": 0.01,
|
| 88 |
-
"max_dose_mg": 3.0,
|
| 89 |
-
"used_for": ["shock", "septic shock", "hypotension", "vasopressor"],
|
| 90 |
-
"contraindications": ["hypovolemia without fluid resuscitation", "mesenteric thrombosis"],
|
| 91 |
-
"interactions": ["MAO inhibitors", "tricyclics", "halothane"]
|
| 92 |
-
},
|
| 93 |
-
"dopamine": {
|
| 94 |
-
"min_dose_mg": 2,
|
| 95 |
-
"max_dose_mg": 20,
|
| 96 |
-
"used_for": ["shock", "cardiogenic shock", "hypotension", "cardiac", "renal"],
|
| 97 |
-
"contraindications": ["pheochromocytoma", "ventricular fibrillation"],
|
| 98 |
-
"interactions": ["MAO inhibitors", "phenytoin", "beta blockers"]
|
| 99 |
-
},
|
| 100 |
-
"labetalol": {
|
| 101 |
-
"min_dose_mg": 20,
|
| 102 |
-
"max_dose_mg": 80,
|
| 103 |
-
"used_for": ["hypertension", "hypertensive emergency", "cardiac", "stroke", "aortic dissection"],
|
| 104 |
-
"contraindications": ["asthma", "heart block", "cardiogenic shock", "bradycardia"],
|
| 105 |
-
"interactions": ["calcium channel blockers", "antihypertensives", "tricyclics"]
|
| 106 |
-
},
|
| 107 |
-
"alteplase": {
|
| 108 |
-
"min_dose_mg": 50,
|
| 109 |
-
"max_dose_mg": 100,
|
| 110 |
-
"used_for": ["stroke", "pulmonary embolism", "ischemic stroke", "STEMI", "thrombolysis"],
|
| 111 |
-
"contraindications": ["recent surgery", "bleeding history", "hemorrhagic stroke", "hypertension"],
|
| 112 |
-
"interactions": ["anticoagulants", "antiplatelet", "heparin", "warfarin"]
|
| 113 |
-
},
|
| 114 |
-
"dextrose": {
|
| 115 |
-
"min_dose_mg": 25000,
|
| 116 |
-
"max_dose_mg": 50000,
|
| 117 |
-
"used_for": ["hypoglycemia", "endocrine", "diabetic", "altered mental status", "glucose"],
|
| 118 |
-
"contraindications": ["hyperglycemia", "intracranial hypertension"],
|
| 119 |
-
"interactions": ["insulin"]
|
| 120 |
-
},
|
| 121 |
-
"insulin": {
|
| 122 |
-
"min_dose_mg": 5,
|
| 123 |
-
"max_dose_mg": 50,
|
| 124 |
-
"used_for": ["hyperglycemia", "DKA", "diabetic ketoacidosis", "endocrine", "glucose"],
|
| 125 |
-
"contraindications": ["hypoglycemia"],
|
| 126 |
-
"interactions": ["beta blockers", "corticosteroids", "thiazides", "epinephrine"]
|
| 127 |
-
},
|
| 128 |
-
"naloxone": {
|
| 129 |
-
"min_dose_mg": 0.4,
|
| 130 |
-
"max_dose_mg": 2.0,
|
| 131 |
-
"used_for": ["opioid overdose", "toxicological", "altered mental status", "respiratory depression"],
|
| 132 |
-
"contraindications": ["non-opioid overdose"],
|
| 133 |
-
"interactions": ["opioids", "buprenorphine"]
|
| 134 |
-
},
|
| 135 |
-
"diazepam": {
|
| 136 |
-
"min_dose_mg": 5,
|
| 137 |
-
"max_dose_mg": 20,
|
| 138 |
-
"used_for": ["seizure", "neurological", "status epilepticus", "anxiety", "alcohol withdrawal"],
|
| 139 |
-
"contraindications": ["respiratory depression", "acute angle-closure glaucoma"],
|
| 140 |
-
"interactions": ["opioids", "alcohol", "CNS depressants", "cimetidine"]
|
| 141 |
-
},
|
| 142 |
-
"levetiracetam": {
|
| 143 |
-
"min_dose_mg": 500,
|
| 144 |
-
"max_dose_mg": 1500,
|
| 145 |
-
"used_for": ["seizure", "neurological", "epilepsy", "status epilepticus"],
|
| 146 |
-
"contraindications": ["hypersensitivity to levetiracetam"],
|
| 147 |
-
"interactions": ["CNS depressants", "methotrexate"]
|
| 148 |
-
},
|
| 149 |
-
"methylprednisolone": {
|
| 150 |
-
"min_dose_mg": 40,
|
| 151 |
-
"max_dose_mg": 1000,
|
| 152 |
-
"used_for": ["anaphylaxis", "asthma", "allergic reaction", "respiratory", "inflammatory"],
|
| 153 |
-
"contraindications": ["systemic fungal infection", "live vaccines"],
|
| 154 |
-
"interactions": ["NSAIDs", "anticoagulants", "diabetes medications", "vaccines"]
|
| 155 |
-
},
|
| 156 |
-
"diphenhydramine": {
|
| 157 |
-
"min_dose_mg": 25,
|
| 158 |
-
"max_dose_mg": 50,
|
| 159 |
-
"used_for": ["anaphylaxis", "allergic reaction", "urticaria", "pruritus"],
|
| 160 |
-
"contraindications": ["acute asthma", "narrow-angle glaucoma", "MAOI use"],
|
| 161 |
-
"interactions": ["MAO inhibitors", "CNS depressants", "tricyclics"]
|
| 162 |
-
},
|
| 163 |
-
"ondansetron": {
|
| 164 |
-
"min_dose_mg": 4,
|
| 165 |
-
"max_dose_mg": 8,
|
| 166 |
-
"used_for": ["nausea", "vomiting", "gastrointestinal", "antiemetic"],
|
| 167 |
-
"contraindications": ["QT prolongation", "congenital long QT syndrome"],
|
| 168 |
-
"interactions": ["apomorphine", "QT-prolonging drugs", "serotonergic drugs"]
|
| 169 |
-
},
|
| 170 |
-
"ketorolac": {
|
| 171 |
-
"min_dose_mg": 15,
|
| 172 |
-
"max_dose_mg": 30,
|
| 173 |
-
"used_for": ["pain", "renal colic", "musculoskeletal", "trauma", "headache"],
|
| 174 |
-
"contraindications": ["peptic ulcer", "renal failure", "bleeding", "aspirin allergy"],
|
| 175 |
-
"interactions": ["anticoagulants", "lithium", "methotrexate", "ACE inhibitors"]
|
| 176 |
-
},
|
| 177 |
-
"acetaminophen": {
|
| 178 |
-
"min_dose_mg": 500,
|
| 179 |
-
"max_dose_mg": 1000,
|
| 180 |
-
"used_for": ["fever", "pain", "headache", "analgesic", "antipyretic"],
|
| 181 |
-
"contraindications": ["hepatic failure", "acetaminophen allergy"],
|
| 182 |
-
"interactions": ["warfarin", "alcohol", "isoniazid"]
|
| 183 |
-
},
|
| 184 |
-
"magnesium-sulfate": {
|
| 185 |
-
"min_dose_mg": 1000,
|
| 186 |
-
"max_dose_mg": 4000,
|
| 187 |
-
"used_for": ["eclampsia", "preeclampsia", "asthma", "ventricular tachycardia", "hypomagnesemia"],
|
| 188 |
-
"contraindications": ["heart block", "renal failure", "hypermagnesemia"],
|
| 189 |
-
"interactions": ["calcium channel blockers", "aminoglycosides", "digoxin"]
|
| 190 |
-
},
|
| 191 |
-
"adenosine": {
|
| 192 |
-
"min_dose_mg": 6,
|
| 193 |
-
"max_dose_mg": 12,
|
| 194 |
-
"used_for": ["SVT", "supraventricular tachycardia", "cardiac", "arrhythmia"],
|
| 195 |
-
"contraindications": ["second/third degree heart block", "sick sinus syndrome", "asthma"],
|
| 196 |
-
"interactions": ["dipyridamole", "carbamazepine", "theophylline", "caffeine"]
|
| 197 |
-
},
|
| 198 |
-
"bicarbonate": {
|
| 199 |
-
"min_dose_mg": 50,
|
| 200 |
-
"max_dose_mg": 150,
|
| 201 |
-
"used_for": ["metabolic acidosis", "DKA", "renal", "toxicological", "cardiac arrest"],
|
| 202 |
-
"contraindications": ["metabolic alkalosis", "hypokalemia", "hypernatremia"],
|
| 203 |
-
"interactions": ["calcium", "lithium", "tetracyclines"]
|
| 204 |
-
},
|
| 205 |
-
"tranexamic-acid": {
|
| 206 |
-
"min_dose_mg": 1000,
|
| 207 |
-
"max_dose_mg": 2000,
|
| 208 |
-
"used_for": ["trauma", "hemorrhage", "bleeding", "surgery", "gastrointestinal bleeding"],
|
| 209 |
-
"contraindications": ["active thromboembolic disease", "seizure history"],
|
| 210 |
-
"interactions": ["hormonal contraceptives", "clotting factors", "anticoagulants"]
|
| 211 |
-
}
|
| 212 |
-
}
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d786c35fbc634c592f0dcc8cb5579a14301a9ecda87ebd060709f7b5b8eb587d
|
| 3 |
+
size 9411
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
data/icd10_emergency_conditions.json
CHANGED
|
@@ -1,37 +1,3 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
"I50.9": {"name": "Congestive heart failure", "category": "cardiac"},
|
| 5 |
-
"I48.0": {"name": "Atrial fibrillation", "category": "cardiac"},
|
| 6 |
-
"I47.2": {"name": "Ventricular tachycardia", "category": "cardiac"},
|
| 7 |
-
"I49.0": {"name": "Ventricular fibrillation", "category": "cardiac"},
|
| 8 |
-
"R00.1": {"name": "Bradycardia", "category": "cardiac"},
|
| 9 |
-
"I10": {"name": "Hypertensive emergency", "category": "cardiac"},
|
| 10 |
-
"I71.0": {"name": "Aortic dissection", "category": "cardiac"},
|
| 11 |
-
"R57.0": {"name": "Cardiogenic shock", "category": "cardiac"},
|
| 12 |
-
"J96.00": {"name": "Acute respiratory failure", "category": "respiratory"},
|
| 13 |
-
"J18.9": {"name": "Pneumonia, unspecified organism", "category": "respiratory"},
|
| 14 |
-
"J45.901": {"name": "Acute asthma exacerbation", "category": "respiratory"},
|
| 15 |
-
"J44.1": {"name": "COPD exacerbation", "category": "respiratory"},
|
| 16 |
-
"J93.9": {"name": "Pneumothorax", "category": "respiratory"},
|
| 17 |
-
"I26.99": {"name": "Pulmonary embolism", "category": "respiratory"},
|
| 18 |
-
"I63.9": {"name": "Ischemic stroke", "category": "neurological"},
|
| 19 |
-
"I61.9": {"name": "Hemorrhagic stroke", "category": "neurological"},
|
| 20 |
-
"G40.909": {"name": "Epilepsy, unspecified - seizure", "category": "neurological"},
|
| 21 |
-
"G43.909": {"name": "Migraine, unspecified", "category": "neurological"},
|
| 22 |
-
"A41.9": {"name": "Sepsis, unspecified organism", "category": "infectious"},
|
| 23 |
-
"A40.9": {"name": "Septicemia", "category": "infectious"},
|
| 24 |
-
"N10": {"name": "Acute pyelonephritis", "category": "infectious"},
|
| 25 |
-
"E11.10": {"name": "Type 2 diabetes with DKA", "category": "endocrine"},
|
| 26 |
-
"E10.10": {"name": "Type 1 diabetes with DKA", "category": "endocrine"},
|
| 27 |
-
"E16.0": {"name": "Hypoglycemia", "category": "endocrine"},
|
| 28 |
-
"N17.9": {"name": "Acute kidney injury", "category": "renal"},
|
| 29 |
-
"N20.0": {"name": "Renal calculus - kidney stone", "category": "renal"},
|
| 30 |
-
"K35.80": {"name": "Acute appendicitis", "category": "gastrointestinal"},
|
| 31 |
-
"K92.2": {"name": "Gastrointestinal hemorrhage", "category": "gastrointestinal"},
|
| 32 |
-
"K85.9": {"name": "Acute pancreatitis", "category": "gastrointestinal"},
|
| 33 |
-
"T78.2XXA": {"name": "Anaphylaxis", "category": "allergic"},
|
| 34 |
-
"S06.9": {"name": "Traumatic brain injury", "category": "trauma"},
|
| 35 |
-
"T40.1": {"name": "Opioid overdose", "category": "toxicological"},
|
| 36 |
-
"O14.10": {"name": "Severe preeclampsia", "category": "obstetric"}
|
| 37 |
-
}
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ad189ece2622053588a07afbc353cf817e235dfb11231f4643aa1d80e52ae429
|
| 3 |
+
size 2507
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
data/patient_cases.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
medsentinel_weights_to_share/adapter_config.json
CHANGED
|
@@ -1,50 +1,3 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
"arrow_config": null,
|
| 5 |
-
"auto_mapping": {
|
| 6 |
-
"base_model_class": "Qwen2ForCausalLM",
|
| 7 |
-
"parent_library": "transformers.models.qwen2.modeling_qwen2",
|
| 8 |
-
"unsloth_fixed": true
|
| 9 |
-
},
|
| 10 |
-
"base_model_name_or_path": "unsloth/qwen2.5-3b-instruct-bnb-4bit",
|
| 11 |
-
"bias": "none",
|
| 12 |
-
"corda_config": null,
|
| 13 |
-
"ensure_weight_tying": false,
|
| 14 |
-
"eva_config": null,
|
| 15 |
-
"exclude_modules": null,
|
| 16 |
-
"fan_in_fan_out": false,
|
| 17 |
-
"inference_mode": true,
|
| 18 |
-
"init_lora_weights": true,
|
| 19 |
-
"layer_replication": null,
|
| 20 |
-
"layers_pattern": null,
|
| 21 |
-
"layers_to_transform": null,
|
| 22 |
-
"loftq_config": {},
|
| 23 |
-
"lora_alpha": 16,
|
| 24 |
-
"lora_bias": false,
|
| 25 |
-
"lora_dropout": 0,
|
| 26 |
-
"megatron_config": null,
|
| 27 |
-
"megatron_core": "megatron.core",
|
| 28 |
-
"modules_to_save": null,
|
| 29 |
-
"peft_type": "LORA",
|
| 30 |
-
"peft_version": "0.18.1",
|
| 31 |
-
"qalora_group_size": 16,
|
| 32 |
-
"r": 16,
|
| 33 |
-
"rank_pattern": {},
|
| 34 |
-
"revision": null,
|
| 35 |
-
"target_modules": [
|
| 36 |
-
"q_proj",
|
| 37 |
-
"gate_proj",
|
| 38 |
-
"k_proj",
|
| 39 |
-
"o_proj",
|
| 40 |
-
"v_proj",
|
| 41 |
-
"up_proj",
|
| 42 |
-
"down_proj"
|
| 43 |
-
],
|
| 44 |
-
"target_parameters": null,
|
| 45 |
-
"task_type": "CAUSAL_LM",
|
| 46 |
-
"trainable_token_indices": null,
|
| 47 |
-
"use_dora": false,
|
| 48 |
-
"use_qalora": false,
|
| 49 |
-
"use_rslora": false
|
| 50 |
-
}
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e7f006aa13f94a039e773f8f59c9fadca0fca212d23bb6fa753e8645c7456407
|
| 3 |
+
size 1201
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
medsentinel_weights_to_share/tokenizer_config.json
CHANGED
|
@@ -1,201 +1,3 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
"bos_token": null,
|
| 5 |
-
"clean_up_tokenization_spaces": false,
|
| 6 |
-
"eos_token": "<|im_end|>",
|
| 7 |
-
"errors": "replace",
|
| 8 |
-
"is_local": false,
|
| 9 |
-
"model_max_length": 32768,
|
| 10 |
-
"pad_token": "<|PAD_TOKEN|>",
|
| 11 |
-
"padding_side": "left",
|
| 12 |
-
"split_special_tokens": false,
|
| 13 |
-
"tokenizer_class": "Qwen2Tokenizer",
|
| 14 |
-
"unk_token": null,
|
| 15 |
-
"added_tokens_decoder": {
|
| 16 |
-
"151643": {
|
| 17 |
-
"content": "<|endoftext|>",
|
| 18 |
-
"single_word": false,
|
| 19 |
-
"lstrip": false,
|
| 20 |
-
"rstrip": false,
|
| 21 |
-
"normalized": false,
|
| 22 |
-
"special": true
|
| 23 |
-
},
|
| 24 |
-
"151644": {
|
| 25 |
-
"content": "<|im_start|>",
|
| 26 |
-
"single_word": false,
|
| 27 |
-
"lstrip": false,
|
| 28 |
-
"rstrip": false,
|
| 29 |
-
"normalized": false,
|
| 30 |
-
"special": true
|
| 31 |
-
},
|
| 32 |
-
"151645": {
|
| 33 |
-
"content": "<|im_end|>",
|
| 34 |
-
"single_word": false,
|
| 35 |
-
"lstrip": false,
|
| 36 |
-
"rstrip": false,
|
| 37 |
-
"normalized": false,
|
| 38 |
-
"special": true
|
| 39 |
-
},
|
| 40 |
-
"151646": {
|
| 41 |
-
"content": "<|object_ref_start|>",
|
| 42 |
-
"single_word": false,
|
| 43 |
-
"lstrip": false,
|
| 44 |
-
"rstrip": false,
|
| 45 |
-
"normalized": false,
|
| 46 |
-
"special": true
|
| 47 |
-
},
|
| 48 |
-
"151647": {
|
| 49 |
-
"content": "<|object_ref_end|>",
|
| 50 |
-
"single_word": false,
|
| 51 |
-
"lstrip": false,
|
| 52 |
-
"rstrip": false,
|
| 53 |
-
"normalized": false,
|
| 54 |
-
"special": true
|
| 55 |
-
},
|
| 56 |
-
"151648": {
|
| 57 |
-
"content": "<|box_start|>",
|
| 58 |
-
"single_word": false,
|
| 59 |
-
"lstrip": false,
|
| 60 |
-
"rstrip": false,
|
| 61 |
-
"normalized": false,
|
| 62 |
-
"special": true
|
| 63 |
-
},
|
| 64 |
-
"151649": {
|
| 65 |
-
"content": "<|box_end|>",
|
| 66 |
-
"single_word": false,
|
| 67 |
-
"lstrip": false,
|
| 68 |
-
"rstrip": false,
|
| 69 |
-
"normalized": false,
|
| 70 |
-
"special": true
|
| 71 |
-
},
|
| 72 |
-
"151650": {
|
| 73 |
-
"content": "<|quad_start|>",
|
| 74 |
-
"single_word": false,
|
| 75 |
-
"lstrip": false,
|
| 76 |
-
"rstrip": false,
|
| 77 |
-
"normalized": false,
|
| 78 |
-
"special": true
|
| 79 |
-
},
|
| 80 |
-
"151651": {
|
| 81 |
-
"content": "<|quad_end|>",
|
| 82 |
-
"single_word": false,
|
| 83 |
-
"lstrip": false,
|
| 84 |
-
"rstrip": false,
|
| 85 |
-
"normalized": false,
|
| 86 |
-
"special": true
|
| 87 |
-
},
|
| 88 |
-
"151652": {
|
| 89 |
-
"content": "<|vision_start|>",
|
| 90 |
-
"single_word": false,
|
| 91 |
-
"lstrip": false,
|
| 92 |
-
"rstrip": false,
|
| 93 |
-
"normalized": false,
|
| 94 |
-
"special": true
|
| 95 |
-
},
|
| 96 |
-
"151653": {
|
| 97 |
-
"content": "<|vision_end|>",
|
| 98 |
-
"single_word": false,
|
| 99 |
-
"lstrip": false,
|
| 100 |
-
"rstrip": false,
|
| 101 |
-
"normalized": false,
|
| 102 |
-
"special": true
|
| 103 |
-
},
|
| 104 |
-
"151654": {
|
| 105 |
-
"content": "<|vision_pad|>",
|
| 106 |
-
"single_word": false,
|
| 107 |
-
"lstrip": false,
|
| 108 |
-
"rstrip": false,
|
| 109 |
-
"normalized": false,
|
| 110 |
-
"special": true
|
| 111 |
-
},
|
| 112 |
-
"151655": {
|
| 113 |
-
"content": "<|image_pad|>",
|
| 114 |
-
"single_word": false,
|
| 115 |
-
"lstrip": false,
|
| 116 |
-
"rstrip": false,
|
| 117 |
-
"normalized": false,
|
| 118 |
-
"special": true
|
| 119 |
-
},
|
| 120 |
-
"151656": {
|
| 121 |
-
"content": "<|video_pad|>",
|
| 122 |
-
"single_word": false,
|
| 123 |
-
"lstrip": false,
|
| 124 |
-
"rstrip": false,
|
| 125 |
-
"normalized": false,
|
| 126 |
-
"special": true
|
| 127 |
-
},
|
| 128 |
-
"151657": {
|
| 129 |
-
"content": "<tool_call>",
|
| 130 |
-
"single_word": false,
|
| 131 |
-
"lstrip": false,
|
| 132 |
-
"rstrip": false,
|
| 133 |
-
"normalized": false,
|
| 134 |
-
"special": false
|
| 135 |
-
},
|
| 136 |
-
"151658": {
|
| 137 |
-
"content": "</tool_call>",
|
| 138 |
-
"single_word": false,
|
| 139 |
-
"lstrip": false,
|
| 140 |
-
"rstrip": false,
|
| 141 |
-
"normalized": false,
|
| 142 |
-
"special": false
|
| 143 |
-
},
|
| 144 |
-
"151659": {
|
| 145 |
-
"content": "<|fim_prefix|>",
|
| 146 |
-
"single_word": false,
|
| 147 |
-
"lstrip": false,
|
| 148 |
-
"rstrip": false,
|
| 149 |
-
"normalized": false,
|
| 150 |
-
"special": false
|
| 151 |
-
},
|
| 152 |
-
"151660": {
|
| 153 |
-
"content": "<|fim_middle|>",
|
| 154 |
-
"single_word": false,
|
| 155 |
-
"lstrip": false,
|
| 156 |
-
"rstrip": false,
|
| 157 |
-
"normalized": false,
|
| 158 |
-
"special": false
|
| 159 |
-
},
|
| 160 |
-
"151661": {
|
| 161 |
-
"content": "<|fim_suffix|>",
|
| 162 |
-
"single_word": false,
|
| 163 |
-
"lstrip": false,
|
| 164 |
-
"rstrip": false,
|
| 165 |
-
"normalized": false,
|
| 166 |
-
"special": false
|
| 167 |
-
},
|
| 168 |
-
"151662": {
|
| 169 |
-
"content": "<|fim_pad|>",
|
| 170 |
-
"single_word": false,
|
| 171 |
-
"lstrip": false,
|
| 172 |
-
"rstrip": false,
|
| 173 |
-
"normalized": false,
|
| 174 |
-
"special": false
|
| 175 |
-
},
|
| 176 |
-
"151663": {
|
| 177 |
-
"content": "<|repo_name|>",
|
| 178 |
-
"single_word": false,
|
| 179 |
-
"lstrip": false,
|
| 180 |
-
"rstrip": false,
|
| 181 |
-
"normalized": false,
|
| 182 |
-
"special": false
|
| 183 |
-
},
|
| 184 |
-
"151664": {
|
| 185 |
-
"content": "<|file_sep|>",
|
| 186 |
-
"single_word": false,
|
| 187 |
-
"lstrip": false,
|
| 188 |
-
"rstrip": false,
|
| 189 |
-
"normalized": false,
|
| 190 |
-
"special": false
|
| 191 |
-
},
|
| 192 |
-
"151665": {
|
| 193 |
-
"content": "<|PAD_TOKEN|>",
|
| 194 |
-
"single_word": false,
|
| 195 |
-
"lstrip": false,
|
| 196 |
-
"rstrip": false,
|
| 197 |
-
"normalized": false,
|
| 198 |
-
"special": true
|
| 199 |
-
}
|
| 200 |
-
}
|
| 201 |
-
}
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ecb8c112cb1632122a76aec9f5bb3250b10c59cbbee94a0e1b03f2d94e1bebf8
|
| 3 |
+
size 4562
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
training_summary.json
CHANGED
|
@@ -1,120 +1,3 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
"accuracy_pct": 0.0,
|
| 5 |
-
"safety_pct": 0.0
|
| 6 |
-
},
|
| 7 |
-
"v1_post": {
|
| 8 |
-
"avg_reward": 0.2,
|
| 9 |
-
"accuracy_pct": 0.0,
|
| 10 |
-
"safety_pct": 100.0
|
| 11 |
-
},
|
| 12 |
-
"v2_post": {
|
| 13 |
-
"avg_reward": 0.06500000000000006,
|
| 14 |
-
"accuracy_pct": 10.0,
|
| 15 |
-
"safety_pct": 95.0
|
| 16 |
-
},
|
| 17 |
-
"reward_log_v1": [
|
| 18 |
-
-0.115,
|
| 19 |
-
-0.0925,
|
| 20 |
-
-0.045,
|
| 21 |
-
-0.05,
|
| 22 |
-
-0.0075,
|
| 23 |
-
-0.005,
|
| 24 |
-
0.0238,
|
| 25 |
-
0.0463,
|
| 26 |
-
0.1013,
|
| 27 |
-
0.1238,
|
| 28 |
-
0.1713,
|
| 29 |
-
0.19,
|
| 30 |
-
0.1825,
|
| 31 |
-
0.2163,
|
| 32 |
-
0.2075,
|
| 33 |
-
0.2125,
|
| 34 |
-
0.21,
|
| 35 |
-
0.27,
|
| 36 |
-
0.2225,
|
| 37 |
-
0.2725,
|
| 38 |
-
0.2325,
|
| 39 |
-
0.225,
|
| 40 |
-
0.195,
|
| 41 |
-
0.2075,
|
| 42 |
-
0.25,
|
| 43 |
-
0.2263,
|
| 44 |
-
0.2375,
|
| 45 |
-
0.2713,
|
| 46 |
-
0.2275,
|
| 47 |
-
0.2175
|
| 48 |
-
],
|
| 49 |
-
"reward_log_v2": [
|
| 50 |
-
-0.2175,
|
| 51 |
-
-0.2213,
|
| 52 |
-
-0.2238,
|
| 53 |
-
-0.2313,
|
| 54 |
-
-0.1613,
|
| 55 |
-
-0.1775,
|
| 56 |
-
-0.1275,
|
| 57 |
-
-0.0863,
|
| 58 |
-
-0.0913,
|
| 59 |
-
-0.0775,
|
| 60 |
-
-0.0238,
|
| 61 |
-
-0.055,
|
| 62 |
-
0.0063,
|
| 63 |
-
-0.0075,
|
| 64 |
-
-0.0063,
|
| 65 |
-
0.0188,
|
| 66 |
-
0.0225,
|
| 67 |
-
0.045,
|
| 68 |
-
0.0413,
|
| 69 |
-
0.0088,
|
| 70 |
-
0.0338,
|
| 71 |
-
0.0338,
|
| 72 |
-
0.02,
|
| 73 |
-
0.0263,
|
| 74 |
-
0.07,
|
| 75 |
-
0.0088,
|
| 76 |
-
0.0375,
|
| 77 |
-
0.0125,
|
| 78 |
-
0.0638,
|
| 79 |
-
0.0175
|
| 80 |
-
],
|
| 81 |
-
"step_log": [
|
| 82 |
-
10,
|
| 83 |
-
20,
|
| 84 |
-
30,
|
| 85 |
-
40,
|
| 86 |
-
50,
|
| 87 |
-
60,
|
| 88 |
-
70,
|
| 89 |
-
80,
|
| 90 |
-
90,
|
| 91 |
-
100,
|
| 92 |
-
110,
|
| 93 |
-
120,
|
| 94 |
-
130,
|
| 95 |
-
140,
|
| 96 |
-
150,
|
| 97 |
-
160,
|
| 98 |
-
170,
|
| 99 |
-
180,
|
| 100 |
-
190,
|
| 101 |
-
200,
|
| 102 |
-
210,
|
| 103 |
-
220,
|
| 104 |
-
230,
|
| 105 |
-
240,
|
| 106 |
-
250,
|
| 107 |
-
260,
|
| 108 |
-
270,
|
| 109 |
-
280,
|
| 110 |
-
290,
|
| 111 |
-
300
|
| 112 |
-
],
|
| 113 |
-
"training_steps": 300,
|
| 114 |
-
"base_model": "unsloth/qwen2.5-3b-instruct-bnb-4bit",
|
| 115 |
-
"reward_hacking_fix": {
|
| 116 |
-
"fix1": "nitroglycerin added to unsafe_drugs for 128 non-cardiac patients",
|
| 117 |
-
"fix2": "is_drug_safe() made strict \u2014 removed permissive fallback",
|
| 118 |
-
"fix3": "drug reward coupled to diagnosis \u2014 fires only when diagnosis correct"
|
| 119 |
-
}
|
| 120 |
-
}
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e00b7852123f312d8c97761218d7c283ae3b41e349d46f4005ea8b94a4f0758
|
| 3 |
+
size 1703
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ui/components.json
CHANGED
|
@@ -1,20 +1,3 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
"rsc": false,
|
| 5 |
-
"tsx": true,
|
| 6 |
-
"tailwind": {
|
| 7 |
-
"config": "tailwind.config.ts",
|
| 8 |
-
"css": "src/index.css",
|
| 9 |
-
"baseColor": "slate",
|
| 10 |
-
"cssVariables": true,
|
| 11 |
-
"prefix": ""
|
| 12 |
-
},
|
| 13 |
-
"aliases": {
|
| 14 |
-
"components": "@/components",
|
| 15 |
-
"utils": "@/lib/utils",
|
| 16 |
-
"ui": "@/components/ui",
|
| 17 |
-
"lib": "@/lib",
|
| 18 |
-
"hooks": "@/hooks"
|
| 19 |
-
}
|
| 20 |
-
}
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9820835141c54e5b5dfbb68b3c3790db73c9ebfb967884ae3fccd058d698a1a6
|
| 3 |
+
size 414
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ui/package-lock.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
ui/package.json
CHANGED
|
@@ -1,94 +1,3 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
"version": "0.0.0",
|
| 5 |
-
"type": "module",
|
| 6 |
-
"scripts": {
|
| 7 |
-
"dev": "vite",
|
| 8 |
-
"build": "vite build",
|
| 9 |
-
"build:dev": "vite build --mode development",
|
| 10 |
-
"lint": "eslint .",
|
| 11 |
-
"preview": "vite preview",
|
| 12 |
-
"test": "vitest run",
|
| 13 |
-
"test:watch": "vitest"
|
| 14 |
-
},
|
| 15 |
-
"dependencies": {
|
| 16 |
-
"@hookform/resolvers": "^3.10.0",
|
| 17 |
-
"@radix-ui/react-accordion": "^1.2.11",
|
| 18 |
-
"@radix-ui/react-alert-dialog": "^1.1.14",
|
| 19 |
-
"@radix-ui/react-aspect-ratio": "^1.1.7",
|
| 20 |
-
"@radix-ui/react-avatar": "^1.1.10",
|
| 21 |
-
"@radix-ui/react-checkbox": "^1.3.2",
|
| 22 |
-
"@radix-ui/react-collapsible": "^1.1.11",
|
| 23 |
-
"@radix-ui/react-context-menu": "^2.2.15",
|
| 24 |
-
"@radix-ui/react-dialog": "^1.1.14",
|
| 25 |
-
"@radix-ui/react-dropdown-menu": "^2.1.15",
|
| 26 |
-
"@radix-ui/react-hover-card": "^1.1.14",
|
| 27 |
-
"@radix-ui/react-label": "^2.1.7",
|
| 28 |
-
"@radix-ui/react-menubar": "^1.1.15",
|
| 29 |
-
"@radix-ui/react-navigation-menu": "^1.2.13",
|
| 30 |
-
"@radix-ui/react-popover": "^1.1.14",
|
| 31 |
-
"@radix-ui/react-progress": "^1.1.7",
|
| 32 |
-
"@radix-ui/react-radio-group": "^1.3.7",
|
| 33 |
-
"@radix-ui/react-scroll-area": "^1.2.9",
|
| 34 |
-
"@radix-ui/react-select": "^2.2.5",
|
| 35 |
-
"@radix-ui/react-separator": "^1.1.7",
|
| 36 |
-
"@radix-ui/react-slider": "^1.3.5",
|
| 37 |
-
"@radix-ui/react-slot": "^1.2.3",
|
| 38 |
-
"@radix-ui/react-switch": "^1.2.5",
|
| 39 |
-
"@radix-ui/react-tabs": "^1.1.12",
|
| 40 |
-
"@radix-ui/react-toast": "^1.2.14",
|
| 41 |
-
"@radix-ui/react-toggle": "^1.1.9",
|
| 42 |
-
"@radix-ui/react-toggle-group": "^1.1.10",
|
| 43 |
-
"@radix-ui/react-tooltip": "^1.2.7",
|
| 44 |
-
"@react-three/drei": "^9.122.0",
|
| 45 |
-
"@react-three/fiber": "^8.18.0",
|
| 46 |
-
"@tanstack/react-query": "^5.83.0",
|
| 47 |
-
"@types/three": "^0.184.0",
|
| 48 |
-
"class-variance-authority": "^0.7.1",
|
| 49 |
-
"clsx": "^2.1.1",
|
| 50 |
-
"cmdk": "^1.1.1",
|
| 51 |
-
"date-fns": "^3.6.0",
|
| 52 |
-
"embla-carousel-react": "^8.6.0",
|
| 53 |
-
"framer-motion": "^11.0.0",
|
| 54 |
-
"input-otp": "^1.4.2",
|
| 55 |
-
"lucide-react": "^0.462.0",
|
| 56 |
-
"next-themes": "^0.3.0",
|
| 57 |
-
"react": "^18.3.1",
|
| 58 |
-
"react-day-picker": "^8.10.1",
|
| 59 |
-
"react-dom": "^18.3.1",
|
| 60 |
-
"react-hook-form": "^7.61.1",
|
| 61 |
-
"react-resizable-panels": "^2.1.9",
|
| 62 |
-
"react-router-dom": "^6.30.1",
|
| 63 |
-
"recharts": "^2.15.4",
|
| 64 |
-
"sonner": "^1.7.4",
|
| 65 |
-
"tailwind-merge": "^2.6.0",
|
| 66 |
-
"tailwindcss-animate": "^1.0.7",
|
| 67 |
-
"three": "^0.160.0",
|
| 68 |
-
"vaul": "^0.9.9",
|
| 69 |
-
"zod": "^3.25.76"
|
| 70 |
-
},
|
| 71 |
-
"devDependencies": {
|
| 72 |
-
"@eslint/js": "^9.32.0",
|
| 73 |
-
"@tailwindcss/typography": "^0.5.16",
|
| 74 |
-
"@testing-library/jest-dom": "^6.6.0",
|
| 75 |
-
"@testing-library/react": "^16.0.0",
|
| 76 |
-
"@types/node": "^22.16.5",
|
| 77 |
-
"@types/react": "^18.3.23",
|
| 78 |
-
"@types/react-dom": "^18.3.7",
|
| 79 |
-
"@vitejs/plugin-react-swc": "^3.11.0",
|
| 80 |
-
"autoprefixer": "^10.4.21",
|
| 81 |
-
"eslint": "^9.32.0",
|
| 82 |
-
"eslint-plugin-react-hooks": "^5.2.0",
|
| 83 |
-
"eslint-plugin-react-refresh": "^0.4.20",
|
| 84 |
-
"globals": "^15.15.0",
|
| 85 |
-
"jsdom": "^20.0.3",
|
| 86 |
-
"lovable-tagger": "^1.1.13",
|
| 87 |
-
"postcss": "^8.5.6",
|
| 88 |
-
"tailwindcss": "^3.4.17",
|
| 89 |
-
"typescript": "^5.8.3",
|
| 90 |
-
"typescript-eslint": "^8.38.0",
|
| 91 |
-
"vite": "^5.4.19",
|
| 92 |
-
"vitest": "^3.2.4"
|
| 93 |
-
}
|
| 94 |
-
}
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d077ee44fe4b231635bc13a8f015e064acd133b595da76d7d614756fe03c604
|
| 3 |
+
size 3065
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ui/tsconfig.app.json
CHANGED
|
@@ -1,30 +1,3 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
"target": "ES2020",
|
| 5 |
-
"useDefineForClassFields": true,
|
| 6 |
-
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
| 7 |
-
"module": "ESNext",
|
| 8 |
-
"skipLibCheck": true,
|
| 9 |
-
|
| 10 |
-
/* Bundler mode */
|
| 11 |
-
"moduleResolution": "bundler",
|
| 12 |
-
"allowImportingTsExtensions": true,
|
| 13 |
-
"isolatedModules": true,
|
| 14 |
-
"moduleDetection": "force",
|
| 15 |
-
"noEmit": true,
|
| 16 |
-
"jsx": "react-jsx",
|
| 17 |
-
|
| 18 |
-
/* Linting */
|
| 19 |
-
"strict": false,
|
| 20 |
-
"noUnusedLocals": false,
|
| 21 |
-
"noUnusedParameters": false,
|
| 22 |
-
"noImplicitAny": false,
|
| 23 |
-
"noFallthroughCasesInSwitch": false,
|
| 24 |
-
|
| 25 |
-
"paths": {
|
| 26 |
-
"@/*": ["./src/*"]
|
| 27 |
-
}
|
| 28 |
-
},
|
| 29 |
-
"include": ["src"]
|
| 30 |
-
}
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:63a269fdf75ffa2e40ce3a8cc3558703d3835687b7a74c750e2401fabd532c03
|
| 3 |
+
size 665
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ui/tsconfig.json
CHANGED
|
@@ -1,15 +1,3 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
"compilerOptions": {
|
| 5 |
-
"paths": {
|
| 6 |
-
"@/*": ["./src/*"]
|
| 7 |
-
},
|
| 8 |
-
"noImplicitAny": false,
|
| 9 |
-
"noUnusedParameters": false,
|
| 10 |
-
"skipLibCheck": true,
|
| 11 |
-
"allowJs": true,
|
| 12 |
-
"noUnusedLocals": false,
|
| 13 |
-
"strictNullChecks": false
|
| 14 |
-
}
|
| 15 |
-
}
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e988077b62a974474d6029cf8ac0c97521852ce0d8f24a68ee9783d69bcfc0a
|
| 3 |
+
size 349
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ui/tsconfig.node.json
CHANGED
|
@@ -1,22 +1,3 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
"lib": ["ES2023"],
|
| 5 |
-
"module": "ESNext",
|
| 6 |
-
"skipLibCheck": true,
|
| 7 |
-
|
| 8 |
-
/* Bundler mode */
|
| 9 |
-
"moduleResolution": "bundler",
|
| 10 |
-
"allowImportingTsExtensions": true,
|
| 11 |
-
"isolatedModules": true,
|
| 12 |
-
"moduleDetection": "force",
|
| 13 |
-
"noEmit": true,
|
| 14 |
-
|
| 15 |
-
/* Linting */
|
| 16 |
-
"strict": true,
|
| 17 |
-
"noUnusedLocals": false,
|
| 18 |
-
"noUnusedParameters": false,
|
| 19 |
-
"noFallthroughCasesInSwitch": true
|
| 20 |
-
},
|
| 21 |
-
"include": ["vite.config.ts"]
|
| 22 |
-
}
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a96b9ba5e40d95b92adf56431fdf9cbe25b5c2557621f0666615bff6889dfc50
|
| 3 |
+
size 481
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|