Datasets:
Improve readme
Browse files- Fix readme subtitles
- Fix load_dataset example
- Improve dataset explanation
- Make homepage link clickable and clarify website for paper link
README.md
CHANGED
|
@@ -75,29 +75,62 @@ configs:
|
|
| 75 |
|
| 76 |
# Dataset Card for MedQA
|
| 77 |
|
| 78 |
-
|
| 79 |
-
-
|
| 80 |
-
- [Dataset
|
| 81 |
-
-
|
| 82 |
-
- [Citation Information](#citation-information)
|
| 83 |
|
| 84 |
|
| 85 |
-
## Dataset
|
| 86 |
|
| 87 |
-
|
| 88 |
-
- This is an unofficial curation of the MedQA dataset, uploaded here with minimal (i.e., no content-modifying) processing.
|
| 89 |
-
- **Paper:** [*What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Exams*](https://www.mdpi.com/2076-3417/11/14/6421)
|
| 90 |
-
- **Languages:** English (en), Taiwanese (tw), and Chinese (zh).
|
| 91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
|
| 93 |
## Dataset Structure
|
| 94 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
## Citation Information
|
| 99 |
|
| 100 |
-
For reproducibility, please include a link to this dataset when publishing results based on the included data.
|
| 101 |
|
| 102 |
For formal citations, please cite the *original* publication:
|
| 103 |
```
|
|
|
|
| 75 |
|
| 76 |
# Dataset Card for MedQA
|
| 77 |
|
| 78 |
+
- **Homepage:** [https://github.com/jind11/MedQA](https://github.com/jind11/MedQA)
|
| 79 |
+
- This is an unofficial curation of the MedQA dataset, uploaded here with minimal (i.e., no content-modifying) processing.
|
| 80 |
+
- **Paper:** [*What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Exams*](https://www.mdpi.com/2076-3417/11/14/6421) (MDPI)
|
| 81 |
+
- **Languages:** English (en), Taiwanese (tw), and Chinese (zh).
|
|
|
|
| 82 |
|
| 83 |
|
| 84 |
+
## Dataset Subsets
|
| 85 |
|
| 86 |
+
This dataset contains multiple configs:
|
|
|
|
|
|
|
|
|
|
| 87 |
|
| 88 |
+
- QA with four possible answers (as reported in the paper)
|
| 89 |
+
- `en`: English instances
|
| 90 |
+
- `tw`: Taiwanese instances
|
| 91 |
+
- `zh`: Chinese instances
|
| 92 |
+
- `xlang`: instances in any language
|
| 93 |
+
- QA with five possible answers (the original datasets for English and Chinese)
|
| 94 |
+
- `en_5`
|
| 95 |
+
- `zh_5`
|
| 96 |
+
|
| 97 |
+
Data can be loaded by specifying the config and data split:
|
| 98 |
+
|
| 99 |
+
```
|
| 100 |
+
from datasets import load_dataset
|
| 101 |
+
|
| 102 |
+
data = load_dataset("mathewhe/medqa", "en", split="train")
|
| 103 |
+
```
|
| 104 |
+
|
| 105 |
+
Possible splits are "train", "dev", and "test".
|
| 106 |
|
| 107 |
## Dataset Structure
|
| 108 |
|
| 109 |
+
Each data subset will contain the following columns:
|
| 110 |
+
|
| 111 |
+
```
|
| 112 |
+
question (string): The question/prompt.
|
| 113 |
+
answer: The correct response.
|
| 114 |
+
answer_idx: The multiple-choice identifier for the correct response.
|
| 115 |
+
A: The "A" answer.
|
| 116 |
+
B: The "B" answer.
|
| 117 |
+
C: The "C" answer.
|
| 118 |
+
D: The "D" answer.
|
| 119 |
+
E (in `en_5` or `zh_5` subsets): The "E" answer.
|
| 120 |
+
language: "en", "tw", or "zh".
|
| 121 |
+
```
|
| 122 |
+
|
| 123 |
+
Example from en-train:
|
| 124 |
+
|
| 125 |
+
| question | answer | meta_info | answer_idx | A | B | C | D | language |
|
| 126 |
+
|-------------------------|----------------|-----------|------------|------------|-------------|-------------|----------------|----------|
|
| 127 |
+
| A 23-year-old pregna... | Nitrofurantoin | step2&3 | D | Ampicillin | Ceftriaxone | Doxycycline | Nitrofurantoin | en |
|
| 128 |
|
| 129 |
|
| 130 |
|
| 131 |
## Citation Information
|
| 132 |
|
| 133 |
+
For reproducibility, please include a link to *this* dataset when publishing results based on the included data.
|
| 134 |
|
| 135 |
For formal citations, please cite the *original* publication:
|
| 136 |
```
|