{"id":13526179,"url":"https://github.com/Felixgithub2017/MMCU","last_synced_at":"2025-04-01T06:31:28.683Z","repository":{"id":155771345,"uuid":"631500022","full_name":"Felixgithub2017/MMCU","owner":"Felixgithub2017","description":"MEASURING MASSIVE MULTITASK CHINESE UNDERSTANDING","archived":false,"fork":false,"pushed_at":"2024-03-24T07:02:28.000Z","size":311,"stargazers_count":85,"open_issues_count":10,"forks_count":12,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-02T06:19:36.155Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Felixgithub2017.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-04-23T08:00:25.000Z","updated_at":"2024-06-17T06:47:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd8582fc-c76a-4548-9027-54cf69125263","html_url":"https://github.com/Felixgithub2017/MMCU","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Felixgithub2017%2FMMCU","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Felixgithub2017%2FMMCU/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Felixgithub2017%2FMMCU/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Felixgithub2017%2FMMCU/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Felixgithub2017","download_url":"https://codeload.github.com/Felixgithub2017/MMCU/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222703737,"owners_count":17025838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T06:01:26.142Z","updated_at":"2024-11-02T10:31:41.945Z","avatar_url":"https://github.com/Felixgithub2017.png","language":"Python","readme":"# MMCU\n\nThis is the code repository for paper Measuring Massive Multitask Chinese Understanding [https://arxiv.org/abs/2304.12986](https://arxiv.org/ftp/arxiv/papers/2304/2304.12986.pdf)\n\nPlease download the dataset at https://huggingface.co/datasets/Besteasy/MMCU, \u003cbr\u003e\nor send us an email to apply for free dataset download: order@besteasy.com \u003cbr\u003e\nYou may need to clarify your identity (Professor, College Students, NLP researcher/engineer, etc.)\u003cbr\u003e\nFor academic exchanges, please contact me at felix.zeng@besteasy.com\n\n## 重要声明\n\n数据集获取方式：直接在 https://huggingface.co/datasets/Besteasy/MMCU 下载文件。\u003cbr\u003e\n也可以发邮件至 order@besteasy.com 申请，注明身份及预期用途即可。\u003cbr\u003e\n本评测只是对大模型语义理解能力的测试，并不能代表模型的全面能力评测，评测结果仅供参考。整个评测方式、评测数据集、评测记录都公开，确保可以复现。\u003cbr\u003e\n本测试集免费提供给大家是为了帮助各位研究者们评测自己的模型性能，并验证训练策略是否有效，并不是为了给出排行榜，中文大模型的改进任重道远，希望大家以正确的方式充分利用此数据集。\u003cbr\u003e\n\n## Updates\n### 2023.8.11\u003cbr\u003e\n中文大模型生成能力自动化评测基准CG-Eval发布（MMCU的姊妹篇，MMCU评测理解能力，CG-Eval评测生成能力），详见论文Evaluating the Generation Capabilities of Large Chinese Language Models https://arxiv.org/abs/2308.04823\u003cbr\u003e\nCG-Eval测试数据集下载地址 https://huggingface.co/datasets/Besteasy/CG-Eval\u003cbr\u003e\nCG-Eval自动化评测地址 http://cgeval.besteasy.com/\u003cbr\u003e\n\n### 2023.5.15\u003cbr\u003e\n2023.5.13至2023.5.15之间对所有模型进行了重新评测，结果均上传至 test_results 文件夹，公开可见。\u003cbr\u003e\n\n### 2023.5.13\u003cbr\u003e\n2023.5.13之前拿到数据集的研究者需要手动添加以下问题的答案\u003cbr\u003e\n心理学 306 题  缺失答案 答案应为  B\u003cbr\u003e\n随年龄增长，个体的快速眼动睡眠量怎么变化？\tA.越来越多\tB.越来越少\tC.呈 U 型变化\tD.呈倒 U 型变化\u003cbr\u003e\n\n传染病学 126 题  缺失答案  答案应为A\u003cbr\u003e \n新生儿预防乙型肝炎的最好措施是：\tA.出生24小时内立即接种基因重组乙型肝炎疫苗\tB.出生立即注射乙肝免疫球蛋白\tC.尽早注射丙种球蛋白\tD.注射人血清和胎盘球蛋白\u003cbr\u003e    \n\n传染病学 155 题 缺失答案 答案应为C\u003cbr\u003e\n孕妇于妊娠早期患重型病毒性肝炎，正确的处理应是：\tA.积极治疗重型肝炎，病情不见好转行人工流产术\tB.立即行人工流产术\tC.治疗肝炎，待病情好转行人工流产术\tD.治疗肝炎同时行人工流产术\u003cbr\u003e \n\n### 2023.5.12\u003cbr\u003e\n1.修正模型预测答案匹配方法，更好地抽取多选题预测答案\u003cbr\u003e\n2.将某些题目正确答案中的特殊字符 ＡＢＣＤ 修正为正常字符 A B C D\u003cbr\u003e\n3.评测结果文件更加直观，采用以下形式记录，第一列为模型预测答案，第二列为标准答案，第三列记录是否答对\u003cbr\u003e\nABD|||ABCD|||False\u003cbr\u003e\nC|||BD|||False\u003cbr\u003e\nACD|||ABD|||False\u003cbr\u003e\nBCD|||BCD|||True\u003cbr\u003e\n\n## 评测结果（所有模型为2023年5月15日之前的版本）\n### 四大领域平均分数\u003cbr\u003e\n| zero-shot | bloomz_560m | bloomz_1b1 | bloomz_3b | bloomz_7b1_mt | ChatGLM 6B | MOSS 16B | GPT-3.5-turbo |\n|-----------|-------------|------------|-----------|---------------|------------|----------|---------------|\n| 医疗  | 0.298     | 0.213       | 0.374      | 0.364     | 0.338         | 0.234      | 0.512    | \n| 法律  | 0.163     | 0.14        | 0.18       | 0.174     | 0.169         | 0.133      | 0.239    |\n| 心理学| 0.201     | 0.187       | 0.319      | 0.346     | 0.288         | 0.211      | 0.447    |\n| 教育  | 0.247     | 0.275       | 0.315      | 0.316     | 0.333         | 0.253      | 0.455    |\n| 平均  | 0.227   | 0.204     | 0.297      | 0.300       | 0.282         | 0.208    | 0.413  |\n\n### 医疗领域分数\u003cbr\u003e\n| zero-shot | bloomz_560m | bloomz_1b1 | bloomz_3b | bloomz_7b1_mt | ChatGLM6B | MOSS 16B | GPT-3.5-turbo |\n|-----------|-------------|------------|-----------|---------------|-----------|----------|---------------|\n| 医学三基  | 0.311     | 0.274       | 0.375      | 0.415     | 0.371         | 0.231     | 0.552    |\n| 药理学   | 0.265     | 0.235       | 0.38       | 0.36      | 0.255         | 0.285     | 0.52     |\n| 护理学   | 0.33      | 0.278       | 0.372      | 0.368     | 0.339         | 0.238     | 0.516    |\n| 病理学   | 0.312     | 0.267       | 0.392      | 0.341     | 0.358         | 0.278     | 0.506    |\n| 临床医学  | 0.347     | 0.198       | 0.426      | 0.554     | 0.455         | 0.317     | 0.693    |\n| 传染病学  | 0.295     | 0.242       | 0.398      | 0.46      | 0.401         | 0.254     | 0.587    |\n| 外科学    | 0.365     | 0.251       | 0.397      | 0.374     | 0.361         | 0.279     | 0.525    |\n| 解剖学   | 0.182     | 0.136       | 0.227      | 0.227     | 0.273         | 0.136     | 0.5      |\n| 医学影像学 | 0.45      | 0.05        | 0.6        | 0.45      | 0.35          | 0.25      | 0.55     |\n| 寄生虫学  | 0.33      | 0.24        | 0.39       | 0.25      | 0.33          | 0.18      | 0.43     |\n| 免疫学   | 0.282     | 0.147       | 0.331      | 0.344     | 0.319         | 0.178     | 0.515    |\n| 儿科学   | 0.39      | 0.258       | 0.385      | 0.38      | 0.399         | 0.263     | 0.54     |\n| 皮肤性病学 | 0.255     | 0.255       | 0.392      | 0.51      | 0.471         | 0.275     | 0.627    |\n| 组织胚胎学 | 0.058     | 0.13      | 0.208       | 0.188      | 0.149         | 0.143     | 0.364    |\n| 药物分析学 | 0.292     | 0.236      | 0.333       | 0.236      | 0.236         | 0.208     | 0.25    |\n| 医疗平均分 | 0.298     | 0.213      | 0.374       | 0.364      | 0.338         | 0.234     | 0.512    |\n\n### 教育领域分数\u003cbr\u003e\n| zero-shot | bloomz_560m | bloomz_1b1 | bloomz_3b | bloomz_7b1_mt | ChatGLM6B | MOSS 16B | GPT-3.5-turbo |\n|-----------|-------------|------------|-----------|---------------|-----------|----------|---------------|\n| 语文  | 0.233     | 0.283       | 0.248      | 0.205     | 0.256         | 0.233     | 0.31     |\n| 数学  | 0.251     | 0.257       | 0.281      | 0.325     | 0.307         | 0.257     | 0.427    |\n| 物理  | 0.173     | 0.208       | 0.185      | 0.202     | 0.256         | 0.208     | 0.327    |\n| 化学  | 0.28      | 0.34        | 0.28       | 0.14      | 0.3           | 0.28      | 0.44     |\n| 政治  | 0.239     | 0.255       | 0.329      | 0.401     | 0.329         | 0.268     | 0.545    |\n| 历史  | 0.279     | 0.296       | 0.421      | 0.432     | 0.448         | 0.245     | 0.513    |\n| 地理  | 0.255     | 0.271       | 0.336      | 0.411     | 0.346         | 0.284     | 0.478    |\n| 生物  | 0.262     | 0.287       | 0.443      | 0.414     | 0.422         | 0.245     | 0.599    |\n| 平均  | 0.247    | 0.275    | 0.315   | 0.316   | 0.333         | 0.253    | 0.455 |\n\n## Usage\n\n--ntrain 0: do not provide examples\u003cbr\u003e\n--ntrain 5: provide five examples\u003cbr\u003e\n\nzero-shot test for chatgpt\n```python\npython TestChatGPT.py \\\n --ntrain 0  \\\n --data_dir MMCU_dataset_path  \\\n --save_dir path_for_test_results\n```\n\nfew-shot test for chatgpt\n```python\npython TestChatGPT.py \\\n --ntrain 5  \\\n --data_dir MMCU_dataset_path  \\\n --save_dir path_for_test_results\n```\n\nzero-shot test for bloomz\n```python\npython TestBloomz.py \\\n --ntrain 0  \\\n --data_dir MMCU_dataset_path  \\\n --save_dir path_for_test_results\n ```\n \nfew-shot test for bloomz\n```python\npython TestBloomz.py \\\n --ntrain 5  \\\n --data_dir MMCU_dataset_path  \\\n --save_dir path_for_test_results\n ```\n\nzero-shot test for chatglm\n```python\npython TestChatGLM.py \\\n --ntrain 0  \\\n --data_dir MMCU_dataset_path  \\\n --save_dir path_for_test_results\n ```\n\nfew-shot test for chatglm\n```python\npython TestChatGLM.py \\\n --ntrain 5  \\\n --data_dir MMCU_dataset_path  \\\n --save_dir path_for_test_results\n ```\n\nzero-shot test for MOSS\n```python\npython TestMOSS.py \\\n --ntrain 0  \\\n --data_dir MMCU_dataset_path  \\\n --save_dir path_for_test_results\n ```\n \nfew-shot test for MOSS\n```python\npython TestMOSS.py \\\n --ntrain 5  \\\n --data_dir MMCU_dataset_path  \\\n --save_dir path_for_test_results\n ```\n\n## Citation\nIf you find the code and testset are useful in your research, please consider citing\n```\n@misc{zeng2023measuring,\n      title={Measuring Massive Multitask Chinese Understanding},\n      author={Hui Zeng},\n      year={2023},\n      eprint={2304.12986},\n      archivePrefix={arXiv},\n      primaryClass={cs.CL}\n}\n```\n\n## License\nThe MMCU dataset is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-nc-sa/4.0/).\n\n作者简介：\nLanguageX AI Lab 负责人// 中文大模型评测基准MMCU作者// WMT2022机器翻译通用赛道英中自动评测第一、中译英第三、英译日第三\n","funding_links":[],"categories":["A01_文本生成_文本对话","Datasets-or-Benchmark","Python","📏 评测基准"],"sub_categories":["大语言对话模型及数据","通用","🧩 领域模型"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFelixgithub2017%2FMMCU","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFelixgithub2017%2FMMCU","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFelixgithub2017%2FMMCU/lists"}