File size: 7,296 Bytes
100eefe
adc02f9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100eefe
68f0d84
100eefe
 
 
 
 
 
 
 
 
 
 
 
 
68f0d84
 
 
 
 
 
 
 
 
 
 
 
 
 
6d4f280
 
 
 
 
 
 
 
 
 
 
 
 
 
880c5c0
 
 
 
 
 
 
 
 
 
 
 
 
 
3005caf
 
 
 
 
 
 
 
 
 
 
 
 
 
a61f5e6
 
 
 
 
 
 
 
 
 
 
 
 
 
f14f0eb
 
 
 
 
 
 
 
 
 
 
 
 
 
f91112a
 
 
 
 
 
 
 
 
 
 
 
 
 
ed842bd
 
 
 
 
 
 
 
 
 
 
 
 
 
0c4844a
 
 
 
 
 
 
 
 
 
 
 
 
 
defcddf
 
 
 
 
 
 
 
 
 
 
 
 
 
0e6a040
 
 
 
 
 
 
 
 
 
 
 
 
 
100eefe
 
 
 
 
68f0d84
 
 
 
6d4f280
 
 
 
880c5c0
 
 
 
3005caf
 
 
 
a61f5e6
 
 
 
f14f0eb
 
 
 
f91112a
 
 
 
ed842bd
 
 
 
0c4844a
 
 
 
defcddf
 
 
 
0e6a040
 
 
 
100eefe
adc02f9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
---
language:
- ar
- de
- en
- es
- fr
- it
- ja
- ko
- pt
- ru
- zh
language_bcp47:
- zh-Hans
- zh-Hant
multilinguality:
- multilingual
task_categories:
- text-generation
- fill-mask
task_ids:
- language-modeling
- masked-language-modeling
dataset_info:
- config_name: ar
  features:
  - name: idx
    dtype: int64
  - name: start_ln
    dtype: int64
  - name: text
    dtype: string
  splits:
  - name: train
    num_bytes: 30345714473
    num_examples: 15039879
  download_size: 15115802825
  dataset_size: 30345714473
- config_name: de
  features:
  - name: idx
    dtype: int64
  - name: start_ln
    dtype: int64
  - name: text
    dtype: string
  splits:
  - name: train
    num_bytes: 72775978455
    num_examples: 69023867
  download_size: 45855033322
  dataset_size: 72775978455
- config_name: en
  features:
  - name: idx
    dtype: int64
  - name: start_ln
    dtype: int64
  - name: text
    dtype: string
  splits:
  - name: train
    num_bytes: 327673321587
    num_examples: 247588106
  download_size: 206842211484
  dataset_size: 327673321587
- config_name: es
  features:
  - name: idx
    dtype: int64
  - name: start_ln
    dtype: int64
  - name: text
    dtype: string
  splits:
  - name: train
    num_bytes: 58353909888
    num_examples: 60542096
  download_size: 36639924361
  dataset_size: 58353909888
- config_name: fr
  features:
  - name: idx
    dtype: int64
  - name: start_ln
    dtype: int64
  - name: text
    dtype: string
  splits:
  - name: train
    num_bytes: 62167991656
    num_examples: 62112712
  download_size: 38687566994
  dataset_size: 62167991656
- config_name: it
  features:
  - name: idx
    dtype: int64
  - name: start_ln
    dtype: int64
  - name: text
    dtype: string
  splits:
  - name: train
    num_bytes: 32862817488
    num_examples: 24674591
  download_size: 20840201122
  dataset_size: 32862817488
- config_name: ja
  features:
  - name: idx
    dtype: int64
  - name: start_ln
    dtype: int64
  - name: text
    dtype: string
  splits:
  - name: train
    num_bytes: 75607021621
    num_examples: 65613665
  download_size: 43271734711
  dataset_size: 75607021621
- config_name: ko
  features:
  - name: idx
    dtype: int64
  - name: start_ln
    dtype: int64
  - name: text
    dtype: string
  splits:
  - name: train
    num_bytes: 58828056524
    num_examples: 35678358
  download_size: 34859494100
  dataset_size: 58828056524
- config_name: pt
  features:
  - name: idx
    dtype: int64
  - name: start_ln
    dtype: int64
  - name: text
    dtype: string
  splits:
  - name: train
    num_bytes: 53502662440
    num_examples: 38999388
  download_size: 33751151154
  dataset_size: 53502662440
- config_name: ru
  features:
  - name: idx
    dtype: int64
  - name: start_ln
    dtype: int64
  - name: text
    dtype: string
  splits:
  - name: train
    num_bytes: 300870542621
    num_examples: 123181529
  download_size: 151288950598
  dataset_size: 300870542621
- config_name: zh-Hans
  features:
  - name: idx
    dtype: int64
  - name: start_ln
    dtype: int64
  - name: text
    dtype: string
  splits:
  - name: train
    num_bytes: 51117335603
    num_examples: 40002855
  download_size: 36115556249
  dataset_size: 51117335603
- config_name: zh-Hant
  features:
  - name: idx
    dtype: int64
  - name: start_ln
    dtype: int64
  - name: text
    dtype: string
  splits:
  - name: train
    num_bytes: 18091739883
    num_examples: 12328227
  download_size: 12884957758
  dataset_size: 18091739883
configs:
- config_name: ar
  data_files:
  - split: train
    path: ar/train-*
- config_name: de
  data_files:
  - split: train
    path: de/train-*
- config_name: en
  data_files:
  - split: train
    path: en/train-*
- config_name: es
  data_files:
  - split: train
    path: es/train-*
- config_name: fr
  data_files:
  - split: train
    path: fr/train-*
- config_name: it
  data_files:
  - split: train
    path: it/train-*
- config_name: ja
  data_files:
  - split: train
    path: ja/train-*
- config_name: ko
  data_files:
  - split: train
    path: ko/train-*
- config_name: pt
  data_files:
  - split: train
    path: pt/train-*
- config_name: ru
  data_files:
  - split: train
    path: ru/train-*
- config_name: zh-Hans
  data_files:
  - split: train
    path: zh-Hans/train-*
- config_name: zh-Hant
  data_files:
  - split: train
    path: zh-Hant/train-*
---

# cc100-documents

This dataset is a restructured version of the [CC-100](https://data.statmt.org/cc-100/) ([statmt/cc100](https://huggingface.co/datasets/statmt/cc100)) dataset.

In the original dataset, each instance corresponds to a single paragraph (or a document boundary).
In this version, the data has been reformed so that each instance corresponds to a single, complete document.

This document-level structure makes it more convenient for processing using the `map()` and `filter()` methods in the Hugging Face Datasets library.

## Languages

The following languages are currently available:

|Language                        |Number of examples|
|:-------------------------------|-----------------:|
|`ar`: Arabic                    |        15,039,879|
|`de`: German                    |        69,023,867|
|`en`: English                   |       247,588,106|
|`es`: Spanish                   |        60,542,096|
|`fr`: French                    |        62,112,712|
|`it`: Italian                   |        24,674,591|
|`ja`: Japanese                  |        65,613,665|
|`ko`: Korean                    |        35,678,358|
|`pt`: Portuguese                |        38,999,388|
|`ru`: Russian                   |       123,181,529|
|`zh-Hans`: Chinese (Simplified) |        40,002,855|
|`zh-Hant`: Chinese (Traditional)|        12,328,227|

## Dataset Structure

### Data Instances

Each instance in the dataset represents one document from the original CC-100 dataset, preserving the original document order. The original paragraphs are concatenated together, preserving the newline characters between them, to form a single document text.

Example from the `en` configuration:

```json
{
  "idx": 0,
  "start_ln": 1,
  "text": "Belmont Estate is on the market for $63 million and boasts roughly 22,000 square feet of luxurious..."
}
{
  "idx": 1,
  "start_ln": 8,
  "text": "Stay well hydrated—that means you should include about 48- 64 ounces of liquid (non-calorie) each day..."
}
```

### Data Fields

- **idx** (*int64*): The index of the instance, starting from `0`.
- **start_ln** (*int64*): The 1-based line number where the document begins in the original CC-100 text file.
- **text** (*string*): The complete text of the document.

## Dataset creation process

The dataset is created from the original CC-100 text files available at https://data.statmt.org/cc-100/.

The code used to create this dataset is available in the [GitHub repository](https://github.com/singletongue/cc100-documents).

## License

No intellectual property is claimed on the preparation of this corpus.
By using this dataset, you are also bound by the [Common Crawl terms of use](https://commoncrawl.org/terms-of-use) in respect of the content contained in the dataset.

Please refer to the following pages for license information on the original dataset:
- https://data.statmt.org/cc-100/
- https://huggingface.co/datasets/statmt/cc100