Datasets:
Upload c4 dataset and README
Browse files- .gitattributes +1 -0
- README.md +49 -0
- c4.json +3 -0
.gitattributes
CHANGED
|
@@ -57,3 +57,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
c4.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: "C4"
|
| 3 |
+
license: "odc-by"
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
tags:
|
| 7 |
+
- news
|
| 8 |
+
- language-modeling
|
| 9 |
+
- summarization
|
| 10 |
+
task_categories:
|
| 11 |
+
- text-generation
|
| 12 |
+
- summarization
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
# C4
|
| 18 |
+
|
| 19 |
+
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.
|
| 20 |
+
|
| 21 |
+
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.
|
| 22 |
+
|
| 23 |
+
## Contents
|
| 24 |
+
|
| 25 |
+
- `c4.json` (or your actual filename): the standard set of cleaned web data with a news-like style.
|
| 26 |
+
|
| 27 |
+
Each entry contains:
|
| 28 |
+
|
| 29 |
+
```
|
| 30 |
+
{
|
| 31 |
+
"prompt": "...",
|
| 32 |
+
"natural_text": "..."
|
| 33 |
+
}
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
## Usage
|
| 37 |
+
|
| 38 |
+
```
|
| 39 |
+
from datasets import load_dataset
|
| 40 |
+
ds = load_dataset("S3IC/c4")
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
## Source
|
| 44 |
+
|
| 45 |
+
This dataset is taken from the public C4 release: https://huggingface.co/datasets/allenai/c4
|
| 46 |
+
|
| 47 |
+
## License
|
| 48 |
+
|
| 49 |
+
C4 is released under the original license provided by the authors. See the LICENSE file for more details.
|
c4.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aff4eb19f3c719bd8cb2f81ac5cd3229f68cabf02191131f2e0e8427aa7b8c00
|
| 3 |
+
size 11304875
|