azhx/counterfact
收藏资源简介:
--- dataset_info: features: - name: case_id dtype: int64 - name: pararel_idx dtype: int64 - name: requested_rewrite struct: - name: prompt dtype: string - name: relation_id dtype: string - name: subject dtype: string - name: target_new struct: - name: id dtype: string - name: str dtype: string - name: target_true struct: - name: id dtype: string - name: str dtype: string - name: paraphrase_prompts sequence: string - name: neighborhood_prompts sequence: string - name: attribute_prompts sequence: string - name: generation_prompts sequence: string splits: - name: train num_bytes: 29388723 num_examples: 19728 - name: test num_bytes: 3268668 num_examples: 2191 download_size: 12387190 dataset_size: 32657391 --- # Dataset Card for "counterfact" Dataset from [ROME](https://rome.baulab.info/) by Meng et al. [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
--- 数据集信息: 特征列表: - 字段名:案例ID(case_id),数据类型(dtype):64位整数(int64) - 字段名:并行索引(pararel_idx),数据类型(dtype):64位整数(int64) - 字段名:请求改写(requested_rewrite),类型:结构体(struct),包含子字段: - 字段名:提示(prompt),数据类型(dtype):字符串(string) - 字段名:关系ID(relation_id),数据类型(dtype):字符串(string) - 字段名:主体(subject),数据类型(dtype):字符串(string) - 字段名:新目标(target_new),类型:结构体(struct),包含子字段: - 字段名:id(id),数据类型(dtype):字符串(string) - 字段名:str(str),数据类型(dtype):字符串(string) - 字段名:真实目标(target_true),类型:结构体(struct),包含子字段: - 字段名:id(id),数据类型(dtype):字符串(string) - 字段名:str(str),数据类型(dtype):字符串(string) - 字段名:释义提示(paraphrase_prompts),类型:字符串序列(sequence) - 字段名:邻域提示(neighborhood_prompts),类型:字符串序列(sequence) - 字段名:属性提示(attribute_prompts),类型:字符串序列(sequence) - 字段名:生成提示(generation_prompts),类型:字符串序列(sequence) 数据集划分: - 划分集名称:训练集(train),字节数:29388723,样本数:19728 - 划分集名称:测试集(test),字节数:3268668,样本数:2191 下载大小:12387190 数据集总大小:32657391 --- # "反事实"(counterfact)数据集卡片 本数据集源自Meng等人的[ROME](https://rome.baulab.info/)研究。 [需补充更多信息](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
数据集概述
数据集特征
- case_id: 整数类型
- pararel_idx: 整数类型
- requested_rewrite: 结构类型,包含以下子特征:
- prompt: 字符串类型
- relation_id: 字符串类型
- subject: 字符串类型
- target_new: 结构类型,包含以下子特征:
- id: 字符串类型
- str: 字符串类型
- target_true: 结构类型,包含以下子特征:
- id: 字符串类型
- str: 字符串类型
- paraphrase_prompts: 序列,字符串类型
- neighborhood_prompts: 序列,字符串类型
- attribute_prompts: 序列,字符串类型
- generation_prompts: 序列,字符串类型
数据集分割
- 训练集:
- 数据量: 29388723 字节
- 示例数量: 19728
- 测试集:
- 数据量: 3268668 字节
- 示例数量: 2191
数据集大小
- 下载大小: 12387190 字节
- 数据集总大小: 32657391 字节




