Update README.md
Browse files
README.md
CHANGED
|
@@ -37,3 +37,140 @@ configs:
|
|
| 37 |
- split: test2
|
| 38 |
path: data/test2-*
|
| 39 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
- split: test2
|
| 38 |
path: data/test2-*
|
| 39 |
---
|
| 40 |
+
|
| 41 |
+
# SIMORD
|
| 42 |
+
|
| 43 |
+
HuggingFace re-upload of the [SIMORD dataset](https://huggingface.co/datasets/microsoft/SIMORD), **a medical order extraction benchmark based on doctor-patient conversations**, with corrections to data splits and all text transcripts now included by default. If used, please cite the original authors using the citation below.
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
## Dataset Details
|
| 47 |
+
|
| 48 |
+
### Dataset Sources
|
| 49 |
+
|
| 50 |
+
- **HuggingFace:** https://huggingface.co/datasets/microsoft/SIMORD
|
| 51 |
+
- **Paper:** https://arxiv.org/pdf/2507.05517
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
### Dataset Description
|
| 55 |
+
|
| 56 |
+
The dataset contains three splits (with their corresponding original SIMORD files):
|
| 57 |
+
|
| 58 |
+
1) `train` (from `train.json`): examples for in-context learning or fine-tuning.
|
| 59 |
+
2) `test1` (from `dev.json`): test set used for the EMNLP 2025 industry track paper.
|
| 60 |
+
3) `test2` (from `test.json`): test set for MEDIQA-OE shared task of ClinicalNLP 2025.
|
| 61 |
+
|
| 62 |
+
With the following distribution
|
| 63 |
+
|
| 64 |
+
| Split | Original | New | Change |
|
| 65 |
+
| :--- | :---: | :---: | :---: |
|
| 66 |
+
| `train` | 63 | 81 | +18 |
|
| 67 |
+
| `test1` | 100 | 90 | -10 |
|
| 68 |
+
| `test2` | 100 | 92 | -8 |
|
| 69 |
+
| **TOTAL** | **263** | **263** | **-** |
|
| 70 |
+
|
| 71 |
+
Note: Both the original SIMORD dataset and this upload use the split name `test1` instead of dev/validation (even though the file is `dev.json`) and `test2` instead of test (even though the file is `test.json`), since both were used as test sets.
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
### Dataset Changes
|
| 75 |
+
|
| 76 |
+
The SIMORD dataset is derived from both [ACI-Bench](https://github.com/wyim/aci-bench) and [PriMock57](https://github.com/babylonhealth/primock57).
|
| 77 |
+
|
| 78 |
+
While PriMock57 doesn't contain any explicit data splits, ACI-Bench contains five splits: `train`, `valid`, `test1`, `test2`, and `test3`. As discussed in an [open HF issue](https://huggingface.co/datasets/microsoft/SIMORD/discussions/2), these splits were not respected when being merged into SIMORD.
|
| 79 |
+
|
| 80 |
+
For example, SIMORD's `test.json` contains an ACI-Bench train sample:
|
| 81 |
+
|
| 82 |
+
`
|
| 83 |
+
"id": "acibench_D2N036_aci_train"
|
| 84 |
+
`
|
| 85 |
+
|
| 86 |
+
The official SIMORD HF upload contains three data files that are mapped to the following splits
|
| 87 |
+
|
| 88 |
+
| SIMORD File | Mapped Split | Total | Train | Valid/Dev | Test1 | Test2 | Test3 | PriMock57 |
|
| 89 |
+
|:---|:---|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
|
| 90 |
+
| [train.json](https://huggingface.co/datasets/microsoft/SIMORD/blob/main/data/train.json) | `train` | 63 | 15 | 8 | 8 | 10 | 8 | 14 |
|
| 91 |
+
| [dev.json](https://huggingface.co/datasets/microsoft/SIMORD/blob/main/data/dev.json) | `test1` | 100 | 27 | 3 | 20 | 14 | 13 | 23 |
|
| 92 |
+
| [test.json](https://huggingface.co/datasets/microsoft/SIMORD/blob/main/data/test.json) | `test2` | 100 | 25 | 9 | 11 | 16 | 19 | 20 |
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
|
| 96 |
+
This updated version of SIMORD reallocates samples using the following logic:
|
| 97 |
+
|
| 98 |
+
- **New `train`** = old train (train+PriMock57 samples) + old test1 (train samples) + old test2 (train samples)
|
| 99 |
+
- **New `test1`** = old test1 (non-train samples) + half of old train (non-train, non-PriMock57 samples)
|
| 100 |
+
- **New `test2`** = old test2 (non-train samples) + half of old train (non-train, non-PriMock57 samples)
|
| 101 |
+
|
| 102 |
+
In other words:
|
| 103 |
+
- Samples with `_train` suffix are moved to `train`, regardless of which original file they came from
|
| 104 |
+
- PriMock57 samples stay in their original splits, since PriMock57 has no explicit data splits
|
| 105 |
+
- Non-train samples in the original `test1` and `test2` splits stay where they are
|
| 106 |
+
- Non-train, non-PriMock57 samples that were misplaced in the original `train` split are evenly distributed between `test1` and `test2`
|
| 107 |
+
|
| 108 |
+
After reallocation, the new splits contain the following counts:
|
| 109 |
+
|
| 110 |
+
| New Split | Total | Train | Valid/Dev | Test1 | Test2 | Test3 | PriMock57 |
|
| 111 |
+
|:---|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
|
| 112 |
+
| `train` | 81 | 67 | 0 | 0 | 0 | 0 | 14 |
|
| 113 |
+
| `test1` | 90 | 0 | 7 | 24 | 19 | 17 | 23 |
|
| 114 |
+
| `test2` | 92 | 0 | 13 | 15 | 21 | 23 | 20 |
|
| 115 |
+
|
| 116 |
+
|
| 117 |
+
### Direct Use
|
| 118 |
+
|
| 119 |
+
```python
|
| 120 |
+
import json
|
| 121 |
+
from datasets import load_dataset
|
| 122 |
+
|
| 123 |
+
|
| 124 |
+
if __name__ == "__main__":
|
| 125 |
+
# load all data
|
| 126 |
+
dataset = load_dataset("mkieffer/SIMORD")
|
| 127 |
+
|
| 128 |
+
# load only train split
|
| 129 |
+
dataset_train = load_dataset("mkieffer/SIMORD", split="train")
|
| 130 |
+
|
| 131 |
+
# load only test1 split
|
| 132 |
+
dataset_test1 = load_dataset("mkieffer/SIMORD", split="test1")
|
| 133 |
+
|
| 134 |
+
print("\nfull dataset:\n", dataset)
|
| 135 |
+
print("\ntrain split:\n", dataset_train)
|
| 136 |
+
print("\ntest1 split:\n", dataset_test1)
|
| 137 |
+
|
| 138 |
+
print("\ntrain sample:\n", json.dumps(dataset_train[0], indent=2))
|
| 139 |
+
print("\ntest1 sample:\n", json.dumps(dataset_test1[0], indent=2))
|
| 140 |
+
```
|
| 141 |
+
|
| 142 |
+
|
| 143 |
+
## Citation
|
| 144 |
+
|
| 145 |
+
```bibtex
|
| 146 |
+
@inproceedings{corbeil-etal-2025-empowering,
|
| 147 |
+
title = "Empowering Healthcare Practitioners with Language Models: Structuring Speech Transcripts in Two Real-World Clinical Applications",
|
| 148 |
+
author = "Corbeil, Jean-Philippe and
|
| 149 |
+
Ben Abacha, Asma and
|
| 150 |
+
Michalopoulos, George and
|
| 151 |
+
Swazinna, Phillip and
|
| 152 |
+
Del-Agua, Miguel and
|
| 153 |
+
Tremblay, Jerome and
|
| 154 |
+
Daniel, Akila Jeeson and
|
| 155 |
+
Bader, Cari and
|
| 156 |
+
Cho, Kevin and
|
| 157 |
+
Krishnan, Pooja and
|
| 158 |
+
Bodenstab, Nathan and
|
| 159 |
+
Lin, Thomas and
|
| 160 |
+
Teng, Wenxuan and
|
| 161 |
+
Beaulieu, Francois and
|
| 162 |
+
Vozila, Paul",
|
| 163 |
+
editor = "Potdar, Saloni and
|
| 164 |
+
Rojas-Barahona, Lina and
|
| 165 |
+
Montella, Sebastien",
|
| 166 |
+
booktitle = "Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing: Industry Track",
|
| 167 |
+
month = nov,
|
| 168 |
+
year = "2025",
|
| 169 |
+
address = "Suzhou (China)",
|
| 170 |
+
publisher = "Association for Computational Linguistics",
|
| 171 |
+
url = "https://aclanthology.org/2025.emnlp-industry.58/",
|
| 172 |
+
doi = "10.18653/v1/2025.emnlp-industry.58",
|
| 173 |
+
pages = "859--870",
|
| 174 |
+
ISBN = "979-8-89176-333-3"
|
| 175 |
+
}
|
| 176 |
+
```
|