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
1---2license: apache-2.03task_categories:4- question-answering5- text-generation6language:7- zh8tags:9- medical10- biology11- chemistry12size_categories:13- 100K<n<1M14configs:15 - config_name: CMB-Clin16 data_files:17 - split: test18 path: CMB-Clin/CMB-Clin-qa.json19 - config_name: CMB-Exam20 data_files:21 - split: test22 path: CMB-Exam/CMB-test/CMB-test-choice-question-merge.json23 - split: train24 path: CMB-Exam/CMB-train/CMB-train-merge.json25 - split: val26 path: CMB-Exam/CMB-val/CMB-val-merge.json27---28 29# CMB: A Comprehensive Medical Benchmark in Chinese3031<p align="center">32 🌐 <a href="https://github.com/FreedomIntelligence/CMB" target="_blank">Github</a> • 🌐 <a href="https://cmedbenchmark.llmzoo.com/#home" target="_blank">Website</a> • 🤗 <a href="https://huggingface.co/datasets/FreedomIntelligence/CMB" target="_blank">HuggingFace</a>33 34## 🌈 Update35* **[2024.02.21]** The [answers](https://github.com/FreedomIntelligence/CMB/tree/main/data) to the CMB-Exam test has been updated and some errors caused by omissions in version management have been fixed.36* **[2024.01.08]** In order to facilitate testing, we disclose the [answers](https://github.com/FreedomIntelligence/CMB/tree/main/data) to the CMB-Exam test37* **[2023.09.22]** CMB is included in [OpenCompass](https://github.com/open-compass/opencompass).38* **[2023.08.21]** [Paper](https://arxiv.org/abs/2308.08833) released.39* **[2023.08.01]** 🎉🎉🎉 CMB is published!🎉🎉🎉40 41 42## 🌐 Download Data43 44- (Recommended) Download the [zip file](https://github.com/FreedomIntelligence/CMB/tree/main/data) and unzip:45 ```bash46 git clone "https://github.com/FreedomIntelligence/CMB.git" && cd CMB && unzip "./data/CMB.zip" -d "./data/" && rm "./data/CMB.zip"47 ```48- Or load our data as follows:49 ```python50 from datasets import load_dataset51 # CMB-Exam datasets (multiple-choice and multiple-answer questions)52 exam_datasets = load_dataset('miugod/CMB','CMB-Exam')53 # CMB-Clin datasets54 clin_datasets = load_dataset('miugod/CMB','CMB-Clin')55 ```56 57 58 59## 🥇 Leaderboard 60 61Please Check [Leaderboard](https://cmedbenchmark.llmzoo.com/static/leaderboard.html).62 63 64 65## 🥸 Dataset intro6667### Components68 69- CMB-Exam: Comprehensive multi-level assessment for medical knowledge70 - Structure: 6 major categories and 28 subcategories, [View Catalog](catalog.md)71 - CMB-test: 400 questions per subcategories, 11200 questions in total72 - CMB-val: 280 questions with solutions and explanations; used as source for CoT and few-shot73 - CMB-train: 269359 questions for medical knowledge injection74 75- CMB-Clin: 74 cases of complex medical inquires 76 77 78### CMB-Exam Item 79```json80{81 "exam_type": "医师考试",82 "exam_class": "执业医师",83 "exam_subject": "口腔执业医师",84 "question": "患者,男性,11岁。近2个月来时有低热(37~38℃),全身无明显症状。查体无明显阳性体征。X线检查发现右肺中部有一直径约0.8cm类圆形病灶,边缘稍模糊,肺门淋巴结肿大。此男孩可能患",85 "answer": "D",86 "question_type": "单项选择题",87 "option": {88 "A": "小叶型肺炎",89 "B": "浸润性肺结核",90 "C": "继发性肺结核",91 "D": "原发性肺结核",92 "E": "粟粒型肺结核"93 }94},95```96- exam_type: major category97- exam_class: sub-category98- exam_subject: Specific departments or subdivisions of disciplines 99- question_type: *multiple-choice (单项选择题)* or *multiple-answer (多项选择题)*100 101 102### CMB-Clin Item 103```json104{105 "id": 0,106 "title": "案例分析-腹外疝",107 "description": "现病史\n(1)病史摘要\n 病人,男,49岁,3小时前解大便后出现右下腹疼痛,右下腹可触及一包块,既往体健。\n(2)主诉\n 右下腹痛并自扪及包块3小时。\n\n体格检查\n体温: T 37.8℃,P 101次/分,呼吸22次/分,BP 100/60mmHg,腹软,未见胃肠型蠕动波,肝脾肋下未及,于右侧腹股沟区可扪及一圆形肿块,约4cm×4cm大小,有压痛、界欠清,且肿块位于腹股沟韧带上内方。\n\n辅助检查\n(1)实验室检查\n 血常规:WBC 5.0×109/L,N 78%。\n 尿常规正常。\n(2)多普勒超声检查\n 沿腹股沟纵切可见一多层分布的混合回声区,宽窄不等,远端膨大,边界整齐,长约4~5cm。\n(3)腹部X线检查\n 可见阶梯状液气平。",108 "QA_pairs": [109 {110 "question": "简述该病人的诊断及诊断依据。",111 "solution": "诊断:嵌顿性腹股沟斜疝合并肠梗阻。\n诊断依据:\n①右下腹痛并自扪及包块3小时;\n②有腹胀、呕吐,类似肠梗阻表现;腹部平片可见阶梯状液平,考虑肠梗阻可能;腹部B超考虑,\n腹部包块内可能为肠管可能;\n③有轻度毒性反应或是中毒反应,如 T 37.8℃,P 101次/分,白细胞中性分类78%;\n④腹股沟区包块位于腹股沟韧带上内方。"112 },113 {114 "question": "简述该病人的鉴别诊断。",115 "solution": "(1)睾丸鞘膜积液:鞘膜积液所呈现的肿块完全局限在阴囊内,其上界可以清楚地摸到;用透光试验检查肿块,鞘膜积液多为透光(阳性),而疝块则不能透光。\n(2)交通性鞘膜积液:肿块的外形与睾丸鞘膜积液相似。于每日起床后或站立活动时肿块缓慢地出现并增大。平卧或睡觉后肿块逐渐缩小,挤压肿块,其体积也可逐渐缩小。透光试验为阳性。\n(3)精索鞘膜积液:肿块较小,在腹股沟管内,牵拉同侧睾丸可见肿块移动。\n(4)隐睾:腹股沟管内下降不全的睾丸可被误诊为斜疝或精索鞘膜积液。隐睾肿块较小,挤压时可出现特有的胀痛感觉。如患侧阴囊内睾丸缺如,则诊断更为明确。\n(5)急性肠梗阻:肠管被嵌顿的疝可伴发急性肠梗阻,但不应仅满足于肠梗阻的诊断而忽略疝的存在;尤其是病人比较肥胖或疝块较小时,更易发生这类问题而导致治疗上的错误。\n(6)此外,腹股沟区肿块还应与以下疾病鉴别:肿大的淋巴结、动(静)脉瘤、软组织肿瘤、脓肿、\n圆韧带囊肿、子宫内膜异位症等。"116 },117 {118 "question": "简述该病人的治疗原则。",119 "solution": "嵌顿性疝原则上需要紧急手术治疗,以防止疝内容物坏死并解除伴发的肠梗阻。术前应做好必要的准备,如有脱水和电解质紊乱,应迅速补液加以纠正。手术的关键在于正确判断疝内容物的活力,然后根据病情确定处理方法。在扩张或切开疝环、解除疝环压迫的前提下,凡肠管呈紫黑色,失去光泽和弹性,刺激后无蠕动和相应肠系膜内无动脉搏动者,即可判定为肠坏死。如肠管尚未坏死,则可将其送回腹腔,按一般易复性疝处理,即行疝囊高位结扎+疝修补术。如肠管确已坏死或一时不能肯定肠管是否已失去活力时,则应在病人全身情况允许的前提下,切除该段肠管并进行一期吻合。凡施行肠切除吻合术的病人,因手术区污染,在高位结扎疝囊后,一般不宜作疝修补术,以免因感染而致修补失败。"120 }121 ]122},123```124- title: name of disease125- description: information of patient126- QA_pairs: a series of questions and their solutions based on the description127 128 129 130## ℹ️ How to evaluate and submit refer to [link](https://github.com/FreedomIntelligence/CMB)131 132## 😘 Citation133Please use the following citation if you intend to use our dataset for training or evaluation:134 135```136@misc{cmedbenchmark,137 title={CMB: Chinese Medical Benchmark},138 author={Xidong Wang*, Guiming Hardy Chen*, Dingjie Song*, Zhiyi Zhang*, Qingying Xiao, Xiangbo Wu, Feng Jiang, Jianquan Li, Benyou Wang},139 note={Xidong Wang, Guiming Hardy Chen, Dingjie Song, and Zhiyi Zhang contributed equally to this github repo.},140 year = {2023},141 publisher = {GitHub},142 journal = {GitHub repository},143 howpublished = {\url{https://github.com/FreedomIntelligence/CMB}},144}145```146 147## Acknowledgement 148- We thank [Shenzhen Research Institute of Big Data](http://www.sribd.cn/) for their enormous support for this project.149 150- We thank the following doctors for participating in the human evaluation of CMB-Clin:151 152 - 林士军 (香港中文大学(深圳)附属第二医院)153 - 常河154 - 许晓爽155 