Datasets:

File size: 1,162 Bytes
6e6e298
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---

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.