CoolFace
Datasetpublic

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.

sourceHugging Faceapache-2.0updated 8mo agoView on Hugging Face
1likes71downloads
read_data.py25 linesDownload Raw Back to root
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)