Update README.md
Browse files
README.md
CHANGED
|
@@ -37,4 +37,112 @@ configs:
|
|
| 37 |
path: virtscribe/test2.parquet
|
| 38 |
- split: test3
|
| 39 |
path: virtscribe/test3.parquet
|
| 40 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
path: virtscribe/test2.parquet
|
| 38 |
- split: test3
|
| 39 |
path: virtscribe/test3.parquet
|
| 40 |
+
---
|
| 41 |
+
|
| 42 |
+
# ACI-Bench
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
HuggingFace upload of ACI-Bench, which evaluates a model's ability to convert clinical dialogue into structured clinical notes. This dataset includes the [benchmark itself](https://huggingface.co/datasets/mkieffer/ACI-Bench), as well as data from ablation studies testing different transcription methods. If used, please cite the original authors using the citation below.
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
## Dataset Details
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
| subset | transcript_version | train | valid | test1 | test2 | test3 | Total |
|
| 53 |
+
| ---------- | ------------------ | ----- | ----- | ----- | ----- | ----- | ----- |
|
| 54 |
+
| aci | asr | 35 | 11 | 22 | 22 | 22 | 112 |
|
| 55 |
+
| aci | asrcorr | 35 | 11 | 22 | 22 | 22 | 112 |
|
| 56 |
+
| aci | humantrans | 0 | 0 | 0 | 0 | 0 | 0 |
|
| 57 |
+
| virtassist | asr | 0 | 0 | 0 | 0 | 0 | 0 |
|
| 58 |
+
| virtassist | asrcorr | 0 | 0 | 0 | 0 | 0 | 0 |
|
| 59 |
+
| virtassist | humantrans | 20 | 5 | 10 | 10 | 10 | 55 |
|
| 60 |
+
| virtscribe | asr | 12 | 4 | 8 | 8 | 8 | 40 |
|
| 61 |
+
| virtscribe | asrcorr | 0 | 0 | 0 | 0 | 0 | 0 |
|
| 62 |
+
| virtscribe | humantrans | 12 | 4 | 8 | 8 | 8 | 40 |
|
| 63 |
+
| ALL | ALL | 114 | 35 | 70 | 70 | 70 | 359 |
|
| 64 |
+
|
| 65 |
+
### Dataset Description
|
| 66 |
+
|
| 67 |
+
The dataset consists of different subsets capturing different clinical workflows
|
| 68 |
+
|
| 69 |
+
1) ambient clinical intelligence (`aci`): doctor-patient dialogue
|
| 70 |
+
2) virtual assistant (`virtassist`): doctor-patient dialogue with queues to trigger Dragon Copilot, e.g., "hey, dragon. show me the chest x-ray"
|
| 71 |
+
3) virtual scribe (`virtscribe`): doctor-patient dialogue with a short dictation from the doctor about the patient at the very beginning
|
| 72 |
+
|
| 73 |
+
There are three different transcription versions:
|
| 74 |
+
1) `asr`: machine-transcribed
|
| 75 |
+
2) `asrcorr`: human corrections to `asr`, for example: "nonsmile" in D2N081 --> "non-small" in ACI006
|
| 76 |
+
3) `humantrans`: transcribed by a human
|
| 77 |
+
|
| 78 |
+
The subsets have the following transcription versions
|
| 79 |
+
1) `aci`: `asr` and `asrcorr`
|
| 80 |
+
2) `virtassist`: `humantrans` only
|
| 81 |
+
3) `virtscribe`: `asr` and `humantrans`
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
### Dataset Sources
|
| 85 |
+
|
| 86 |
+
- **GitHub:** https://github.com/wyim/aci-bench
|
| 87 |
+
- **Paper:** https://www.nature.com/articles/s41597-023-02487-3
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
### Direct Use
|
| 91 |
+
|
| 92 |
+
```python
|
| 93 |
+
from datasets import load_dataset
|
| 94 |
+
|
| 95 |
+
SUBSETS = ["virtassist", "virtscribe", "aci"]
|
| 96 |
+
SPLITS = ["train", "valid", "test1", "test2", "test3"]
|
| 97 |
+
|
| 98 |
+
if __name__ == "__main__":
|
| 99 |
+
# ---------------------------------------------------------------------
|
| 100 |
+
# 1) Load ONE subset (config) with ALL splits
|
| 101 |
+
# ---------------------------------------------------------------------
|
| 102 |
+
virtassist_all = load_dataset("mkieffer/ACI-Bench-MedARC", name="virtassist")
|
| 103 |
+
|
| 104 |
+
# ---------------------------------------------------------------------
|
| 105 |
+
# 2) Load ONE subset (config) with ONE split
|
| 106 |
+
# ---------------------------------------------------------------------
|
| 107 |
+
virtassist_train = load_dataset("mkieffer/ACI-Bench-MedARC", name="virtassist", split="train")
|
| 108 |
+
|
| 109 |
+
# ---------------------------------------------------------------------
|
| 110 |
+
# 3) Load TWO subsets (configs), all splits for each
|
| 111 |
+
# ---------------------------------------------------------------------
|
| 112 |
+
two_subsets = {
|
| 113 |
+
"virtassist": load_dataset("mkieffer/ACI-Bench-MedARC", name="virtassist"),
|
| 114 |
+
"aci": load_dataset("mkieffer/ACI-Bench-MedARC", name="aci"),
|
| 115 |
+
}
|
| 116 |
+
|
| 117 |
+
# ---------------------------------------------------------------------
|
| 118 |
+
# 4) Load ALL subsets (virtassist, virtscribe, aci), all splits each
|
| 119 |
+
# ---------------------------------------------------------------------
|
| 120 |
+
all_subsets = {subset: load_dataset("mkieffer/ACI-Bench-MedARC", name=subset) for subset in SUBSETS}
|
| 121 |
+
aci_all = all_subsets["aci"] # DatasetDict
|
| 122 |
+
aci_train = aci_all["train"] # Dataset
|
| 123 |
+
aci_valid = aci_all["valid"]
|
| 124 |
+
|
| 125 |
+
# ---------------------------------------------------------------------
|
| 126 |
+
# 5) Load multiple splits at once
|
| 127 |
+
# ---------------------------------------------------------------------
|
| 128 |
+
# load each split, concatenated
|
| 129 |
+
aci_all_test_concat = load_dataset("mkieffer/ACI-Bench-MedARC", name="aci", split=["train", "test1+test2+test3"])
|
| 130 |
+
|
| 131 |
+
# load each split separately
|
| 132 |
+
aci_all_test_separate = load_dataset("mkieffer/ACI-Bench-MedARC", name="aci", split=["train", "test1", "test2", "test3"])
|
| 133 |
+
```
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
## Citation
|
| 137 |
+
|
| 138 |
+
```bibtex
|
| 139 |
+
@article{aci-bench,
|
| 140 |
+
author = {Wen{-}wai Yim and
|
| 141 |
+
Yujuan Fu and
|
| 142 |
+
Asma {Ben Abacha} and
|
| 143 |
+
Neal Snider and Thomas Lin and Meliha Yetisgen},
|
| 144 |
+
title = {ACI-BENCH: a Novel Ambient Clinical Intelligence Dataset for Benchmarking Automatic Visit Note Generation},
|
| 145 |
+
journal = {Nature Scientific Data},
|
| 146 |
+
year = {2023}
|
| 147 |
+
}
|
| 148 |
+
```
|