dirkgr commited on
Commit
31d802a
1 Parent(s): 75d87b3

Actually adds a README

Browse files
Files changed (1) hide show
  1. README.md +28 -0
README.md CHANGED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ This is the processed version of [Google's C4 dataset](https://www.tensorflow.org/datasets/catalog/c4).
2
+
3
+ We prepared three variants of the data: `en`, `en.noclean`, and `realnewslike`. There is a fourth one, `webtextlike`, which was not ready as I am writing this, but we are working on it. If you are interested in the `multilingual` version, please get in touch.
4
+
5
+ For reference, these are the sizes of the variants:
6
+
7
+ - `en`: 300GB
8
+ - `en.noclean`: 2.3TB in JSON format
9
+ - `realnewslike`: 15GB in JSON format
10
+
11
+ # How do I download this?
12
+
13
+ Unfortunately we ran out of time making this into a proper Huggingface dataset, accessible through the `datasets` Python package. Until we get that ready, please use git to do the download. First, make sure you have [Git Large File Storage](https://git-lfs.github.com) installed. Once that is done, downloading the whole dataset, all three variants, is easy:
14
+
15
+ ```bash
16
+ git clone https://huggingface.co/datasets/allenai/c4
17
+ ```
18
+
19
+ If you want only one of the variants, you need some more commands:
20
+
21
+ ```bash
22
+ git clone -n https://huggingface.co/datasets/allenai/c4
23
+ cd c4
24
+ git sparse-checkout init --cone
25
+ git sparse-checkout set en
26
+ ```
27
+
28
+ You can use `git sparse-checkout set` multiple times to select multiple datasets.