Upload training artifacts
Browse files- experiment_metadata.json +103 -286
experiment_metadata.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
"experiment_name": "evlms_v2_baseline",
|
| 3 |
"repo_id": "codewithdark/EVLMs-v2-MIMIC-CXR",
|
| 4 |
"config": {
|
| 5 |
-
"optimizer_type": "
|
| 6 |
"muon_lr": 0.0001,
|
| 7 |
"adam_lr": 0.0001,
|
| 8 |
"weight_decay": 0.01,
|
|
@@ -10,12 +10,12 @@
|
|
| 10 |
"ns_steps": 5,
|
| 11 |
"batch_size": 16,
|
| 12 |
"gradient_accumulation_steps": 1,
|
| 13 |
-
"num_epochs":
|
| 14 |
"max_grad_norm": 0.5,
|
| 15 |
"use_mixed_precision": true,
|
| 16 |
"amp_dtype": "bfloat16",
|
| 17 |
"max_train_steps": null,
|
| 18 |
-
"dataloader_num_workers":
|
| 19 |
"pin_memory": true,
|
| 20 |
"dataloader_prefetch_factor": 4,
|
| 21 |
"warmup_ratio": 0.1,
|
|
@@ -25,14 +25,14 @@
|
|
| 25 |
"early_stopping_patience": 3,
|
| 26 |
"early_stopping_min_delta": 0.0001,
|
| 27 |
"early_stopping_monitor": "val_loss",
|
| 28 |
-
"early_stopping_enabled":
|
| 29 |
"length_grouped_batches": true,
|
| 30 |
"max_val_batches": 50,
|
| 31 |
"lr_scheduler": "cosine_with_warmup",
|
| 32 |
"lr_scheduler_patience": 3,
|
| 33 |
"lr_scheduler_factor": 0.5,
|
| 34 |
"lr_scheduler_min_lr": 1e-06,
|
| 35 |
-
"output_dir": "/outputs/
|
| 36 |
"experiment_name": "evlms_v2_baseline",
|
| 37 |
"skip_nonfinite_batches": true,
|
| 38 |
"max_nonfinite_batches": 20,
|
|
@@ -48,300 +48,117 @@
|
|
| 48 |
"epochs": [
|
| 49 |
{
|
| 50 |
"epoch": 1,
|
| 51 |
-
"global_step":
|
| 52 |
"train_metrics": {
|
| 53 |
-
"loss":
|
| 54 |
-
"cls_loss": 0.
|
| 55 |
-
"lang_loss": 0.
|
| 56 |
},
|
| 57 |
"val_metrics": {
|
| 58 |
-
"loss":
|
| 59 |
-
"val_loss":
|
| 60 |
-
"accuracy": 0.
|
| 61 |
-
"auc_class_0": 0.
|
| 62 |
-
"ap_class_0": 0.
|
| 63 |
-
"auc_class_1": 0.
|
| 64 |
-
"ap_class_1": 0.
|
| 65 |
-
"auc_class_2": 0.
|
| 66 |
-
"ap_class_2": 0.
|
| 67 |
-
"auc_class_3": 0.
|
| 68 |
-
"ap_class_3": 0.
|
| 69 |
-
"auc_class_4": 0.
|
| 70 |
-
"ap_class_4": 0.
|
| 71 |
-
"auc_class_5": 0.
|
| 72 |
-
"ap_class_5": 0.
|
| 73 |
-
"auc_class_6": 0.
|
| 74 |
-
"ap_class_6": 0.
|
| 75 |
-
"auc_class_7": 0.
|
| 76 |
-
"ap_class_7": 0.
|
| 77 |
-
"auc_class_8": 0.
|
| 78 |
-
"ap_class_8": 0.
|
| 79 |
-
"auc_class_9": 0.
|
| 80 |
-
"ap_class_9": 0.
|
| 81 |
-
"auc_class_10": 0.
|
| 82 |
-
"ap_class_10": 0.
|
| 83 |
-
"auc_class_11": 0.
|
| 84 |
-
"ap_class_11": 0.
|
| 85 |
-
"auc_class_12": 0.
|
| 86 |
-
"ap_class_12": 0.
|
| 87 |
-
"auc_class_13": 0.
|
| 88 |
-
"ap_class_13": 0.
|
| 89 |
-
"mean_auc": 0.
|
| 90 |
-
"mean_ap": 0.
|
| 91 |
-
"val_mean_auc": 0.
|
| 92 |
-
"val_accuracy": 0.
|
| 93 |
-
"lang_bleu1": 0.
|
| 94 |
-
"lang_bleu2": 0.
|
| 95 |
-
"lang_bleu3": 0.
|
| 96 |
-
"lang_bleu4": 0.
|
| 97 |
-
"lang_rouge1": 0.
|
| 98 |
-
"lang_rougeL": 0.
|
| 99 |
},
|
| 100 |
"artifacts": {
|
| 101 |
-
"epoch_dir": "/outputs/
|
| 102 |
-
"image_path": "/outputs/
|
| 103 |
-
"explainability_path": "/outputs/
|
| 104 |
-
"text_path": "/outputs/
|
| 105 |
-
"metrics_path": "/outputs/
|
| 106 |
"query": "Reviewing pleura... Inspecting costophrenic recess approx and lung... Moderate bilateral pleural effusions with overlying atelectasis. Reviewing lungs and airways... Inspecting lung... Mild prominence of the interstitial markings, suggesting mild pulmonary edema. Reviewing cardiovascular... Inspecting cardiomediastinum... Mild enlargement of the cardiac silhouette. Reviewing hila and mediastinum... Inspecting cardiomediastinum... Unremarkable mediastinal contours. Reviewing other... Inspecting visceral pleura approx... No evidence of pneumothorax. - **Pleura**: Moderate bilateral pleural effusions with overlying atelectasis. - **Lungs and Airways**: Mild prominence of the interstitial markings, suggesting mild pulmonary edema. - **Cardiovascular**: Mild enlargement of the cardiac silhouette. - **Hila and Mediastinum**: Unremarkable mediastinal contours. - **Other**: No evidence of pneumothorax. - Moderate bilateral pleural effusions with possible underlying consolidation, raising concern for pneumonia at the lung bases. - Cardiomegaly and mild pulmonary edema, which may suggest fluid overload. There are moderate bilateral pleural effusions with overlying atelectasis, underlying consolidation not excluded. Mild prominence of the interstitial markings suggests mild pulmonary edema. The cardiac silhouette is mildly enlarged. The mediastinal contours are unremarkable. There is no evidence of pneumothorax.",
|
| 107 |
-
"output": "<interpret>\nReviewing lungs and airways...\n<tool type=\"anatomical_roi\" label=[\"lungs and airways\"]><image>\nInspecting lung lower lobe right, left
|
| 108 |
-
}
|
| 109 |
-
},
|
| 110 |
-
{
|
| 111 |
-
"epoch": 2,
|
| 112 |
-
"global_step": 4000,
|
| 113 |
-
"train_metrics": {
|
| 114 |
-
"loss": 0.8133014933168888,
|
| 115 |
-
"cls_loss": 0.7953811235129833,
|
| 116 |
-
"lang_loss": 0.2256066598519683
|
| 117 |
-
},
|
| 118 |
-
"val_metrics": {
|
| 119 |
-
"loss": 0.9021956777572632,
|
| 120 |
-
"val_loss": 0.9021956777572632,
|
| 121 |
-
"accuracy": 0.7414880201765448,
|
| 122 |
-
"auc_class_0": 0.7392436219056185,
|
| 123 |
-
"ap_class_0": 0.4796044742257118,
|
| 124 |
-
"auc_class_1": 0.7449507647182065,
|
| 125 |
-
"ap_class_1": 0.36616681970756704,
|
| 126 |
-
"auc_class_2": 0.6322921894907533,
|
| 127 |
-
"ap_class_2": 0.5552697287334634,
|
| 128 |
-
"auc_class_3": 0.7301853060529526,
|
| 129 |
-
"ap_class_3": 0.5638121505126079,
|
| 130 |
-
"auc_class_4": 0.5977157360406092,
|
| 131 |
-
"ap_class_4": 0.012639696350513098,
|
| 132 |
-
"auc_class_5": 0.6089608257095942,
|
| 133 |
-
"ap_class_5": 0.09439468268830664,
|
| 134 |
-
"auc_class_6": 0.5214485458612975,
|
| 135 |
-
"ap_class_6": 0.08999143347376358,
|
| 136 |
-
"auc_class_7": 0.6922483724103158,
|
| 137 |
-
"ap_class_7": 0.4613490255599873,
|
| 138 |
-
"auc_class_8": 0.8423397013077965,
|
| 139 |
-
"ap_class_8": 0.9317938315009738,
|
| 140 |
-
"auc_class_9": 0.5799160785809652,
|
| 141 |
-
"ap_class_9": 0.8915963994687541,
|
| 142 |
-
"auc_class_10": 0.6969654528478058,
|
| 143 |
-
"ap_class_10": 0.12065127830090552,
|
| 144 |
-
"auc_class_11": 0.5931430554898155,
|
| 145 |
-
"ap_class_11": 0.39535539548957055,
|
| 146 |
-
"auc_class_12": 0.6439770182101471,
|
| 147 |
-
"ap_class_12": 0.8756407077091183,
|
| 148 |
-
"auc_class_13": 0.8378763971071662,
|
| 149 |
-
"ap_class_13": 0.7865393729897266,
|
| 150 |
-
"mean_auc": 0.6758045046952175,
|
| 151 |
-
"mean_ap": 0.47320035690792644,
|
| 152 |
-
"val_mean_auc": 0.6758045046952175,
|
| 153 |
-
"val_accuracy": 0.7414880201765448,
|
| 154 |
-
"lang_bleu1": 0.19449781309740002,
|
| 155 |
-
"lang_bleu2": 0.10611102011361007,
|
| 156 |
-
"lang_bleu3": 0.06872196453362693,
|
| 157 |
-
"lang_bleu4": 0.04697382447959727,
|
| 158 |
-
"lang_rouge1": 0.3134223759508582,
|
| 159 |
-
"lang_rougeL": 0.1773146990588314
|
| 160 |
-
},
|
| 161 |
-
"artifacts": {
|
| 162 |
-
"epoch_dir": "/outputs/final_v4/baseline/artifacts/epoch_002",
|
| 163 |
-
"image_path": "/outputs/final_v4/baseline/artifacts/epoch_002/original_image.png",
|
| 164 |
-
"explainability_path": "/outputs/final_v4/baseline/artifacts/epoch_002/explainability.png",
|
| 165 |
-
"text_path": "/outputs/final_v4/baseline/artifacts/epoch_002/query_result.txt",
|
| 166 |
-
"metrics_path": "/outputs/final_v4/baseline/artifacts/epoch_002/metrics.json",
|
| 167 |
-
"query": "Reviewing pleura... Inspecting costophrenic recess approx and lung... Moderate bilateral pleural effusions with overlying atelectasis. Reviewing lungs and airways... Inspecting lung... Mild prominence of the interstitial markings, suggesting mild pulmonary edema. Reviewing cardiovascular... Inspecting cardiomediastinum... Mild enlargement of the cardiac silhouette. Reviewing hila and mediastinum... Inspecting cardiomediastinum... Unremarkable mediastinal contours. Reviewing other... Inspecting visceral pleura approx... No evidence of pneumothorax. - **Pleura**: Moderate bilateral pleural effusions with overlying atelectasis. - **Lungs and Airways**: Mild prominence of the interstitial markings, suggesting mild pulmonary edema. - **Cardiovascular**: Mild enlargement of the cardiac silhouette. - **Hila and Mediastinum**: Unremarkable mediastinal contours. - **Other**: No evidence of pneumothorax. - Moderate bilateral pleural effusions with possible underlying consolidation, raising concern for pneumonia at the lung bases. - Cardiomegaly and mild pulmonary edema, which may suggest fluid overload. There are moderate bilateral pleural effusions with overlying atelectasis, underlying consolidation not excluded. Mild prominence of the interstitial markings suggests mild pulmonary edema. The cardiac silhouette is mildly enlarged. The mediastinal contours are unremarkable. There is no evidence of pneumothorax.",
|
| 168 |
-
"output": "<interpret>\nReviewing lungs and airways...\n<tool type=\"anatomical_roi\" label=[\"lungs and airways\"]><image>\nInspecting lung, diaphragm, costophrenic recess approx., visceral pleura approx. left mid zone, and right apical zone lung...\n!<label>(a) Lung</label><br/>\nInspeci ng lung base...\n![\"Lung Base\", \"Bibasilar Opacities Suggestive of Pulmonary Fibrosis/Emphysema\"]]\nReviewin g cardiovascular...\n!</tool>\n<data set-type=\"diagnostic\" diagnosis=\"\" results='['Lung Base', 'Bibasalar Opacitieis Suggestive Of Pulmonary Fibrosus Emphysem']\">[/Data Set Type: Diagnostic Results]\n<report>\nThe cardiomediastinal silhouette is stable in appearance compared to the prior study with mild enlargement of bilateral hilar regions. There are bibasilar opacities which may be due to pulmonary fibrosis or emphysema. The remainder of the lungs appear clear without evidence for pneumonia. No pleural effusion identified.\n</report>"
|
| 169 |
-
}
|
| 170 |
-
},
|
| 171 |
-
{
|
| 172 |
-
"epoch": 3,
|
| 173 |
-
"global_step": 5000,
|
| 174 |
-
"train_metrics": {
|
| 175 |
-
"loss": 0.7689725399613381,
|
| 176 |
-
"cls_loss": 0.7894094789326191,
|
| 177 |
-
"lang_loss": 0.21420532247424126
|
| 178 |
-
},
|
| 179 |
-
"val_metrics": {
|
| 180 |
-
"loss": 0.9047660279273987,
|
| 181 |
-
"val_loss": 0.9047660279273987,
|
| 182 |
-
"accuracy": 0.7628355251306072,
|
| 183 |
-
"auc_class_0": 0.739235733106136,
|
| 184 |
-
"ap_class_0": 0.4970028868083173,
|
| 185 |
-
"auc_class_1": 0.7480829666876179,
|
| 186 |
-
"ap_class_1": 0.36426238179717924,
|
| 187 |
-
"auc_class_2": 0.633051490933426,
|
| 188 |
-
"ap_class_2": 0.5533557662560273,
|
| 189 |
-
"auc_class_3": 0.7320582309373138,
|
| 190 |
-
"ap_class_3": 0.5709099848094863,
|
| 191 |
-
"auc_class_4": 0.6071065989847716,
|
| 192 |
-
"ap_class_4": 0.012520507984485847,
|
| 193 |
-
"auc_class_5": 0.5824302134646961,
|
| 194 |
-
"ap_class_5": 0.09211225126134895,
|
| 195 |
-
"auc_class_6": 0.5318512304250559,
|
| 196 |
-
"ap_class_6": 0.09052508286315866,
|
| 197 |
-
"auc_class_7": 0.692782251486705,
|
| 198 |
-
"ap_class_7": 0.4632276968825239,
|
| 199 |
-
"auc_class_8": 0.8414358072344099,
|
| 200 |
-
"ap_class_8": 0.9309804004534125,
|
| 201 |
-
"auc_class_9": 0.5904403149777935,
|
| 202 |
-
"ap_class_9": 0.8956783228463449,
|
| 203 |
-
"auc_class_10": 0.7083099906629319,
|
| 204 |
-
"ap_class_10": 0.12351543740665047,
|
| 205 |
-
"auc_class_11": 0.6076742241365709,
|
| 206 |
-
"ap_class_11": 0.4007707003413897,
|
| 207 |
-
"auc_class_12": 0.6443860161651573,
|
| 208 |
-
"ap_class_12": 0.8769504910425769,
|
| 209 |
-
"auc_class_13": 0.8411702827087443,
|
| 210 |
-
"ap_class_13": 0.7926438480117236,
|
| 211 |
-
"mean_auc": 0.6785725251365234,
|
| 212 |
-
"mean_ap": 0.4760325541974733,
|
| 213 |
-
"val_mean_auc": 0.6785725251365234,
|
| 214 |
-
"val_accuracy": 0.7628355251306072,
|
| 215 |
-
"lang_bleu1": 0.148404219442359,
|
| 216 |
-
"lang_bleu2": 0.08169398214934118,
|
| 217 |
-
"lang_bleu3": 0.05251273477771364,
|
| 218 |
-
"lang_bleu4": 0.0357743499115026,
|
| 219 |
-
"lang_rouge1": 0.2667146437409587,
|
| 220 |
-
"lang_rougeL": 0.16181283990617468
|
| 221 |
-
},
|
| 222 |
-
"artifacts": {
|
| 223 |
-
"epoch_dir": "/outputs/final_v4/baseline/artifacts/epoch_003",
|
| 224 |
-
"image_path": "/outputs/final_v4/baseline/artifacts/epoch_003/original_image.png",
|
| 225 |
-
"explainability_path": "/outputs/final_v4/baseline/artifacts/epoch_003/explainability.png",
|
| 226 |
-
"text_path": "/outputs/final_v4/baseline/artifacts/epoch_003/query_result.txt",
|
| 227 |
-
"metrics_path": "/outputs/final_v4/baseline/artifacts/epoch_003/metrics.json",
|
| 228 |
-
"query": "Reviewing pleura... Inspecting costophrenic recess approx and lung... Moderate bilateral pleural effusions with overlying atelectasis. Reviewing lungs and airways... Inspecting lung... Mild prominence of the interstitial markings, suggesting mild pulmonary edema. Reviewing cardiovascular... Inspecting cardiomediastinum... Mild enlargement of the cardiac silhouette. Reviewing hila and mediastinum... Inspecting cardiomediastinum... Unremarkable mediastinal contours. Reviewing other... Inspecting visceral pleura approx... No evidence of pneumothorax. - **Pleura**: Moderate bilateral pleural effusions with overlying atelectasis. - **Lungs and Airways**: Mild prominence of the interstitial markings, suggesting mild pulmonary edema. - **Cardiovascular**: Mild enlargement of the cardiac silhouette. - **Hila and Mediastinum**: Unremarkable mediastinal contours. - **Other**: No evidence of pneumothorax. - Moderate bilateral pleural effusions with possible underlying consolidation, raising concern for pneumonia at the lung bases. - Cardiomegaly and mild pulmonary edema, which may suggest fluid overload. There are moderate bilateral pleural effusions with overlying atelectasis, underlying consolidation not excluded. Mild prominence of the interstitial markings suggests mild pulmonary edema. The cardiac silhouette is mildly enlarged. The mediastinal contours are unremarkable. There is no evidence of pneumothorax.",
|
| 229 |
-
"output": "<interpret>\nReviewing lungs and airways...\n<tool type=\"anatomical_roi\" label=[\"lungs and airways\"]><image>\nInspecting lung, diaphragm, costophrenic recess approx., visceral pleura approx. anterior 1st rib right, posterior 6th rib left, clavicle left, scapula left, ribs anterior 7-8, ribs posterior 9-10, and cardiomediastinum...\nInspections: Lung Lower lobe Left...\n</instrumentations>\n<findings>\nLung lower lobe left is better assessed on prior CT chest examination performed the same day.\n</findings>\n\n<comment></comment>\n\n\n<report>\nThe exam is limited by patient body habitus but allows for some assessment of the retrocardiac region including a small effusion or consolidation in this area cannot be excluded. The remainder of the exam appears normal with no significant change from ___. There has been interval development of mild pulmonary vascular congestion which may have contributed to an increase in volume loss seen on recent CT. No definite focal infiltrate identified although it could reflect atelectasis if present. Mildly increased interstitial markings are noted throughout both lungs. Cardiomediastal contours appear unchanged allowing for differences in technique. Lungs remain grossly clear without evidence of pneumothorax. Comparison with previous study raises concern that there was overlap between two examinations. Please note that comparison with other studies would not necessarily confirm findings as they relate to specific techniques used.\nThere has also been interval removal of endotracheal tube.\nPlease see separate report for more"
|
| 230 |
-
}
|
| 231 |
-
},
|
| 232 |
-
{
|
| 233 |
-
"epoch": 4,
|
| 234 |
-
"global_step": 6000,
|
| 235 |
-
"train_metrics": {
|
| 236 |
-
"loss": 0.7454561379551887,
|
| 237 |
-
"cls_loss": 0.7822268272936345,
|
| 238 |
-
"lang_loss": 0.20808011797815562
|
| 239 |
-
},
|
| 240 |
-
"val_metrics": {
|
| 241 |
-
"loss": 0.8899669605493545,
|
| 242 |
-
"val_loss": 0.8899669605493545,
|
| 243 |
-
"accuracy": 0.7514862186993334,
|
| 244 |
-
"auc_class_0": 0.7447973367412948,
|
| 245 |
-
"ap_class_0": 0.5070257110747189,
|
| 246 |
-
"auc_class_1": 0.746270689293945,
|
| 247 |
-
"ap_class_1": 0.37968615936358613,
|
| 248 |
-
"auc_class_2": 0.6360307838822182,
|
| 249 |
-
"ap_class_2": 0.5569496701394134,
|
| 250 |
-
"auc_class_3": 0.7297241692443032,
|
| 251 |
-
"ap_class_3": 0.5661098879670796,
|
| 252 |
-
"auc_class_4": 0.6121827411167513,
|
| 253 |
-
"ap_class_4": 0.011562098452381661,
|
| 254 |
-
"auc_class_5": 0.5966690124325592,
|
| 255 |
-
"ap_class_5": 0.09356172421014577,
|
| 256 |
-
"auc_class_6": 0.5307046979865773,
|
| 257 |
-
"ap_class_6": 0.08715518683547283,
|
| 258 |
-
"auc_class_7": 0.6965787249188059,
|
| 259 |
-
"ap_class_7": 0.46834270933036426,
|
| 260 |
-
"auc_class_8": 0.8420384032833341,
|
| 261 |
-
"ap_class_8": 0.9339179232984554,
|
| 262 |
-
"auc_class_9": 0.5884989509822621,
|
| 263 |
-
"ap_class_9": 0.8934520127138463,
|
| 264 |
-
"auc_class_10": 0.7173669467787115,
|
| 265 |
-
"ap_class_10": 0.12435178701954977,
|
| 266 |
-
"auc_class_11": 0.6070588977769363,
|
| 267 |
-
"ap_class_11": 0.40410545128447095,
|
| 268 |
-
"auc_class_12": 0.642847404810595,
|
| 269 |
-
"ap_class_12": 0.8755214587176747,
|
| 270 |
-
"auc_class_13": 0.8433727810650888,
|
| 271 |
-
"ap_class_13": 0.7928585135001296,
|
| 272 |
-
"mean_auc": 0.6810101100223845,
|
| 273 |
-
"mean_ap": 0.4781857352790921,
|
| 274 |
-
"val_mean_auc": 0.6810101100223845,
|
| 275 |
-
"val_accuracy": 0.7514862186993334,
|
| 276 |
-
"lang_bleu1": 0.1791804428380969,
|
| 277 |
-
"lang_bleu2": 0.10493031854487081,
|
| 278 |
-
"lang_bleu3": 0.0714202619734251,
|
| 279 |
-
"lang_bleu4": 0.04974959990845705,
|
| 280 |
-
"lang_rouge1": 0.3175610786460543,
|
| 281 |
-
"lang_rougeL": 0.1870787379018222
|
| 282 |
-
},
|
| 283 |
-
"artifacts": {
|
| 284 |
-
"epoch_dir": "/outputs/final_v4/baseline/artifacts/epoch_004",
|
| 285 |
-
"image_path": "/outputs/final_v4/baseline/artifacts/epoch_004/original_image.png",
|
| 286 |
-
"explainability_path": "/outputs/final_v4/baseline/artifacts/epoch_004/explainability.png",
|
| 287 |
-
"text_path": "/outputs/final_v4/baseline/artifacts/epoch_004/query_result.txt",
|
| 288 |
-
"metrics_path": "/outputs/final_v4/baseline/artifacts/epoch_004/metrics.json",
|
| 289 |
-
"query": "Reviewing pleura... Inspecting costophrenic recess approx and lung... Moderate bilateral pleural effusions with overlying atelectasis. Reviewing lungs and airways... Inspecting lung... Mild prominence of the interstitial markings, suggesting mild pulmonary edema. Reviewing cardiovascular... Inspecting cardiomediastinum... Mild enlargement of the cardiac silhouette. Reviewing hila and mediastinum... Inspecting cardiomediastinum... Unremarkable mediastinal contours. Reviewing other... Inspecting visceral pleura approx... No evidence of pneumothorax. - **Pleura**: Moderate bilateral pleural effusions with overlying atelectasis. - **Lungs and Airways**: Mild prominence of the interstitial markings, suggesting mild pulmonary edema. - **Cardiovascular**: Mild enlargement of the cardiac silhouette. - **Hila and Mediastinum**: Unremarkable mediastinal contours. - **Other**: No evidence of pneumothorax. - Moderate bilateral pleural effusions with possible underlying consolidation, raising concern for pneumonia at the lung bases. - Cardiomegaly and mild pulmonary edema, which may suggest fluid overload. There are moderate bilateral pleural effusions with overlying atelectasis, underlying consolidation not excluded. Mild prominence of the interstitial markings suggests mild pulmonary edema. The cardiac silhouette is mildly enlarged. The mediastinal contours are unremarkable. There is no evidence of pneumothorax.",
|
| 290 |
-
"output": "<interpret>\nReviewing lungs and airways...\n<tool type=\"anatomical_roi\" label=[\"lungs and airways\"]><image>\nInspecting lung, diaphragm, costophrenic recess approx., visceral pleura approx. anterior 1st rib left, posterior 6th rib right, clavicle right, scapula right, breast right, heart atrium right, pulmonary artery right, and inferior vena cava...\nInspections of the upper zone lung and cardiomediastinum...\n</tool>\n<finding>\n- **Lungs and Airways**: Reviewing lungs <br/>\n- \"Apparent improvement in bilateral perihilar opacities.\" \"<font size=\"+2\">Bilateral perihilariopacities have improved.</font>\"\n- No new focal consolidation or pleural effusion noted.\n</finding>\n\n<impression>\nImproved appearance of bilateral periorbital airspace opacifications compared to prior study from two days earlier.\nNo evidence of acute cardiopulmonary process such as pneumonia, pneumothorax, or pleural effusions on this portable chest radiograph.\nChest tubes are no longer visualized within the confines of the patient's body habitus; however, they may be present if not removed during current examination.\nPrevious findings suggestive of an infectious etiology appear resolved with only minimal residual opacity at the base of each hilum.\nStudy limited by suboptimal positioning due to underpenetration caused by overlying soft tissues.\nConsider repeat imaging after a week for further evaluation when the patient is more upright.\nReport: Based on"
|
| 291 |
}
|
| 292 |
}
|
| 293 |
],
|
| 294 |
-
"best_val_loss":
|
| 295 |
-
"best_val_accuracy": 0.
|
| 296 |
"patience_counter": 0,
|
| 297 |
"nonfinite_batches": 0,
|
| 298 |
-
"latest_epoch":
|
| 299 |
"latest_train_metrics": {
|
| 300 |
-
"loss":
|
| 301 |
-
"cls_loss": 0.
|
| 302 |
-
"lang_loss": 0.
|
| 303 |
},
|
| 304 |
"latest_val_metrics": {
|
| 305 |
-
"loss":
|
| 306 |
-
"val_loss":
|
| 307 |
-
"accuracy": 0.
|
| 308 |
-
"auc_class_0": 0.
|
| 309 |
-
"ap_class_0": 0.
|
| 310 |
-
"auc_class_1": 0.
|
| 311 |
-
"ap_class_1": 0.
|
| 312 |
-
"auc_class_2": 0.
|
| 313 |
-
"ap_class_2": 0.
|
| 314 |
-
"auc_class_3": 0.
|
| 315 |
-
"ap_class_3": 0.
|
| 316 |
-
"auc_class_4": 0.
|
| 317 |
-
"ap_class_4": 0.
|
| 318 |
-
"auc_class_5": 0.
|
| 319 |
-
"ap_class_5": 0.
|
| 320 |
-
"auc_class_6": 0.
|
| 321 |
-
"ap_class_6": 0.
|
| 322 |
-
"auc_class_7": 0.
|
| 323 |
-
"ap_class_7": 0.
|
| 324 |
-
"auc_class_8": 0.
|
| 325 |
-
"ap_class_8": 0.
|
| 326 |
-
"auc_class_9": 0.
|
| 327 |
-
"ap_class_9": 0.
|
| 328 |
-
"auc_class_10": 0.
|
| 329 |
-
"ap_class_10": 0.
|
| 330 |
-
"auc_class_11": 0.
|
| 331 |
-
"ap_class_11": 0.
|
| 332 |
-
"auc_class_12": 0.
|
| 333 |
-
"ap_class_12": 0.
|
| 334 |
-
"auc_class_13": 0.
|
| 335 |
-
"ap_class_13": 0.
|
| 336 |
-
"mean_auc": 0.
|
| 337 |
-
"mean_ap": 0.
|
| 338 |
-
"val_mean_auc": 0.
|
| 339 |
-
"val_accuracy": 0.
|
| 340 |
-
"lang_bleu1": 0.
|
| 341 |
-
"lang_bleu2": 0.
|
| 342 |
-
"lang_bleu3": 0.
|
| 343 |
-
"lang_bleu4": 0.
|
| 344 |
-
"lang_rouge1": 0.
|
| 345 |
-
"lang_rougeL": 0.
|
| 346 |
}
|
| 347 |
}
|
|
|
|
| 2 |
"experiment_name": "evlms_v2_baseline",
|
| 3 |
"repo_id": "codewithdark/EVLMs-v2-MIMIC-CXR",
|
| 4 |
"config": {
|
| 5 |
+
"optimizer_type": "adamw",
|
| 6 |
"muon_lr": 0.0001,
|
| 7 |
"adam_lr": 0.0001,
|
| 8 |
"weight_decay": 0.01,
|
|
|
|
| 10 |
"ns_steps": 5,
|
| 11 |
"batch_size": 16,
|
| 12 |
"gradient_accumulation_steps": 1,
|
| 13 |
+
"num_epochs": 2,
|
| 14 |
"max_grad_norm": 0.5,
|
| 15 |
"use_mixed_precision": true,
|
| 16 |
"amp_dtype": "bfloat16",
|
| 17 |
"max_train_steps": null,
|
| 18 |
+
"dataloader_num_workers": 8,
|
| 19 |
"pin_memory": true,
|
| 20 |
"dataloader_prefetch_factor": 4,
|
| 21 |
"warmup_ratio": 0.1,
|
|
|
|
| 25 |
"early_stopping_patience": 3,
|
| 26 |
"early_stopping_min_delta": 0.0001,
|
| 27 |
"early_stopping_monitor": "val_loss",
|
| 28 |
+
"early_stopping_enabled": false,
|
| 29 |
"length_grouped_batches": true,
|
| 30 |
"max_val_batches": 50,
|
| 31 |
"lr_scheduler": "cosine_with_warmup",
|
| 32 |
"lr_scheduler_patience": 3,
|
| 33 |
"lr_scheduler_factor": 0.5,
|
| 34 |
"lr_scheduler_min_lr": 1e-06,
|
| 35 |
+
"output_dir": "/outputs/ablation_budget/standard_no_mhc_adamw/baseline",
|
| 36 |
"experiment_name": "evlms_v2_baseline",
|
| 37 |
"skip_nonfinite_batches": true,
|
| 38 |
"max_nonfinite_batches": 20,
|
|
|
|
| 48 |
"epochs": [
|
| 49 |
{
|
| 50 |
"epoch": 1,
|
| 51 |
+
"global_step": 1000,
|
| 52 |
"train_metrics": {
|
| 53 |
+
"loss": 1.2410105426311493,
|
| 54 |
+
"cls_loss": 0.8586362090408802,
|
| 55 |
+
"lang_loss": 0.41075321032106876
|
| 56 |
},
|
| 57 |
"val_metrics": {
|
| 58 |
+
"loss": 1.0661116993427278,
|
| 59 |
+
"val_loss": 1.0661116993427278,
|
| 60 |
+
"accuracy": 0.6986128625472888,
|
| 61 |
+
"auc_class_0": 0.7218922074438713,
|
| 62 |
+
"ap_class_0": 0.44152245886538566,
|
| 63 |
+
"auc_class_1": 0.7265870521684474,
|
| 64 |
+
"ap_class_1": 0.3462209685822517,
|
| 65 |
+
"auc_class_2": 0.6329099262576734,
|
| 66 |
+
"ap_class_2": 0.5774524110675281,
|
| 67 |
+
"auc_class_3": 0.7299582848548484,
|
| 68 |
+
"ap_class_3": 0.5636040313892214,
|
| 69 |
+
"auc_class_4": 0.5875634517766498,
|
| 70 |
+
"ap_class_4": 0.009004968711157128,
|
| 71 |
+
"auc_class_5": 0.6187661271405114,
|
| 72 |
+
"ap_class_5": 0.09467021307875631,
|
| 73 |
+
"auc_class_6": 0.49977628635346755,
|
| 74 |
+
"ap_class_6": 0.07735038628482428,
|
| 75 |
+
"auc_class_7": 0.6842253562901336,
|
| 76 |
+
"ap_class_7": 0.4611680018144243,
|
| 77 |
+
"auc_class_8": 0.8322747186527907,
|
| 78 |
+
"ap_class_8": 0.9293170460294755,
|
| 79 |
+
"auc_class_9": 0.5744121413585461,
|
| 80 |
+
"ap_class_9": 0.8955556161681415,
|
| 81 |
+
"auc_class_10": 0.5387955182072829,
|
| 82 |
+
"ap_class_10": 0.04155505433326036,
|
| 83 |
+
"auc_class_11": 0.6051734747006201,
|
| 84 |
+
"ap_class_11": 0.38518330523575856,
|
| 85 |
+
"auc_class_12": 0.6447073717012367,
|
| 86 |
+
"ap_class_12": 0.8733204278536244,
|
| 87 |
+
"auc_class_13": 0.831216305062459,
|
| 88 |
+
"ap_class_13": 0.7809624736880953,
|
| 89 |
+
"mean_auc": 0.6591613015691812,
|
| 90 |
+
"mean_ap": 0.46263481165013604,
|
| 91 |
+
"val_mean_auc": 0.6591613015691812,
|
| 92 |
+
"val_accuracy": 0.6986128625472888,
|
| 93 |
+
"lang_bleu1": 0.17678871766557158,
|
| 94 |
+
"lang_bleu2": 0.10449110959813585,
|
| 95 |
+
"lang_bleu3": 0.0727888211345882,
|
| 96 |
+
"lang_bleu4": 0.050442848898382714,
|
| 97 |
+
"lang_rouge1": 0.29800477296229216,
|
| 98 |
+
"lang_rougeL": 0.17539351306384468
|
| 99 |
},
|
| 100 |
"artifacts": {
|
| 101 |
+
"epoch_dir": "/outputs/ablation_budget/standard_no_mhc_adamw/baseline/artifacts/epoch_001",
|
| 102 |
+
"image_path": "/outputs/ablation_budget/standard_no_mhc_adamw/baseline/artifacts/epoch_001/original_image.png",
|
| 103 |
+
"explainability_path": "/outputs/ablation_budget/standard_no_mhc_adamw/baseline/artifacts/epoch_001/explainability.png",
|
| 104 |
+
"text_path": "/outputs/ablation_budget/standard_no_mhc_adamw/baseline/artifacts/epoch_001/query_result.txt",
|
| 105 |
+
"metrics_path": "/outputs/ablation_budget/standard_no_mhc_adamw/baseline/artifacts/epoch_001/metrics.json",
|
| 106 |
"query": "Reviewing pleura... Inspecting costophrenic recess approx and lung... Moderate bilateral pleural effusions with overlying atelectasis. Reviewing lungs and airways... Inspecting lung... Mild prominence of the interstitial markings, suggesting mild pulmonary edema. Reviewing cardiovascular... Inspecting cardiomediastinum... Mild enlargement of the cardiac silhouette. Reviewing hila and mediastinum... Inspecting cardiomediastinum... Unremarkable mediastinal contours. Reviewing other... Inspecting visceral pleura approx... No evidence of pneumothorax. - **Pleura**: Moderate bilateral pleural effusions with overlying atelectasis. - **Lungs and Airways**: Mild prominence of the interstitial markings, suggesting mild pulmonary edema. - **Cardiovascular**: Mild enlargement of the cardiac silhouette. - **Hila and Mediastinum**: Unremarkable mediastinal contours. - **Other**: No evidence of pneumothorax. - Moderate bilateral pleural effusions with possible underlying consolidation, raising concern for pneumonia at the lung bases. - Cardiomegaly and mild pulmonary edema, which may suggest fluid overload. There are moderate bilateral pleural effusions with overlying atelectasis, underlying consolidation not excluded. Mild prominence of the interstitial markings suggests mild pulmonary edema. The cardiac silhouette is mildly enlarged. The mediastinal contours are unremarkable. There is no evidence of pneumothorax.",
|
| 107 |
+
"output": "<interpret>\nReviewing lungs and airways...\n<tool type=\"anatomical_roi\" label=[\"lungs and airways\"]><image>\nInspecting lung lower lobe right, left upper zone lung, and cardiomediastinum...\nInspections show no focal consolidation in the right or left mid to low lung fields. The cardiac silhouette is stable with mediastinal contours unchanged from prior study. Pulmonary vasculature appears normal without overt pulmonary edema.\nReviewingi pleura approx...\n</instrument>\n<finding>\n- **Lungs and Airways**: No focal consolidation observed in the chest radiograph. Pleural surfaces are clear without evidence of pneumothorax.\n- \"Lung Lower Lobes Right\", \"Left Upper Zone Lung\": Mild interstitial markings noted within the retrocardiac region on both frontal views; however, these findings may be exaggerated by patient positioning for imaging purposes.\n</finding> <impression>\nNo acute cardiopulmonary process identified on current examination.\nConsideration should be given to repeat radiographs if clinical concern persists.\nReport: There has been interval change in position of the patient's body leading to a more pronounced prominence of the heart which limits visualization of the entire thorax. This does not preclude evaluation of other areas such as the stomach and intestines. However, there is no significant interval change since the previous exam performed 1 day earlier. Otherwise, this is essentially unchanged compared to the most recent comparable film obtained at least one week ago.\nInterpretation: In comparison to the preceding image taken approximately two hours before, there have been intervals changes in position including"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
}
|
| 109 |
}
|
| 110 |
],
|
| 111 |
+
"best_val_loss": 1.0661116993427278,
|
| 112 |
+
"best_val_accuracy": 0.6986128625472888,
|
| 113 |
"patience_counter": 0,
|
| 114 |
"nonfinite_batches": 0,
|
| 115 |
+
"latest_epoch": 1,
|
| 116 |
"latest_train_metrics": {
|
| 117 |
+
"loss": 1.2410105426311493,
|
| 118 |
+
"cls_loss": 0.8586362090408802,
|
| 119 |
+
"lang_loss": 0.41075321032106876
|
| 120 |
},
|
| 121 |
"latest_val_metrics": {
|
| 122 |
+
"loss": 1.0661116993427278,
|
| 123 |
+
"val_loss": 1.0661116993427278,
|
| 124 |
+
"accuracy": 0.6986128625472888,
|
| 125 |
+
"auc_class_0": 0.7218922074438713,
|
| 126 |
+
"ap_class_0": 0.44152245886538566,
|
| 127 |
+
"auc_class_1": 0.7265870521684474,
|
| 128 |
+
"ap_class_1": 0.3462209685822517,
|
| 129 |
+
"auc_class_2": 0.6329099262576734,
|
| 130 |
+
"ap_class_2": 0.5774524110675281,
|
| 131 |
+
"auc_class_3": 0.7299582848548484,
|
| 132 |
+
"ap_class_3": 0.5636040313892214,
|
| 133 |
+
"auc_class_4": 0.5875634517766498,
|
| 134 |
+
"ap_class_4": 0.009004968711157128,
|
| 135 |
+
"auc_class_5": 0.6187661271405114,
|
| 136 |
+
"ap_class_5": 0.09467021307875631,
|
| 137 |
+
"auc_class_6": 0.49977628635346755,
|
| 138 |
+
"ap_class_6": 0.07735038628482428,
|
| 139 |
+
"auc_class_7": 0.6842253562901336,
|
| 140 |
+
"ap_class_7": 0.4611680018144243,
|
| 141 |
+
"auc_class_8": 0.8322747186527907,
|
| 142 |
+
"ap_class_8": 0.9293170460294755,
|
| 143 |
+
"auc_class_9": 0.5744121413585461,
|
| 144 |
+
"ap_class_9": 0.8955556161681415,
|
| 145 |
+
"auc_class_10": 0.5387955182072829,
|
| 146 |
+
"ap_class_10": 0.04155505433326036,
|
| 147 |
+
"auc_class_11": 0.6051734747006201,
|
| 148 |
+
"ap_class_11": 0.38518330523575856,
|
| 149 |
+
"auc_class_12": 0.6447073717012367,
|
| 150 |
+
"ap_class_12": 0.8733204278536244,
|
| 151 |
+
"auc_class_13": 0.831216305062459,
|
| 152 |
+
"ap_class_13": 0.7809624736880953,
|
| 153 |
+
"mean_auc": 0.6591613015691812,
|
| 154 |
+
"mean_ap": 0.46263481165013604,
|
| 155 |
+
"val_mean_auc": 0.6591613015691812,
|
| 156 |
+
"val_accuracy": 0.6986128625472888,
|
| 157 |
+
"lang_bleu1": 0.17678871766557158,
|
| 158 |
+
"lang_bleu2": 0.10449110959813585,
|
| 159 |
+
"lang_bleu3": 0.0727888211345882,
|
| 160 |
+
"lang_bleu4": 0.050442848898382714,
|
| 161 |
+
"lang_rouge1": 0.29800477296229216,
|
| 162 |
+
"lang_rougeL": 0.17539351306384468
|
| 163 |
}
|
| 164 |
}
|