c4

参考:

en

使用以下命令在 TFDS 中加载此数据集:

ds = tfds.load('huggingface:c4/en')
  • 说明
A colossal, cleaned version of Common Crawl's web crawl corpus.

Based on Common Crawl dataset: "https://commoncrawl.org".

This is the processed version of Google's C4 dataset by AllenAI.
  • 许可:无已知许可
  • 版本:0.0.0
  • 拆分
拆分 样本
'train' 364868892
'validation' 364608
  • 特征
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "timestamp": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "url": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

en.noblocklist

使用以下命令在 TFDS 中加载此数据集:

ds = tfds.load('huggingface:c4/en.noblocklist')
  • 说明
A colossal, cleaned version of Common Crawl's web crawl corpus.

Based on Common Crawl dataset: "https://commoncrawl.org".

This is the processed version of Google's C4 dataset by AllenAI.
  • 许可:无已知许可
  • 版本:0.0.0
  • 拆分
拆分 样本
'train' 393391519
'validation' 393226
  • 特征
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "timestamp": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "url": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

realnewslike

使用以下命令在 TFDS 中加载此数据集:

ds = tfds.load('huggingface:c4/realnewslike')
  • 说明
A colossal, cleaned version of Common Crawl's web crawl corpus.

Based on Common Crawl dataset: "https://commoncrawl.org".

This is the processed version of Google's C4 dataset by AllenAI.
  • 许可:无已知许可
  • 版本:0.0.0
  • 拆分
拆分 样本
'train' 13799838
'validation' 13863
  • 特征
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "timestamp": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "url": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

en.noclean

使用以下命令在 TFDS 中加载此数据集:

ds = tfds.load('huggingface:c4/en.noclean')
  • 说明
A colossal, cleaned version of Common Crawl's web crawl corpus.

Based on Common Crawl dataset: "https://commoncrawl.org".

This is the processed version of Google's C4 dataset by AllenAI.
  • 许可:无已知许可
  • 版本:0.0.0
  • 拆分
拆分 样本
'train' 1063805381
'validation' 1065029
  • 特征
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "timestamp": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "url": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}