cc-2021-stat
收藏资源简介:
这是一个自动生成的FastDetector数据集,用于检测机器生成文本。数据集包含多个分片(shard_0至shard_6),每个分片包含约3300-3400个训练样本,总样本约23,700个。每个样本包含原始文本(original)、提示信息(prompt,包括多轮对话、是否使用多轮、示例和元数据)、两个候选响应(response_0, response_1)、最终选定的响应(final_response)、生成响应所使用的模型(generator_model)及其生成参数(generation_params)。此外,样本中还提供了丰富的文本相似度指标和机器生成文本检测指标,包括:Jaccard相似度、Levenshtein距离、n-gram软相似度、余弦距离、BERTScore(精确率、召回率、F1)、MoverScore、重排序器分数、基于RoBERTa-large的编辑距离桶和分数、基于LLaMA指令模型和基础模型的困惑度、熵、top-p异常值、top-k异常值、FastDetectGPT分数,以及Binoculars分数。该数据集适用于训练和评估AI生成文本检测器、文本相似度分析、以及生成模型对比研究。
This is an automatically generated FastDetector dataset for machine-generated text detection. The dataset comprises multiple shards (shard_0 to shard_6), with each shard containing approximately 3,300 to 3,400 training samples, resulting in a total of around 23,700 samples. Each sample contains the original text (original), prompt information (the prompt field includes multi-turn dialogues, whether multi-turn interaction is utilized, examples and metadata), two candidate responses (response_0, response_1), the final selected response (final_response), the model employed for response generation (generator_model) and its corresponding generation parameters (generation_params). Furthermore, the sample provides a comprehensive set of text similarity metrics and machine-generated text detection metrics, including: Jaccard similarity, Levenshtein distance, n-gram soft similarity, cosine distance, BERTScore (precision, recall, F1), MoverScore, re-ranker score, RoBERTa-large-based edit distance buckets and scores, perplexity and entropy calculated using the LLaMA instruction-tuned model and base LLaMA model, top-p outliers, top-k outliers, FastDetectGPT score, and Binoculars score. This dataset is applicable for training and evaluating AI-generated text detectors, conducting text similarity analysis, and performing comparative studies on generative models.
数据集概述:G-reen/cc-2021-stat
数据集基本信息
- 数据集名称:
G-reen/cc-2021-stat - 数据集类型: Auto-Generated FastDetector Dataset(自动生成的FastDetector检测数据集)
- 关联配置文件:
config/globals.toml和config/analysis.toml
数据组织与规模
该数据集包含 7 个分片(shard),每个分片为一个独立的配置(config_name),每个分片均包含一个 train 分割。数据规模如下:
| 分片 | 样本数 | 数据集大小 | 下载大小 |
|---|---|---|---|
| shard_0 | 3,395 | 35,615,546 字节 | 20,761,327 字节 |
| shard_1 | 3,378 | 38,929,535 字节 | 21,741,495 字节 |
| shard_2 | 3,410 | 41,532,150 字节 | 23,447,357 字节 |
| shard_3 | 3,358 | 39,080,718 字节 | 22,987,320 字节 |
| shard_4 | 3,371 | 40,970,441 字节 | 25,093,989 字节 |
| shard_5 | 3,373 | 44,952,609 字节 | 28,924,292 字节 |
| shard_6 | 3,431 | 34,996,260 字节 | 20,891,789 字节 |
总计样本数: 约 23,716 条
数据字段说明
每个样本包含以下核心字段:
文本内容字段
- original: 原始文本(字符串)
- prompt: 提示信息(结构体),包含
chat_turns(对话轮次列表)、use_multiturn(是否多轮,布尔值)、examples(示例,空值列表)和metadata(元数据,含PROMPT_TYPE提示类型) - response_0 / response_1: 两个候选响应(字符串)
- final_response: 最终响应(字符串)
生成信息字段
- generator_model: 生成模型名称
- generation_params: 生成参数
文本相似度指标字段(均为 float64 类型)
- jaccard_1 / jaccard_2: Jaccard 相似度
- levenshtein: 莱文斯坦距离
- softngram: 软 n-gram 相似度
- cosdist: 余弦距离
- bertscore_precision / bertscore_recall / bertscore: BERTScore 指标
- moverscore: MoverScore 指标
- reranker: 重排序分数
编辑距离检测指标(基于 RoBERTa-large)
- original_editlens_bucket_roberta_large / original_editlens_score_roberta_large: 原始文本编辑长度相关指标
- final_response_editlens_bucket_roberta_large / final_response_editlens_score_roberta_large: 最终响应编辑长度相关指标
基于 LLaMA 的检测指标
针对 original 和 final_response 分别计算,涵盖 LLaMA-Instruct 和 LLaMA-Base 两种模型:
- perplexity: 困惑度
- entropy: 熵
- topp_outlier: Top-p 离群值
- topk_outlier: Top-k 离群值
- fastdetectgpt: FastDetectGPT 分数
其他检测指标
- original_binoculars / final_response_binoculars: Binoculars 检测分数
数据用途
该数据集为自动生成的 FastDetector 检测数据集,主要用于训练和评估 AI 生成文本检测模型,涵盖多种文本相似度指标和多模型检测分数,适用于文本生成检测相关的研究与实验场景。




