miugod/CMB
CMB: A Comprehensive Medical Benchmark in Chinese π Github β’ π Website β’ π€ HuggingFace π Update [2024.02.21] The answers to the CMB-Exam test has been updated and some errors caused by omissions in version management have been fixed. [2024.01.08] In order to facilitate testing, we disclose the answers to the CMB-Exam test [2023.09.22] CMB is included in OpenCompass. [2023.08.21] Paper released. [2023.08.01] πππ CMB is publishedοΌπππβ¦ See the full description on the dataset page: https://huggingface.co/datasets/miugod/CMB.
171
1from datasets import load_dataset2 3# ds = load_dataset('FreedomIntelligence/CMB', 'CMB-Clin')4# print(ds)5 6ds = load_dataset(7 "json",8 data_files={9 "test": "CMB-Clin/CMB-Clin-qa.json",10 }11)12 13print(ds["test"][0])14 15 16ds = load_dataset(17 "json",18 data_files={19 "test": "CMB-Exam/CMB-test/CMB-test-choice-question-merge-clean.json",20 "train": "CMB-Exam/CMB-train/CMB-train-merge-clean.json",21 "val": "CMB-Exam/CMB-val/CMB-val-merge-clean.json",22 23 }24)25print(ds)