Datasets:

c4 / README.md
kalikako's picture
Upload c4 dataset and README
6e6e298 verified
metadata
pretty_name: C4
license: odc-by
language:
  - en
tags:
  - news
  - language-modeling
  - summarization
task_categories:
  - text-generation
  - summarization

C4

This repository hosts a copy of the widely used C4 dataset, a variant of the Colossal Clean Crawled Corpus designed for training and evaluating Large Language Models (LLMs) on news-like text.

C4 consists of cleaned web data from Common Crawl, specifically curated to contain more news-style content. This dataset is commonly used in language modeling tasks, text generation, and research focused on news and article-like content.

Contents

  • c4.json (or your actual filename): the standard set of cleaned web data with a news-like style.

Each entry contains:

{
  "prompt": "...", 
  "natural_text": "..."
}

Usage

from datasets import load_dataset
ds = load_dataset("S3IC/c4")

Source

This dataset is taken from the public C4 release: https://huggingface.co/datasets/allenai/c4

License

C4 is released under the original license provided by the authors. See the LICENSE file for more details.