Upload labeled_set.json with huggingface_hub
Browse files- labeled_set.json +77 -0
labeled_set.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_about": "Labeled evaluation set for VisionFlow. Ground truth is the literal text rendered into each synthetic sample image by examples/generate_sample_images.py, so labels are exact by construction rather than human-annotated. Every value is fabricated: no real patient, shipment, or company data appears here. This set is small (3 images, 20 fields) and is intended to make quantization-level differences visible, not to establish absolute accuracy — for that, see the DocVQA/ChartQA note in the README.",
|
| 3 |
+
"samples": [
|
| 4 |
+
{
|
| 5 |
+
"id": "medical_report",
|
| 6 |
+
"image": "examples/sample_images/medical_report.png",
|
| 7 |
+
"category": "medical document",
|
| 8 |
+
"prompt": "Extract the patient data, procedure details, and diagnosis code from this surgical report.",
|
| 9 |
+
"schema": {
|
| 10 |
+
"patient_name": "string",
|
| 11 |
+
"mrn": "string",
|
| 12 |
+
"dob": "string (YYYY-MM-DD)",
|
| 13 |
+
"date_of_surgery": "string (YYYY-MM-DD)",
|
| 14 |
+
"surgeon": "string",
|
| 15 |
+
"procedure": "string",
|
| 16 |
+
"diagnosis_code": "string",
|
| 17 |
+
"asa_class": "string",
|
| 18 |
+
"estimated_blood_loss": "string",
|
| 19 |
+
"operative_time": "string"
|
| 20 |
+
},
|
| 21 |
+
"ground_truth": {
|
| 22 |
+
"patient_name": "Jordan A. Rivera (SYNTHETIC)",
|
| 23 |
+
"mrn": "SYN-00417293",
|
| 24 |
+
"dob": "1978-03-14",
|
| 25 |
+
"date_of_surgery": "2026-06-02",
|
| 26 |
+
"surgeon": "Dr. L. Whitfield, MD",
|
| 27 |
+
"procedure": "Laparoscopic cholecystectomy",
|
| 28 |
+
"diagnosis_code": "K80.20 — Cholelithiasis without obstruction",
|
| 29 |
+
"asa_class": "II",
|
| 30 |
+
"estimated_blood_loss": "25 mL",
|
| 31 |
+
"operative_time": "58 minutes"
|
| 32 |
+
}
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"id": "shipping_manifest",
|
| 36 |
+
"image": "examples/sample_images/shipping_manifest.png",
|
| 37 |
+
"category": "structured form",
|
| 38 |
+
"prompt": "Extract the manifest header fields from this cold chain shipping manifest.",
|
| 39 |
+
"schema": {
|
| 40 |
+
"manifest_no": "string",
|
| 41 |
+
"ship_date": "string (YYYY-MM-DD)",
|
| 42 |
+
"origin_dc": "string",
|
| 43 |
+
"destination_dc": "string",
|
| 44 |
+
"carrier": "string",
|
| 45 |
+
"temp_requirement": "string"
|
| 46 |
+
},
|
| 47 |
+
"ground_truth": {
|
| 48 |
+
"manifest_no": "SM-2026-0642",
|
| 49 |
+
"ship_date": "2026-07-10",
|
| 50 |
+
"origin_dc": "DC-WEST-04, Fort Worth TX",
|
| 51 |
+
"destination_dc": "DC-EAST-11, Columbus OH",
|
| 52 |
+
"carrier": "ColdLink Logistics",
|
| 53 |
+
"temp_requirement": "2-8 C (refrigerated)"
|
| 54 |
+
}
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"id": "chart_dashboard",
|
| 58 |
+
"image": "examples/sample_images/chart_dashboard.png",
|
| 59 |
+
"category": "chart",
|
| 60 |
+
"prompt": "Extract the chart title and the revenue value for each quarter shown in this bar chart.",
|
| 61 |
+
"schema": {
|
| 62 |
+
"title": "string",
|
| 63 |
+
"q1_revenue": "string",
|
| 64 |
+
"q2_revenue": "string",
|
| 65 |
+
"q3_revenue": "string",
|
| 66 |
+
"q4_revenue": "string"
|
| 67 |
+
},
|
| 68 |
+
"ground_truth": {
|
| 69 |
+
"title": "Synthetic Quarterly Revenue ($M) — Sample Dashboard",
|
| 70 |
+
"q1_revenue": "4.2",
|
| 71 |
+
"q2_revenue": "5.1",
|
| 72 |
+
"q3_revenue": "4.8",
|
| 73 |
+
"q4_revenue": "6.3"
|
| 74 |
+
}
|
| 75 |
+
}
|
| 76 |
+
]
|
| 77 |
+
}
|