Datasets:

Languages:
English
ArXiv:
License:
zhengyun21 commited on
Commit
728cc1e
·
verified ·
1 Parent(s): f0a6da8

Upload 12 files

Browse files
.gitattributes CHANGED
@@ -57,3 +57,8 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
60
+ PAR/PAR_PMIDs.json filter=lfs diff=lfs merge=lfs -text
61
+ PAR/qrels_train.tsv filter=lfs diff=lfs merge=lfs -text
62
+ queries/dev_queries.jsonl filter=lfs diff=lfs merge=lfs -text
63
+ queries/test_queries.jsonl filter=lfs diff=lfs merge=lfs -text
64
+ queries/train_queries.jsonl filter=lfs diff=lfs merge=lfs -text
PAR/PAR_PMIDs.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72249aa91cd6f548f9ff8af9a0f77ed2f41c6e2b60aa93b3b9b196fec88360af
3
+ size 22352129
PAR/qrels_dev.tsv ADDED
The diff for this file is too large to render. See raw diff
 
PAR/qrels_test.tsv ADDED
The diff for this file is too large to render. See raw diff
 
PAR/qrels_train.tsv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:025107882bf24b6137dae2d09ca30db2db1adbcdba4d6ed521af057fb8cf803c
3
+ size 60243572
PPR/qrels_dev.tsv ADDED
The diff for this file is too large to render. See raw diff
 
PPR/qrels_test.tsv ADDED
The diff for this file is too large to render. See raw diff
 
PPR/qrels_train.tsv ADDED
The diff for this file is too large to render. See raw diff
 
README.md CHANGED
@@ -1,3 +1,102 @@
1
- ---
2
- license: cc-by-nc-sa-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-sa-4.0
3
+ language:
4
+ - en
5
+ tags:
6
+ - information retrieval
7
+ - patient similarity
8
+ - clinical decision support
9
+ size_categories:
10
+ - 100K<n<1M
11
+ ---
12
+
13
+ # Dataset Card for PMC-Patients-ReCDS
14
+
15
+ ## Dataset Description
16
+
17
+ - **Homepage:** https://github.com/pmc-patients/pmc-patients
18
+ - **Repository:** https://github.com/pmc-patients/pmc-patients
19
+ - **Paper:** https://arxiv.org/pdf/2202.13876.pdf
20
+ - **Leaderboard:** https://pmc-patients.github.io/
21
+ - **Point of Contact:** zhengyun21@mails.tsinghua.edu.cn
22
+
23
+ ### Dataset Summary
24
+
25
+ **PMC-Patients** is a first-of-its-kind dataset consisting of 167k patient summaries extracted from case reports in PubMed Central (PMC), 3.1M patient-article relevance and 293k patient-patient similarity annotations defined by PubMed citation graph.
26
+
27
+ ### Supported Tasks and Leaderboards
28
+
29
+ Based on PMC-Patients, we define two tasks to benchmark Retrieval-based Clinical Decision Support (ReCDS) systems: Patient-to-Article Retrieval (PAR) and Patient-to-Patient Retrieval (PPR).
30
+ For details, please refer to [our paper](https://arxiv.org/pdf/2202.13876.pdf) and [leaderboard](https://pmc-patients.github.io/).
31
+
32
+ ### Languages
33
+
34
+ English (en).
35
+
36
+ ## Dataset Structure
37
+
38
+ The PMC-Patients ReCDS benchmark is presented as retrieval tasks and the data format is the same as [BEIR](https://github.com/beir-cellar/beir) benchmark.
39
+ To be specific, there are queries, corpus, and qrels (annotations).
40
+
41
+ ### Queries
42
+
43
+ ReCDS-PAR and ReCDS-PPR tasks share the same query patient set and dataset split.
44
+ For each split (train, dev, and test), queries are stored a `jsonl` file that contains a list of dictionaries, each with two fields:
45
+ - `_id`: unique query identifier represented by patient_uid.
46
+ - `text`: query text represented by patient summary text.
47
+
48
+ ### Corpus
49
+
50
+ Corpus is shared by different splits. For ReCDS-PAR, the corpus contains 11.7M PubMed articles, and for ReCDS-PPR, the corpus contains 155.2k reference patients from PMC-Patients. The corpus is also presented by a `jsonl` file that contains a list of dictionaries with three fields:
51
+ - `_id`: unique document identifier represented by PMID of the PubMed article in ReCDS-PAR, and patient_uid of the candidate patient in ReCDS-PPR.
52
+ - `title`: : title of the article in ReCDS-PAR, and empty string in ReCDS-PPR.
53
+ - `text`: abstract of the article in ReCDS-PAR, and patient summary text in ReCDS-PPR.
54
+
55
+ **PAR corpus note**
56
+
57
+ Due to its large size, we fail to upload the full PAR corpus on Huggingface. Instead, we provide PMIDs of the articles we include in PAR corpus, but we recommend you to download the dataset from [Figshare](https://figshare.com/collections/PMC-Patients/6723465) which contains the full PAR corpus file.
58
+
59
+ ### Qrels
60
+
61
+ Qrels are TREC-style retrieval annotation files in `tsv` format.
62
+ A qrels file contains three tab-separated columns, i.e. the query identifier, corpus identifier, and score in this order. The scores (2 or 1) indicate the relevance level in ReCDS-PAR or similarity level in ReCDS-PPR.
63
+
64
+ Note that the qrels may not be the same as `relevant_articles` and `similar_patients` in `PMC-Patients.json` due to dataset split (see our manuscript for details).
65
+
66
+ ### Data Instances
67
+
68
+
69
+ **A sample of query**
70
+
71
+ {"_id": "8699387-1", "text": "A 60-year-old female patient with a medical history of hypertension came to our attention because of several neurological deficits that had developed over the last few years, significantly impairing her daily life. Four years earlier, she developed sudden weakness and hypoesthesia of the right hand. The symptoms resolved in a few days and no specific diagnostic tests were performed. Two months later, she developed hypoesthesia and weakness of the right lower limb. On neurological examination at the time, she had spastic gait, ataxia, slight pronation of the right upper limb and bilateral Babinski sign. Brain MRI showed extensive white matter hyperintensities (WMHs), so leukodystrophy was suspected. However, these WMHs were located bilaterally in the corona radiata, basal ganglia, the anterior part of the temporal lobes and the medium cerebellar peduncle (A–D), and were highly suggestive of CADASIL. Genetic testing was performed, showing heterozygous mutation of the NOTCH3 gene (c.994 C<T; exon 6). The diagnosis of CADASIL was confirmed and antiplatelet prevention therapy was started. Since then, her clinical conditions remained stable, and the lesion load was unchanged at follow-up brain MRIs for 4 years until November 2020, when the patient was diagnosed with COVID-19 after a PCR nasal swab. The patient developed only mild respiratory symptoms, not requiring hospitalization or any specific treatment. Fifteen days after the COVID-19 diagnosis, she suddenly developed aphasia, agraphia and worsened right upper limb motor deficit, but she did not seek medical attention. Some days later, she reported these symptoms to her family medical doctor, and a new brain MRI was performed, showing a subacute ischemic area in the left corona radiata (E,F). Therapy with acetylsalicylic acid was switched to clopidogrel as secondary prevention, while her symptoms improved in the next few weeks. The patient underwent a carotid doppler ultrasound and an echocardiogram, which did not reveal any pathological changes. The review of the blood pressure log, both in-hospital and the personal one the patient had kept, excluded uncontrolled hypertension."}
72
+
73
+ **A sample of qrels**
74
+
75
+ query-id corpus-id score
76
+
77
+ 8647806-1 6437752-1 1
78
+
79
+ 8647806-1 6946242-1 1
80
+
81
+
82
+ ### Data Splits
83
+
84
+ Refer to our paper.
85
+
86
+ ## Dataset Creation
87
+
88
+ If you are interested in the collection of PMC-Patients and reproducing our baselines, please refer to [this reporsitory](https://github.com/zhao-zy15/PMC-Patients).
89
+
90
+ ### Citation Information
91
+
92
+ If you find PMC-Patients helpful in your research, please cite our work by:
93
+ ```
94
+ @misc{zhao2023pmcpatients,
95
+ title={PMC-Patients: A Large-scale Dataset of Patient Summaries and Relations for Benchmarking Retrieval-based Clinical Decision Support Systems},
96
+ author={Zhengyun Zhao and Qiao Jin and Fangyuan Chen and Tuorui Peng and Sheng Yu},
97
+ year={2023},
98
+ eprint={2202.13876},
99
+ archivePrefix={arXiv},
100
+ primaryClass={cs.CL}
101
+ }
102
+ ```
gitattributes ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
13
+ *.model filter=lfs diff=lfs merge=lfs -text
14
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
15
+ *.npy filter=lfs diff=lfs merge=lfs -text
16
+ *.npz filter=lfs diff=lfs merge=lfs -text
17
+ *.onnx filter=lfs diff=lfs merge=lfs -text
18
+ *.ot filter=lfs diff=lfs merge=lfs -text
19
+ *.parquet filter=lfs diff=lfs merge=lfs -text
20
+ *.pb filter=lfs diff=lfs merge=lfs -text
21
+ *.pickle filter=lfs diff=lfs merge=lfs -text
22
+ *.pkl filter=lfs diff=lfs merge=lfs -text
23
+ *.pt filter=lfs diff=lfs merge=lfs -text
24
+ *.pth filter=lfs diff=lfs merge=lfs -text
25
+ *.rar filter=lfs diff=lfs merge=lfs -text
26
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
27
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ # Audio files - uncompressed
37
+ *.pcm filter=lfs diff=lfs merge=lfs -text
38
+ *.sam filter=lfs diff=lfs merge=lfs -text
39
+ *.raw filter=lfs diff=lfs merge=lfs -text
40
+ # Audio files - compressed
41
+ *.aac filter=lfs diff=lfs merge=lfs -text
42
+ *.flac filter=lfs diff=lfs merge=lfs -text
43
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
44
+ *.ogg filter=lfs diff=lfs merge=lfs -text
45
+ *.wav filter=lfs diff=lfs merge=lfs -text
46
+ # Image files - uncompressed
47
+ *.bmp filter=lfs diff=lfs merge=lfs -text
48
+ *.gif filter=lfs diff=lfs merge=lfs -text
49
+ *.png filter=lfs diff=lfs merge=lfs -text
50
+ *.tiff filter=lfs diff=lfs merge=lfs -text
51
+ # Image files - compressed
52
+ *.jpg filter=lfs diff=lfs merge=lfs -text
53
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
54
+ *.webp filter=lfs diff=lfs merge=lfs -text
55
+ PMC-Patients.json filter=lfs diff=lfs merge=lfs -text
56
+ PPR/PPR_corpus.jsonl filter=lfs diff=lfs merge=lfs -text
57
+ queries/dev_queries.jsonl filter=lfs diff=lfs merge=lfs -text
58
+ queries/test_queries.jsonl filter=lfs diff=lfs merge=lfs -text
59
+ queries/train_queries.jsonl filter=lfs diff=lfs merge=lfs -text
60
+ PAR_train_qrels.tsv filter=lfs diff=lfs merge=lfs -text
61
+ PAR/PAR_corpus.jsonl filter=lfs diff=lfs merge=lfs -text
62
+ PAR/qrels_train.tsv filter=lfs diff=lfs merge=lfs -text
63
+ PPR/corpus.jsonl filter=lfs diff=lfs merge=lfs -text
64
+ PAR/PAR_PMIDs.json filter=lfs diff=lfs merge=lfs -text
queries/dev_queries.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3afe1b5f6832a4c691267453153aaec6af5fd7cdbef567be484a7a1fb48d48b
3
+ size 16527534
queries/test_queries.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0501920965ef79f53c6efb30d1f8f7b7ba6ff3564da1913db5a515d365cef8b8
3
+ size 16743250
queries/train_queries.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63647693d797e5be90f6644003483d2a01543f55c02e5474be4ece12fd405b32
3
+ size 434932075