Spaces:
Sleeping
Sleeping
Commit
·
43dc105
1
Parent(s):
4e592d4
update inference, inference web UI with gradio
Browse files- app/demo/demo.py +42 -0
- app/utils/inference_utils.py +64 -0
- inference.py +10 -1
- predictions_image_20250725_201612.csv → predictions_image_20250726_174100.csv +5 -5
- predictions_multimodal_20250725_201743.csv → predictions_multimodal_20250726_174151.csv +3 -3
- predictions_multimodal_20250726_174234.csv +2 -0
- predictions_text_20250725_201433.csv → predictions_text_20250726_174023.csv +0 -0
app/demo/demo.py
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
import gradio as gr
|
| 3 |
+
from pathlib import Path
|
| 4 |
+
|
| 5 |
+
# Adds root directory to sys.path
|
| 6 |
+
ROOT_DIR = Path(__file__).resolve().parent.parent.parent
|
| 7 |
+
sys.path.append(str(ROOT_DIR))
|
| 8 |
+
|
| 9 |
+
from app.utils.inference_utils import load_model, predict
|
| 10 |
+
|
| 11 |
+
# Initial default values
|
| 12 |
+
DEFAULT_MODE = "multimodal"
|
| 13 |
+
MODEL_PATHS = {
|
| 14 |
+
"text": "medi_llm_state_dict_text.pth",
|
| 15 |
+
"image": "medi_llm_state_dict_image.pth",
|
| 16 |
+
"multimodal": "medi_llm_state_dict_multimodal.pth"
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
model_cache = {}
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
def classify(mode, emr_text, image):
|
| 23 |
+
if mode not in model_cache:
|
| 24 |
+
model_cache[mode] = load_model(mode, MODEL_PATHS[mode])
|
| 25 |
+
model = model_cache[mode]
|
| 26 |
+
return predict(model, mode, emr_text=emr_text, image=image)
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
demo = gr.Interface(
|
| 30 |
+
fn=classify,
|
| 31 |
+
inputs=[
|
| 32 |
+
gr.Radio(choices=["text", "image", "multimodal"], value=DEFAULT_MODE, label="Select Mode"),
|
| 33 |
+
gr.Textbox(lines=6, label="EMR Text"),
|
| 34 |
+
gr.Image(type="pil", label="Chest X-ray")
|
| 35 |
+
],
|
| 36 |
+
outputs=gr.Text(label="Predicted Triage Level"),
|
| 37 |
+
title="🩺 Medi-LLM: Multimodal Clinical Triage Assistant 🩻",
|
| 38 |
+
description="Select a mode and input either EMR text, X-ray image, or both to get triage predictions."
|
| 39 |
+
)
|
| 40 |
+
|
| 41 |
+
if __name__ == "__main__":
|
| 42 |
+
demo.launch()
|
app/utils/inference_utils.py
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
import torch
|
| 3 |
+
import yaml
|
| 4 |
+
from pathlib import Path
|
| 5 |
+
from transformers import AutoTokenizer
|
| 6 |
+
from torchvision import transforms
|
| 7 |
+
|
| 8 |
+
ROOT_DIR = Path(__file__).resolve().parent.parent.parent
|
| 9 |
+
sys.path.append(str(ROOT_DIR))
|
| 10 |
+
|
| 11 |
+
from src.multimodal_model import MediLLMModel
|
| 12 |
+
|
| 13 |
+
DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 14 |
+
|
| 15 |
+
# Label map
|
| 16 |
+
inv_map = {0: "low", 1: "medium", 2: "high"}
|
| 17 |
+
|
| 18 |
+
# Tokenizer and image transform
|
| 19 |
+
tokenizer = AutoTokenizer.from_pretrained("emilyalsentzer/Bio_ClinicalBERT")
|
| 20 |
+
image_transform = transforms.Compose([
|
| 21 |
+
transforms.Resize((256, 256)),
|
| 22 |
+
transforms.CenterCrop(224),
|
| 23 |
+
transforms.ToTensor()
|
| 24 |
+
])
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
def load_model(mode, model_path, config_path=str(Path("config/config.yaml").resolve())):
|
| 28 |
+
with open(config_path, "r") as f:
|
| 29 |
+
config = yaml.safe_load(f)[mode]
|
| 30 |
+
|
| 31 |
+
model = MediLLMModel(
|
| 32 |
+
mode=mode,
|
| 33 |
+
dropout=config["dropout"],
|
| 34 |
+
hidden_dim=config["hidden_dim"]
|
| 35 |
+
)
|
| 36 |
+
model.load_state_dict(torch.load(model_path, map_location=DEVICE))
|
| 37 |
+
model.to(DEVICE)
|
| 38 |
+
model.eval()
|
| 39 |
+
return model
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
def predict(model, mode, emr_text=None, image=None):
|
| 43 |
+
with torch.no_grad():
|
| 44 |
+
input_ids = attention_mask = img_tensor = None
|
| 45 |
+
|
| 46 |
+
if mode in ["text", "multimodal"] and emr_text:
|
| 47 |
+
text_tokens = tokenizer(
|
| 48 |
+
emr_text,
|
| 49 |
+
return_tensors="pt",
|
| 50 |
+
truncation=True,
|
| 51 |
+
padding="max_length",
|
| 52 |
+
max_length=128,
|
| 53 |
+
)
|
| 54 |
+
input_ids = text_tokens["input_ids"].to(DEVICE)
|
| 55 |
+
attention_mask = text_tokens["attention_mask"].to(DEVICE)
|
| 56 |
+
|
| 57 |
+
if mode in ["image", "multimodal"] and image:
|
| 58 |
+
img_tensor = image_transform(image).unsqueeze(0).to(DEVICE)
|
| 59 |
+
|
| 60 |
+
output = model(input_ids=input_ids, attention_mask=attention_mask, image=img_tensor)
|
| 61 |
+
pred = torch.argmax(output, dim=1).item()
|
| 62 |
+
confidence = torch.softmax(output, dim=1).squeeze()[pred].item()
|
| 63 |
+
|
| 64 |
+
return f"{inv_map[pred]} (Confidence: {confidence:.2f})"
|
inference.py
CHANGED
|
@@ -7,6 +7,7 @@ from sklearn.metrics import accuracy_score, f1_score, classification_report
|
|
| 7 |
from pathlib import Path
|
| 8 |
from tqdm import tqdm
|
| 9 |
from datetime import datetime
|
|
|
|
| 10 |
|
| 11 |
from src.triage_dataset import TriageDataset
|
| 12 |
from src.multimodal_model import MediLLMModel
|
|
@@ -14,6 +15,12 @@ from src.multimodal_model import MediLLMModel
|
|
| 14 |
|
| 15 |
DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
def load_config(config_path="config/config.yaml", mode="multimodal"):
|
| 19 |
with open(config_path) as f:
|
|
@@ -104,8 +111,10 @@ def main():
|
|
| 104 |
dataset = TriageDataset(
|
| 105 |
csv_file=args.csv_path,
|
| 106 |
mode=args.mode,
|
| 107 |
-
image_base_dir=args.image_dir
|
|
|
|
| 108 |
)
|
|
|
|
| 109 |
dataloader = DataLoader(dataset, batch_size=batch_size, shuffle=False)
|
| 110 |
|
| 111 |
model = MediLLMModel(
|
|
|
|
| 7 |
from pathlib import Path
|
| 8 |
from tqdm import tqdm
|
| 9 |
from datetime import datetime
|
| 10 |
+
from torchvision import transforms
|
| 11 |
|
| 12 |
from src.triage_dataset import TriageDataset
|
| 13 |
from src.multimodal_model import MediLLMModel
|
|
|
|
| 15 |
|
| 16 |
DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 17 |
|
| 18 |
+
inference_transform = transforms.Compose([
|
| 19 |
+
transforms.Resize((256, 256)),
|
| 20 |
+
transforms.CenterCrop(224),
|
| 21 |
+
transforms.ToTensor()
|
| 22 |
+
])
|
| 23 |
+
|
| 24 |
|
| 25 |
def load_config(config_path="config/config.yaml", mode="multimodal"):
|
| 26 |
with open(config_path) as f:
|
|
|
|
| 111 |
dataset = TriageDataset(
|
| 112 |
csv_file=args.csv_path,
|
| 113 |
mode=args.mode,
|
| 114 |
+
image_base_dir=args.image_dir,
|
| 115 |
+
transform=inference_transform # avoid random augmentations during inference
|
| 116 |
)
|
| 117 |
+
|
| 118 |
dataloader = DataLoader(dataset, batch_size=batch_size, shuffle=False)
|
| 119 |
|
| 120 |
model = MediLLMModel(
|
predictions_image_20250725_201612.csv → predictions_image_20250726_174100.csv
RENAMED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
patient_id,predicted,truth_label,emr_text,image_path
|
| 2 |
COVID-8,high,high,"Patient TEST-DC29, a 55 years old individual presented after experiencing symptoms for approximately 10 days. Patient remains oriented with stable hemodynamics. A gradual onset of dry cough with mild respiratory discomfort has been documented. Vital measurements include a body temperature of 100.8°F and an oxygen saturation level of 87%. No definitive pattern observed; further evaluation is warranted. No remarkable family history or chronic illness reported. Anosmia has been intermittently observed over recent days.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-1640.png
|
| 3 |
NORMAL-6,low,low,"Patient TEST-RF26, a 42 years old individual presented after experiencing symptoms for approximately 6 days. A gradual onset of dry cough with mild respiratory discomfort has been documented. Standard precautions have been advised post-evaluation. Vital measurements include a body temperature of 98.6°F and an oxygen saturation level of 98%. No prior admissions or surgical history disclosed. Diagnosis remains unclear pending further laboratory confirmation.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-2223.png
|
| 4 |
-
VIRAL PNEUMONIA-5,
|
| 5 |
NORMAL-2,low,low,"Patient TEST-AJ06, a 50 years old individual presented after experiencing symptoms for approximately 4 days. Episodes of throat irritation and general malaise observed. Vital measurements include a body temperature of 97.9°F and an oxygen saturation level of 95%. Diagnosis remains unclear pending further laboratory confirmation. No prior admissions or surgical history disclosed.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-7819.png
|
| 6 |
COVID-10,high,high,"Patient TEST-DF19, a 68 years old individual presented after experiencing symptoms for approximately 7 days. The patient has noted intermittent chest pressure and occasional shortness of breath. Vital measurements include a body temperature of 102.4°F and an oxygen saturation level of 92%. No prior admissions or surgical history disclosed. No definitive pattern observed; further evaluation is warranted.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-418.png
|
| 7 |
COVID-5,high,high,"Patient TEST-RI51, a 46 years old individual presented after experiencing symptoms for approximately 6 days. Nutritional intake and sleep patterns appear adequate. Episodes of throat irritation and general malaise observed. Vital measurements include a body temperature of 99.4°F and an oxygen saturation level of 89%. No remarkable family history or chronic illness reported. Diagnosis remains unclear pending further laboratory confirmation.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-653.png
|
|
@@ -13,19 +13,19 @@ COVID-7,high,high,"Patient TEST-DN15, a 37 years old individual presented after
|
|
| 13 |
NORMAL-7,low,low,"Patient TEST-QU92, a 85 years old individual presented after experiencing symptoms for approximately 3 days. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 98.2°F and an oxygen saturation level of 97%. Nutritional intake and sleep patterns appear adequate. Preliminary indicators fall into a diagnostic grey area.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-7874.png
|
| 14 |
COVID-6,high,high,"Patient TEST-YM73, a 65 years old individual presented after experiencing symptoms for approximately 2 days. Episodes of throat irritation and general malaise observed. Nutritional intake and sleep patterns appear adequate. No remarkable family history or chronic illness reported. Vital measurements include a body temperature of 100.0°F and an oxygen saturation level of 93%. Diagnosis remains unclear pending further laboratory confirmation. Anosmia has been intermittently observed over recent days.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-1399.png
|
| 15 |
NORMAL-1,low,low,"Patient TEST-HN49, a 34 years old individual presented after experiencing symptoms for approximately 9 days. A gradual onset of dry cough with mild respiratory discomfort has been documented. Vital measurements include a body temperature of 98.4°F and an oxygen saturation level of 99%. No prior admissions or surgical history disclosed. No prior admissions or surgical history disclosed. Preliminary indicators fall into a diagnostic grey area.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-1925.png
|
| 16 |
-
NORMAL-4,
|
| 17 |
VIRAL PNEUMONIA-1,medium,medium,"Patient TEST-HR49, a 61 years old individual presented after experiencing symptoms for approximately 5 days. No remarkable family history or chronic illness reported. Patient remains oriented with stable hemodynamics. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 99.5°F and an oxygen saturation level of 90%. Preliminary indicators fall into a diagnostic grey area. Radiographic evidence reveals dispersed infiltrative patterns.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-144.png
|
| 18 |
-
NORMAL-8,
|
| 19 |
VIRAL PNEUMONIA-9,medium,medium,"Patient TEST-ZO32, a 20 years old individual presented after experiencing symptoms for approximately 10 days. Standard precautions have been advised post-evaluation. No remarkable family history or chronic illness reported. A gradual onset of dry cough with mild respiratory discomfort has been documented. Vital measurements include a body temperature of 101.2°F and an oxygen saturation level of 92%. Preliminary indicators fall into a diagnostic grey area.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-261.png
|
| 20 |
VIRAL PNEUMONIA-10,medium,medium,"Patient TEST-CU46, a 40 years old individual presented after experiencing symptoms for approximately 8 days. No prior admissions or surgical history disclosed. A gradual onset of dry cough with mild respiratory discomfort has been documented. No remarkable family history or chronic illness reported. Vital measurements include a body temperature of 99.1°F and an oxygen saturation level of 95%. Diagnosis remains unclear pending further laboratory confirmation.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-166.png
|
| 21 |
COVID-1,high,high,"Patient TEST-FB14, a 40 years old individual presented after experiencing symptoms for approximately 7 days. Nutritional intake and sleep patterns appear adequate. The patient has noted intermittent chest pressure and occasional shortness of breath. Nutritional intake and sleep patterns appear adequate. Vital measurements include a body temperature of 98.9°F and an oxygen saturation level of 91%. Presentation overlaps multiple pulmonary conditions.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-3380.png
|
| 22 |
COVID-2,high,high,"Patient TEST-HB66, a 73 years old individual presented after experiencing symptoms for approximately 10 days. Mild respiratory symptoms have progressed over several days. Nutritional intake and sleep patterns appear adequate. Vital measurements include a body temperature of 99.3°F and an oxygen saturation level of 89%. Diagnosis remains unclear pending further laboratory confirmation.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-1410.png
|
| 23 |
-
NORMAL-3,
|
| 24 |
COVID-9,low,high,"Patient TEST-JK08, a 64 years old individual presented after experiencing symptoms for approximately 7 days. Nutritional intake and sleep patterns appear adequate. Episodes of throat irritation and general malaise observed. Vital measurements include a body temperature of 100.0°F and an oxygen saturation level of 93%. Preliminary indicators fall into a diagnostic grey area.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-2796.png
|
| 25 |
VIRAL PNEUMONIA-3,medium,medium,"Patient TEST-RZ58, a 84 years old individual presented after experiencing symptoms for approximately 4 days. Reported complaints include mild fatigue and sporadic episodes of wheezing. Vital measurements include a body temperature of 100.3°F and an oxygen saturation level of 91%. No remarkable family history or chronic illness reported. Preliminary indicators fall into a diagnostic grey area.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-843.png
|
| 26 |
NORMAL-9,low,low,"Patient TEST-SG97, a 24 years old individual presented after experiencing symptoms for approximately 10 days. Standard precautions have been advised post-evaluation. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 98.7°F and an oxygen saturation level of 100%. Presentation overlaps multiple pulmonary conditions.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-4888.png
|
| 27 |
VIRAL PNEUMONIA-2,medium,medium,"Patient TEST-OG12, a 74 years old individual presented after experiencing symptoms for approximately 3 days. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 101.3°F and an oxygen saturation level of 91%. Presentation overlaps multiple pulmonary conditions. No prior admissions or surgical history disclosed.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-396.png
|
| 28 |
COVID-4,high,high,"Patient TEST-KY96, a 83 years old individual presented after experiencing symptoms for approximately 6 days. Patient remains oriented with stable hemodynamics. Reported complaints include mild fatigue and sporadic episodes of wheezing. Vital measurements include a body temperature of 99.9°F and an oxygen saturation level of 94%. Presentation overlaps multiple pulmonary conditions. Nutritional intake and sleep patterns appear adequate.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-1639.png
|
| 29 |
VIRAL PNEUMONIA-7,medium,medium,"Patient TEST-ZK84, a 52 years old individual presented after experiencing symptoms for approximately 1 days. Patient remains oriented with stable hemodynamics. Episodes of throat irritation and general malaise observed. No remarkable family history or chronic illness reported. Vital measurements include a body temperature of 99.7°F and an oxygen saturation level of 91%. Clinical features are suggestive of a nonspecific viral etiology.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-397.png
|
| 30 |
-
NORMAL-10,
|
| 31 |
VIRAL PNEUMONIA-4,medium,medium,"Patient TEST-PP31, a 38 years old individual presented after experiencing symptoms for approximately 3 days. Episodes of throat irritation and general malaise observed. Vital measurements include a body temperature of 102.1°F and an oxygen saturation level of 91%. Presentation overlaps multiple pulmonary conditions. Patient remains oriented with stable hemodynamics. Radiographic evidence reveals dispersed infiltrative patterns.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-411.png
|
|
|
|
| 1 |
patient_id,predicted,truth_label,emr_text,image_path
|
| 2 |
COVID-8,high,high,"Patient TEST-DC29, a 55 years old individual presented after experiencing symptoms for approximately 10 days. Patient remains oriented with stable hemodynamics. A gradual onset of dry cough with mild respiratory discomfort has been documented. Vital measurements include a body temperature of 100.8°F and an oxygen saturation level of 87%. No definitive pattern observed; further evaluation is warranted. No remarkable family history or chronic illness reported. Anosmia has been intermittently observed over recent days.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-1640.png
|
| 3 |
NORMAL-6,low,low,"Patient TEST-RF26, a 42 years old individual presented after experiencing symptoms for approximately 6 days. A gradual onset of dry cough with mild respiratory discomfort has been documented. Standard precautions have been advised post-evaluation. Vital measurements include a body temperature of 98.6°F and an oxygen saturation level of 98%. No prior admissions or surgical history disclosed. Diagnosis remains unclear pending further laboratory confirmation.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-2223.png
|
| 4 |
+
VIRAL PNEUMONIA-5,medium,medium,"Patient TEST-NP02, a 75 years old individual presented after experiencing symptoms for approximately 9 days. The patient has noted intermittent chest pressure and occasional shortness of breath. Vital measurements include a body temperature of 99.1°F and an oxygen saturation level of 92%. No definitive pattern observed; further evaluation is warranted. Patient remains oriented with stable hemodynamics. Radiographic evidence reveals dispersed infiltrative patterns.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-1101.png
|
| 5 |
NORMAL-2,low,low,"Patient TEST-AJ06, a 50 years old individual presented after experiencing symptoms for approximately 4 days. Episodes of throat irritation and general malaise observed. Vital measurements include a body temperature of 97.9°F and an oxygen saturation level of 95%. Diagnosis remains unclear pending further laboratory confirmation. No prior admissions or surgical history disclosed.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-7819.png
|
| 6 |
COVID-10,high,high,"Patient TEST-DF19, a 68 years old individual presented after experiencing symptoms for approximately 7 days. The patient has noted intermittent chest pressure and occasional shortness of breath. Vital measurements include a body temperature of 102.4°F and an oxygen saturation level of 92%. No prior admissions or surgical history disclosed. No definitive pattern observed; further evaluation is warranted.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-418.png
|
| 7 |
COVID-5,high,high,"Patient TEST-RI51, a 46 years old individual presented after experiencing symptoms for approximately 6 days. Nutritional intake and sleep patterns appear adequate. Episodes of throat irritation and general malaise observed. Vital measurements include a body temperature of 99.4°F and an oxygen saturation level of 89%. No remarkable family history or chronic illness reported. Diagnosis remains unclear pending further laboratory confirmation.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-653.png
|
|
|
|
| 13 |
NORMAL-7,low,low,"Patient TEST-QU92, a 85 years old individual presented after experiencing symptoms for approximately 3 days. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 98.2°F and an oxygen saturation level of 97%. Nutritional intake and sleep patterns appear adequate. Preliminary indicators fall into a diagnostic grey area.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-7874.png
|
| 14 |
COVID-6,high,high,"Patient TEST-YM73, a 65 years old individual presented after experiencing symptoms for approximately 2 days. Episodes of throat irritation and general malaise observed. Nutritional intake and sleep patterns appear adequate. No remarkable family history or chronic illness reported. Vital measurements include a body temperature of 100.0°F and an oxygen saturation level of 93%. Diagnosis remains unclear pending further laboratory confirmation. Anosmia has been intermittently observed over recent days.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-1399.png
|
| 15 |
NORMAL-1,low,low,"Patient TEST-HN49, a 34 years old individual presented after experiencing symptoms for approximately 9 days. A gradual onset of dry cough with mild respiratory discomfort has been documented. Vital measurements include a body temperature of 98.4°F and an oxygen saturation level of 99%. No prior admissions or surgical history disclosed. No prior admissions or surgical history disclosed. Preliminary indicators fall into a diagnostic grey area.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-1925.png
|
| 16 |
+
NORMAL-4,low,low,"Patient TEST-QE09, a 52 years old individual presented after experiencing symptoms for approximately 7 days. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 98.2°F and an oxygen saturation level of 95%. Preliminary indicators fall into a diagnostic grey area. There are currently no active complaints from the patient.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-3320.png
|
| 17 |
VIRAL PNEUMONIA-1,medium,medium,"Patient TEST-HR49, a 61 years old individual presented after experiencing symptoms for approximately 5 days. No remarkable family history or chronic illness reported. Patient remains oriented with stable hemodynamics. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 99.5°F and an oxygen saturation level of 90%. Preliminary indicators fall into a diagnostic grey area. Radiographic evidence reveals dispersed infiltrative patterns.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-144.png
|
| 18 |
+
NORMAL-8,medium,low,"Patient TEST-RW12, a 54 years old individual presented after experiencing symptoms for approximately 5 days. A gradual onset of dry cough with mild respiratory discomfort has been documented. Vital measurements include a body temperature of 98.4°F and an oxygen saturation level of 96%. Presentation overlaps multiple pulmonary conditions. Nutritional intake and sleep patterns appear adequate.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-4447.png
|
| 19 |
VIRAL PNEUMONIA-9,medium,medium,"Patient TEST-ZO32, a 20 years old individual presented after experiencing symptoms for approximately 10 days. Standard precautions have been advised post-evaluation. No remarkable family history or chronic illness reported. A gradual onset of dry cough with mild respiratory discomfort has been documented. Vital measurements include a body temperature of 101.2°F and an oxygen saturation level of 92%. Preliminary indicators fall into a diagnostic grey area.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-261.png
|
| 20 |
VIRAL PNEUMONIA-10,medium,medium,"Patient TEST-CU46, a 40 years old individual presented after experiencing symptoms for approximately 8 days. No prior admissions or surgical history disclosed. A gradual onset of dry cough with mild respiratory discomfort has been documented. No remarkable family history or chronic illness reported. Vital measurements include a body temperature of 99.1°F and an oxygen saturation level of 95%. Diagnosis remains unclear pending further laboratory confirmation.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-166.png
|
| 21 |
COVID-1,high,high,"Patient TEST-FB14, a 40 years old individual presented after experiencing symptoms for approximately 7 days. Nutritional intake and sleep patterns appear adequate. The patient has noted intermittent chest pressure and occasional shortness of breath. Nutritional intake and sleep patterns appear adequate. Vital measurements include a body temperature of 98.9°F and an oxygen saturation level of 91%. Presentation overlaps multiple pulmonary conditions.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-3380.png
|
| 22 |
COVID-2,high,high,"Patient TEST-HB66, a 73 years old individual presented after experiencing symptoms for approximately 10 days. Mild respiratory symptoms have progressed over several days. Nutritional intake and sleep patterns appear adequate. Vital measurements include a body temperature of 99.3°F and an oxygen saturation level of 89%. Diagnosis remains unclear pending further laboratory confirmation.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-1410.png
|
| 23 |
+
NORMAL-3,low,low,"Patient TEST-KX40, a 39 years old individual presented after experiencing symptoms for approximately 2 days. Reported complaints include mild fatigue and sporadic episodes of wheezing. No prior admissions or surgical history disclosed. No prior admissions or surgical history disclosed. Vital measurements include a body temperature of 97.6°F and an oxygen saturation level of 95%. Preliminary indicators fall into a diagnostic grey area.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-5988.png
|
| 24 |
COVID-9,low,high,"Patient TEST-JK08, a 64 years old individual presented after experiencing symptoms for approximately 7 days. Nutritional intake and sleep patterns appear adequate. Episodes of throat irritation and general malaise observed. Vital measurements include a body temperature of 100.0°F and an oxygen saturation level of 93%. Preliminary indicators fall into a diagnostic grey area.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-2796.png
|
| 25 |
VIRAL PNEUMONIA-3,medium,medium,"Patient TEST-RZ58, a 84 years old individual presented after experiencing symptoms for approximately 4 days. Reported complaints include mild fatigue and sporadic episodes of wheezing. Vital measurements include a body temperature of 100.3°F and an oxygen saturation level of 91%. No remarkable family history or chronic illness reported. Preliminary indicators fall into a diagnostic grey area.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-843.png
|
| 26 |
NORMAL-9,low,low,"Patient TEST-SG97, a 24 years old individual presented after experiencing symptoms for approximately 10 days. Standard precautions have been advised post-evaluation. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 98.7°F and an oxygen saturation level of 100%. Presentation overlaps multiple pulmonary conditions.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-4888.png
|
| 27 |
VIRAL PNEUMONIA-2,medium,medium,"Patient TEST-OG12, a 74 years old individual presented after experiencing symptoms for approximately 3 days. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 101.3°F and an oxygen saturation level of 91%. Presentation overlaps multiple pulmonary conditions. No prior admissions or surgical history disclosed.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-396.png
|
| 28 |
COVID-4,high,high,"Patient TEST-KY96, a 83 years old individual presented after experiencing symptoms for approximately 6 days. Patient remains oriented with stable hemodynamics. Reported complaints include mild fatigue and sporadic episodes of wheezing. Vital measurements include a body temperature of 99.9°F and an oxygen saturation level of 94%. Presentation overlaps multiple pulmonary conditions. Nutritional intake and sleep patterns appear adequate.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-1639.png
|
| 29 |
VIRAL PNEUMONIA-7,medium,medium,"Patient TEST-ZK84, a 52 years old individual presented after experiencing symptoms for approximately 1 days. Patient remains oriented with stable hemodynamics. Episodes of throat irritation and general malaise observed. No remarkable family history or chronic illness reported. Vital measurements include a body temperature of 99.7°F and an oxygen saturation level of 91%. Clinical features are suggestive of a nonspecific viral etiology.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-397.png
|
| 30 |
+
NORMAL-10,low,low,"Patient TEST-PW53, a 51 years old individual presented after experiencing symptoms for approximately 9 days. Standard precautions have been advised post-evaluation. The patient has noted intermittent chest pressure and occasional shortness of breath. Vital measurements include a body temperature of 97.6°F and an oxygen saturation level of 97%. Diagnosis remains unclear pending further laboratory confirmation. No prior admissions or surgical history disclosed.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-1943.png
|
| 31 |
VIRAL PNEUMONIA-4,medium,medium,"Patient TEST-PP31, a 38 years old individual presented after experiencing symptoms for approximately 3 days. Episodes of throat irritation and general malaise observed. Vital measurements include a body temperature of 102.1°F and an oxygen saturation level of 91%. Presentation overlaps multiple pulmonary conditions. Patient remains oriented with stable hemodynamics. Radiographic evidence reveals dispersed infiltrative patterns.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-411.png
|
predictions_multimodal_20250725_201743.csv → predictions_multimodal_20250726_174151.csv
RENAMED
|
@@ -8,7 +8,7 @@ COVID-5,high,high,"Patient TEST-RI51, a 46 years old individual presented after
|
|
| 8 |
VIRAL PNEUMONIA-8,medium,medium,"Patient TEST-CD95, a 64 years old individual presented after experiencing symptoms for approximately 8 days. Episodes of throat irritation and general malaise observed. Nutritional intake and sleep patterns appear adequate. Vital measurements include a body temperature of 100.9°F and an oxygen saturation level of 96%. Preliminary indicators fall into a diagnostic grey area.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-1286.png
|
| 9 |
COVID-3,high,high,"Patient TEST-KO00, a 56 years old individual presented after experiencing symptoms for approximately 3 days. No prior admissions or surgical history disclosed. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 100.2°F and an oxygen saturation level of 89%. No prior admissions or surgical history disclosed. No definitive pattern observed; further evaluation is warranted.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-2258.png
|
| 10 |
NORMAL-5,low,low,"Patient TEST-EK85, a 79 years old individual presented after experiencing symptoms for approximately 5 days. Episodes of throat irritation and general malaise observed. No remarkable family history or chronic illness reported. Nutritional intake and sleep patterns appear adequate. Vital measurements include a body temperature of 98.0°F and an oxygen saturation level of 97%. No definitive pattern observed; further evaluation is warranted.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-1365.png
|
| 11 |
-
VIRAL PNEUMONIA-6,
|
| 12 |
COVID-7,high,high,"Patient TEST-DN15, a 37 years old individual presented after experiencing symptoms for approximately 10 days. The patient has noted intermittent chest pressure and occasional shortness of breath. Vital measurements include a body temperature of 99.1°F and an oxygen saturation level of 91%. Preliminary indicators fall into a diagnostic grey area. No remarkable family history or chronic illness reported. Anosmia has been intermittently observed over recent days.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-1085.png
|
| 13 |
NORMAL-7,low,low,"Patient TEST-QU92, a 85 years old individual presented after experiencing symptoms for approximately 3 days. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 98.2°F and an oxygen saturation level of 97%. Nutritional intake and sleep patterns appear adequate. Preliminary indicators fall into a diagnostic grey area.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-7874.png
|
| 14 |
COVID-6,high,high,"Patient TEST-YM73, a 65 years old individual presented after experiencing symptoms for approximately 2 days. Episodes of throat irritation and general malaise observed. Nutritional intake and sleep patterns appear adequate. No remarkable family history or chronic illness reported. Vital measurements include a body temperature of 100.0°F and an oxygen saturation level of 93%. Diagnosis remains unclear pending further laboratory confirmation. Anosmia has been intermittently observed over recent days.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-1399.png
|
|
@@ -22,10 +22,10 @@ COVID-1,high,high,"Patient TEST-FB14, a 40 years old individual presented after
|
|
| 22 |
COVID-2,high,high,"Patient TEST-HB66, a 73 years old individual presented after experiencing symptoms for approximately 10 days. Mild respiratory symptoms have progressed over several days. Nutritional intake and sleep patterns appear adequate. Vital measurements include a body temperature of 99.3°F and an oxygen saturation level of 89%. Diagnosis remains unclear pending further laboratory confirmation.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-1410.png
|
| 23 |
NORMAL-3,low,low,"Patient TEST-KX40, a 39 years old individual presented after experiencing symptoms for approximately 2 days. Reported complaints include mild fatigue and sporadic episodes of wheezing. No prior admissions or surgical history disclosed. No prior admissions or surgical history disclosed. Vital measurements include a body temperature of 97.6°F and an oxygen saturation level of 95%. Preliminary indicators fall into a diagnostic grey area.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-5988.png
|
| 24 |
COVID-9,high,high,"Patient TEST-JK08, a 64 years old individual presented after experiencing symptoms for approximately 7 days. Nutritional intake and sleep patterns appear adequate. Episodes of throat irritation and general malaise observed. Vital measurements include a body temperature of 100.0°F and an oxygen saturation level of 93%. Preliminary indicators fall into a diagnostic grey area.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-2796.png
|
| 25 |
-
VIRAL PNEUMONIA-3,
|
| 26 |
NORMAL-9,low,low,"Patient TEST-SG97, a 24 years old individual presented after experiencing symptoms for approximately 10 days. Standard precautions have been advised post-evaluation. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 98.7°F and an oxygen saturation level of 100%. Presentation overlaps multiple pulmonary conditions.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-4888.png
|
| 27 |
VIRAL PNEUMONIA-2,medium,medium,"Patient TEST-OG12, a 74 years old individual presented after experiencing symptoms for approximately 3 days. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 101.3°F and an oxygen saturation level of 91%. Presentation overlaps multiple pulmonary conditions. No prior admissions or surgical history disclosed.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-396.png
|
| 28 |
COVID-4,low,high,"Patient TEST-KY96, a 83 years old individual presented after experiencing symptoms for approximately 6 days. Patient remains oriented with stable hemodynamics. Reported complaints include mild fatigue and sporadic episodes of wheezing. Vital measurements include a body temperature of 99.9°F and an oxygen saturation level of 94%. Presentation overlaps multiple pulmonary conditions. Nutritional intake and sleep patterns appear adequate.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-1639.png
|
| 29 |
-
VIRAL PNEUMONIA-7,
|
| 30 |
NORMAL-10,low,low,"Patient TEST-PW53, a 51 years old individual presented after experiencing symptoms for approximately 9 days. Standard precautions have been advised post-evaluation. The patient has noted intermittent chest pressure and occasional shortness of breath. Vital measurements include a body temperature of 97.6°F and an oxygen saturation level of 97%. Diagnosis remains unclear pending further laboratory confirmation. No prior admissions or surgical history disclosed.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-1943.png
|
| 31 |
VIRAL PNEUMONIA-4,medium,medium,"Patient TEST-PP31, a 38 years old individual presented after experiencing symptoms for approximately 3 days. Episodes of throat irritation and general malaise observed. Vital measurements include a body temperature of 102.1°F and an oxygen saturation level of 91%. Presentation overlaps multiple pulmonary conditions. Patient remains oriented with stable hemodynamics. Radiographic evidence reveals dispersed infiltrative patterns.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-411.png
|
|
|
|
| 8 |
VIRAL PNEUMONIA-8,medium,medium,"Patient TEST-CD95, a 64 years old individual presented after experiencing symptoms for approximately 8 days. Episodes of throat irritation and general malaise observed. Nutritional intake and sleep patterns appear adequate. Vital measurements include a body temperature of 100.9°F and an oxygen saturation level of 96%. Preliminary indicators fall into a diagnostic grey area.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-1286.png
|
| 9 |
COVID-3,high,high,"Patient TEST-KO00, a 56 years old individual presented after experiencing symptoms for approximately 3 days. No prior admissions or surgical history disclosed. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 100.2°F and an oxygen saturation level of 89%. No prior admissions or surgical history disclosed. No definitive pattern observed; further evaluation is warranted.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-2258.png
|
| 10 |
NORMAL-5,low,low,"Patient TEST-EK85, a 79 years old individual presented after experiencing symptoms for approximately 5 days. Episodes of throat irritation and general malaise observed. No remarkable family history or chronic illness reported. Nutritional intake and sleep patterns appear adequate. Vital measurements include a body temperature of 98.0°F and an oxygen saturation level of 97%. No definitive pattern observed; further evaluation is warranted.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-1365.png
|
| 11 |
+
VIRAL PNEUMONIA-6,medium,medium,"Patient TEST-DY43, a 75 years old individual presented after experiencing symptoms for approximately 5 days. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 100.7°F and an oxygen saturation level of 95%. Nutritional intake and sleep patterns appear adequate. No remarkable family history or chronic illness reported. Diagnosis remains unclear pending further laboratory confirmation.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-927.png
|
| 12 |
COVID-7,high,high,"Patient TEST-DN15, a 37 years old individual presented after experiencing symptoms for approximately 10 days. The patient has noted intermittent chest pressure and occasional shortness of breath. Vital measurements include a body temperature of 99.1°F and an oxygen saturation level of 91%. Preliminary indicators fall into a diagnostic grey area. No remarkable family history or chronic illness reported. Anosmia has been intermittently observed over recent days.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-1085.png
|
| 13 |
NORMAL-7,low,low,"Patient TEST-QU92, a 85 years old individual presented after experiencing symptoms for approximately 3 days. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 98.2°F and an oxygen saturation level of 97%. Nutritional intake and sleep patterns appear adequate. Preliminary indicators fall into a diagnostic grey area.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-7874.png
|
| 14 |
COVID-6,high,high,"Patient TEST-YM73, a 65 years old individual presented after experiencing symptoms for approximately 2 days. Episodes of throat irritation and general malaise observed. Nutritional intake and sleep patterns appear adequate. No remarkable family history or chronic illness reported. Vital measurements include a body temperature of 100.0°F and an oxygen saturation level of 93%. Diagnosis remains unclear pending further laboratory confirmation. Anosmia has been intermittently observed over recent days.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-1399.png
|
|
|
|
| 22 |
COVID-2,high,high,"Patient TEST-HB66, a 73 years old individual presented after experiencing symptoms for approximately 10 days. Mild respiratory symptoms have progressed over several days. Nutritional intake and sleep patterns appear adequate. Vital measurements include a body temperature of 99.3°F and an oxygen saturation level of 89%. Diagnosis remains unclear pending further laboratory confirmation.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-1410.png
|
| 23 |
NORMAL-3,low,low,"Patient TEST-KX40, a 39 years old individual presented after experiencing symptoms for approximately 2 days. Reported complaints include mild fatigue and sporadic episodes of wheezing. No prior admissions or surgical history disclosed. No prior admissions or surgical history disclosed. Vital measurements include a body temperature of 97.6°F and an oxygen saturation level of 95%. Preliminary indicators fall into a diagnostic grey area.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-5988.png
|
| 24 |
COVID-9,high,high,"Patient TEST-JK08, a 64 years old individual presented after experiencing symptoms for approximately 7 days. Nutritional intake and sleep patterns appear adequate. Episodes of throat irritation and general malaise observed. Vital measurements include a body temperature of 100.0°F and an oxygen saturation level of 93%. Preliminary indicators fall into a diagnostic grey area.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-2796.png
|
| 25 |
+
VIRAL PNEUMONIA-3,medium,medium,"Patient TEST-RZ58, a 84 years old individual presented after experiencing symptoms for approximately 4 days. Reported complaints include mild fatigue and sporadic episodes of wheezing. Vital measurements include a body temperature of 100.3°F and an oxygen saturation level of 91%. No remarkable family history or chronic illness reported. Preliminary indicators fall into a diagnostic grey area.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-843.png
|
| 26 |
NORMAL-9,low,low,"Patient TEST-SG97, a 24 years old individual presented after experiencing symptoms for approximately 10 days. Standard precautions have been advised post-evaluation. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 98.7°F and an oxygen saturation level of 100%. Presentation overlaps multiple pulmonary conditions.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-4888.png
|
| 27 |
VIRAL PNEUMONIA-2,medium,medium,"Patient TEST-OG12, a 74 years old individual presented after experiencing symptoms for approximately 3 days. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 101.3°F and an oxygen saturation level of 91%. Presentation overlaps multiple pulmonary conditions. No prior admissions or surgical history disclosed.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-396.png
|
| 28 |
COVID-4,low,high,"Patient TEST-KY96, a 83 years old individual presented after experiencing symptoms for approximately 6 days. Patient remains oriented with stable hemodynamics. Reported complaints include mild fatigue and sporadic episodes of wheezing. Vital measurements include a body temperature of 99.9°F and an oxygen saturation level of 94%. Presentation overlaps multiple pulmonary conditions. Nutritional intake and sleep patterns appear adequate.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-1639.png
|
| 29 |
+
VIRAL PNEUMONIA-7,medium,medium,"Patient TEST-ZK84, a 52 years old individual presented after experiencing symptoms for approximately 1 days. Patient remains oriented with stable hemodynamics. Episodes of throat irritation and general malaise observed. No remarkable family history or chronic illness reported. Vital measurements include a body temperature of 99.7°F and an oxygen saturation level of 91%. Clinical features are suggestive of a nonspecific viral etiology.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-397.png
|
| 30 |
NORMAL-10,low,low,"Patient TEST-PW53, a 51 years old individual presented after experiencing symptoms for approximately 9 days. Standard precautions have been advised post-evaluation. The patient has noted intermittent chest pressure and occasional shortness of breath. Vital measurements include a body temperature of 97.6°F and an oxygen saturation level of 97%. Diagnosis remains unclear pending further laboratory confirmation. No prior admissions or surgical history disclosed.",/Users/preetham_ravula/projects/medi-llm/data/images/NORMAL/Normal-1943.png
|
| 31 |
VIRAL PNEUMONIA-4,medium,medium,"Patient TEST-PP31, a 38 years old individual presented after experiencing symptoms for approximately 3 days. Episodes of throat irritation and general malaise observed. Vital measurements include a body temperature of 102.1°F and an oxygen saturation level of 91%. Presentation overlaps multiple pulmonary conditions. Patient remains oriented with stable hemodynamics. Radiographic evidence reveals dispersed infiltrative patterns.",/Users/preetham_ravula/projects/medi-llm/data/images/VIRAL PNEUMONIA/Viral Pneumonia-411.png
|
predictions_multimodal_20250726_174234.csv
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
patient_id,predicted,truth_label,emr_text,image_path
|
| 2 |
+
COVID-4,low,high,"Patient TEST-KY96, a 83 years old individual presented after experiencing symptoms for approximately 6 days. Patient remains oriented with stable hemodynamics. Reported complaints include mild fatigue and sporadic episodes of wheezing. Vital measurements include a body temperature of 99.9°F and an oxygen saturation level of 94%. Presentation overlaps multiple pulmonary conditions. Nutritional intake and sleep patterns appear adequate.",/Users/preetham_ravula/projects/medi-llm/data/images/COVID/COVID-1639.png
|
predictions_text_20250725_201433.csv → predictions_text_20250726_174023.csv
RENAMED
|
File without changes
|