Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -24,26 +24,36 @@ dataset_info:
|
|
| 24 |
- name: link
|
| 25 |
dtype: string
|
| 26 |
splits:
|
| 27 |
-
- name:
|
| 28 |
-
num_bytes:
|
| 29 |
-
num_examples:
|
| 30 |
-
- name:
|
| 31 |
-
num_bytes:
|
| 32 |
-
num_examples:
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
dataset_size: 2429056
|
| 35 |
configs:
|
| 36 |
- config_name: default
|
| 37 |
data_files:
|
| 38 |
-
- split:
|
| 39 |
-
path: data/
|
| 40 |
-
- split:
|
| 41 |
-
path: data/
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
task_categories:
|
| 43 |
- question-answering
|
| 44 |
tags:
|
| 45 |
-
- medical
|
| 46 |
-
- clinical
|
| 47 |
- multiple-choice
|
| 48 |
- usmle
|
| 49 |
---
|
|
@@ -57,15 +67,11 @@ HuggingFace upload of a multiple-choice QA dataset of USMLE Step 2 and Step 3 st
|
|
| 57 |
### Dataset Description
|
| 58 |
|
| 59 |
The dataset contains four splits:
|
| 60 |
-
- **
|
| 61 |
-
- **
|
| 62 |
-
- **op5_train**: five-option multiple-choice QA (choices A-E)
|
| 63 |
-
- **op5_eval**: five-option multiple-choice QA (choices A-E)
|
| 64 |
|
| 65 |
`op5` splits contain the same content as `op4` splits, but with one additional answer choice to increase difficulty. Note that while the content is the same, the letter choice corresponding to the correct answer is sometimes different between these splits.
|
| 66 |
|
| 67 |
-
The train/eval splits for a given number of options are 80/20, where the last 20% of the original, complete dataset is used for evals.
|
| 68 |
-
|
| 69 |
### Dataset Sources
|
| 70 |
|
| 71 |
- **Repository:** https://github.com/HanjieChen/ChallengeClinicalQA
|
|
@@ -84,23 +90,13 @@ def _strip_E(split):
|
|
| 84 |
yield ex
|
| 85 |
|
| 86 |
if __name__ == "__main__":
|
| 87 |
-
|
| 88 |
-
# dataset = load_dataset("mkieffer/Medbullets")
|
| 89 |
-
|
| 90 |
-
# load only op4 splits
|
| 91 |
-
op4_train, op4_eval = load_dataset("mkieffer/Medbullets", split=["op4_train", "op4_eval"])
|
| 92 |
-
|
| 93 |
-
# remove the "E" option from op4 splits
|
| 94 |
-
op4_train = Dataset.from_generator(lambda: _strip_E(op4_train))
|
| 95 |
-
op4_eval = Dataset.from_generator(lambda: _strip_E(op4_eval))
|
| 96 |
|
| 97 |
-
#
|
| 98 |
-
|
| 99 |
|
| 100 |
-
print("\
|
| 101 |
-
print("\
|
| 102 |
-
print("\nop5_train:\n", json.dumps(op5_train[0], indent=2))
|
| 103 |
-
print("\nop5_eval:\n", json.dumps(op5_eval[0], indent=2))
|
| 104 |
```
|
| 105 |
|
| 106 |
|
|
|
|
| 24 |
- name: link
|
| 25 |
dtype: string
|
| 26 |
splits:
|
| 27 |
+
- name: op4_train
|
| 28 |
+
num_bytes: 947036
|
| 29 |
+
num_examples: 246
|
| 30 |
+
- name: op4_eval
|
| 31 |
+
num_bytes: 263957
|
| 32 |
+
num_examples: 62
|
| 33 |
+
- name: op5_train
|
| 34 |
+
num_bytes: 952919
|
| 35 |
+
num_examples: 246
|
| 36 |
+
- name: op5_eval
|
| 37 |
+
num_bytes: 265144
|
| 38 |
+
num_examples: 62
|
| 39 |
+
download_size: 1262330
|
| 40 |
dataset_size: 2429056
|
| 41 |
configs:
|
| 42 |
- config_name: default
|
| 43 |
data_files:
|
| 44 |
+
- split: op4_train
|
| 45 |
+
path: data/op4_train-*
|
| 46 |
+
- split: op4_eval
|
| 47 |
+
path: data/op4_eval-*
|
| 48 |
+
- split: op5_train
|
| 49 |
+
path: data/op5_train-*
|
| 50 |
+
- split: op5_eval
|
| 51 |
+
path: data/op5_eval-*
|
| 52 |
task_categories:
|
| 53 |
- question-answering
|
| 54 |
tags:
|
| 55 |
+
- medical,
|
| 56 |
+
- clinical,
|
| 57 |
- multiple-choice
|
| 58 |
- usmle
|
| 59 |
---
|
|
|
|
| 67 |
### Dataset Description
|
| 68 |
|
| 69 |
The dataset contains four splits:
|
| 70 |
+
- **op4_test**: four-option multiple-choice QA (choices A-D)
|
| 71 |
+
- **op5_test**: five-option multiple-choice QA (choices A-E)
|
|
|
|
|
|
|
| 72 |
|
| 73 |
`op5` splits contain the same content as `op4` splits, but with one additional answer choice to increase difficulty. Note that while the content is the same, the letter choice corresponding to the correct answer is sometimes different between these splits.
|
| 74 |
|
|
|
|
|
|
|
| 75 |
### Dataset Sources
|
| 76 |
|
| 77 |
- **Repository:** https://github.com/HanjieChen/ChallengeClinicalQA
|
|
|
|
| 90 |
yield ex
|
| 91 |
|
| 92 |
if __name__ == "__main__":
|
| 93 |
+
op4_test, op5_test = load_dataset("mkieffer/Medbullets", split=["op4_test", "op5_test"])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
|
| 95 |
+
# remove the "E" option from op4 split
|
| 96 |
+
op4_test = Dataset.from_generator(lambda: _strip_E(op4_test))
|
| 97 |
|
| 98 |
+
print("\nop4_test:\n", json.dumps(op4_test[0], indent=2))
|
| 99 |
+
print("\nop5_test:\n", json.dumps(op5_test[0], indent=2))
|
|
|
|
|
|
|
| 100 |
```
|
| 101 |
|
| 102 |
|