CaLM Dataset - 多样化的因果评测数据集
收藏资源简介:
CaLM Dataset是上海人工智能实验室、同济大学、上海交通大学、北京大学及商汤科技联合构建的一套全新的评测数据集,旨在使因果推理能力评估有“考题”可循。该数据集包含超过12万条中英文数据,基于四个层级的因果任务设置,涵盖了丰富的因果概念。同时,研究人员还细致地将文本模态划分为日常表达(Natural)、抽象表达(Symbolic)和数学表达(Mathematical)三种子态,以考察模型在不同类型模态下的理解能力。该数据集约90%的内容为全新构建,10%来自于现有公开数据集,既能与已有公开结果进行对比,反映评估的有效性,又能避免训练集数据污染问题。
The CaLM Dataset is a novel evaluation dataset jointly constructed by the Shanghai Artificial Intelligence Laboratory, Tongji University, Shanghai Jiao Tong University, Peking University, and SenseTime. It aims to provide a benchmark for assessing causal reasoning capabilities. The dataset comprises over 120,000 entries in both Chinese and English, based on a four-tiered causal task framework that encompasses a wide range of causal concepts. Additionally, researchers have meticulously categorized the text modalities into three subcategories: Natural (everyday expressions), Symbolic (abstract expressions), and Mathematical (mathematical expressions), to evaluate the model's comprehension across different types of modalities. Approximately 90% of the dataset is newly constructed, while 10% is derived from existing public datasets, allowing for comparison with previously published results to validate the assessment's effectiveness and to prevent contamination of the training data.
数据集概述
数据集名称
Causal Evaluation of Language Models (CaLM)
数据集目的
CaLM是首个全面评估语言模型因果推理能力的基准。它建立了一个包含四个模块的基础分类法:因果目标(评估什么)、适应(如何获取结果)、度量(如何衡量结果)和错误(如何分析不良结果)。
数据集内容
- 模型支持:目前支持18种模型,包括baichuan1_7b, baichuan1_chat_13b, baichuan2_chat_7b等。
- 数据集(因果任务):提供92个数据集,存储在
calm_dataset文件夹中,每个数据集代表一个特定的因果目标,支持英语和中文。 - 提示风格(适应):支持多种提示风格,包括基本、对抗性忽略、零样本ICL等,针对不同语言有不同的命名规则。
- 度量和错误:支持7种度量和5种定量错误,用于评估模型的性能和识别潜在问题。
参与方式
用户可以通过提交模型生成的结果来参与项目,需遵循提交指南。此外,欢迎贡献新模型、提示、数据集和度量。
快速开始
- 安装:通过Git克隆项目并创建Python环境。
- 运行模型和保存结果:下载模型或获取API密钥,配置模型参数,运行
run.py脚本。 - 评估结果:使用
evaluate.py脚本评估模型响应,支持核心度量、错误分析和聚合度量。
可用资源
联系方式
如需进一步信息或合作,请联系causalai@pjlab.org.cn。




