cc-2020-filtered
收藏资源简介:
该数据集包含文本生成任务中原始响应与最终响应的对比数据,旨在量化分析文本编辑或修订过程中的内容偏差。数据集由275,221个训练样本构成,每个样本包含原始文本、结构化提示信息(含多轮对话历史、示例及元数据)、初始响应和最终响应。核心特征是一系列精确的偏差度量指标:在行、单词和字符三个粒度上计算原始响应与最终响应之间的差异比例和绝对数量,并提供了子集关系判断(松散子集与严格子集)。统计摘要显示,平均约20-31%的内容在修订过程中发生变更,且约80%的样本中最终响应是原始响应的子集。该数据集适用于研究文本生成的一致性、编辑距离建模、响应优化评估以及内容保留能力分析等任务。
This dataset contains comparative data between original responses and final responses in text generation tasks, aiming to quantify content bias during text editing or revision processes. It consists of 275,221 training samples, each including original text, structured prompt information (with multi-turn dialogue history, examples, and metadata), initial response, and final response. The core features are a series of precise bias metrics: calculating the proportion and absolute count of differences between original and final responses at three granularities (line, word, and character), and providing subset relationship judgments (loose subset and strict subset). Statistical summaries indicate that approximately 20-31% of content changes on average during revision, and in about 80% of samples, the final response is a subset of the original response. This dataset is suitable for tasks such as studying text generation consistency, modeling edit distance, evaluating response optimization, and analyzing content retention capabilities.
数据集概述:cc-2020-filtered
该数据集名为 cc-2020-filtered,由用户 G-reen 在 Hugging Face 上发布,旨在为自然语言处理任务提供清理和过滤后的文本数据。
数据集配置与大小
- 配置:仅包含
default配置,数据文件存储于data/train-*路径下。 - 划分:仅有
train一个划分。 - 数据规模:
- 训练样本数:275,221 条。
- 数据集总大小:约 6.53 GB(6,529,607,542 字节)。
- 下载大小:约 5.00 GB(5,002,390,056 字节)。
特征字段
数据集包含以下字段,用于记录原始文本、处理后的回答以及两者之间的差异分析:
| 字段名称 | 数据类型 | 描述 |
|---|---|---|
original |
字符串 | 原始文本内容。 |
prompt |
结构体 | 包含多轮对话、是否多轮、示例及元数据(如提示类型)。 |
response_0 |
字符串 | 第一个回答。 |
final_response |
字符串 | 最终回答。 |
deviated_lines_proportion_original_final_response |
浮点数 | 原始与最终回答之间偏离行数的比例。 |
deviated_lines_original_final_response |
整数 | 原始与最终回答之间偏离的行数。 |
deviated_words_proportion_original_final_response |
浮点数 | 原始与最终回答之间偏离词数的比例。 |
deviated_words_original_final_response |
整数 | 原始与最终回答之间偏离的词数。 |
deviated_characters_proportion_original_final_response |
浮点数 | 原始与最终回答之间偏离字符数的比例。 |
deviated_characters_original_final_response |
整数 | 原始与最终回答之间偏离的字符数。 |
is_loose_subset_original_final_response |
布尔值 | 原始回答是否为最终回答的宽松子集。 |
collected_subset_original_final_response |
字符串 | 收集到的子集信息。 |
is_strict_subset_original_final_response |
布尔值 | 原始回答是否为最终回答的严格子集。 |
deviated_lines_proportion_original_final_response_quantile |
浮点数 | 偏离行数比例的分位数。 |
deviated_words_proportion_original_final_response_quantile |
浮点数 | 偏离词数比例的分位数。 |
deviated_characters_proportion_original_final_response_quantile |
浮点数 | 偏离字符数比例的分位数。 |
关键统计摘要
以下统计量基于所有样本计算,反映了原始回答与最终回答之间的差异程度:
- 子集关系:
- 约 80.92% 的样本中,原始回答是最终回答的宽松子集。
- 约 80.25% 的样本中,原始回答是最终回答的严格子集。
- 偏离比例(平均值):
- 行数比例:31.43%。
- 词数比例:21.80%。
- 字符数比例:22.15%。
- 偏离绝对数值(平均值):
- 行数:14.45 行。
- 词数:207.15 个词。
- 字符数:1,293.70 个字符。
(注:数据集页面提供了各偏离指标及比例的直方图,可直观查看分布情况,但无法在此呈现。)




