Update README.md
Browse files
README.md
CHANGED
|
@@ -1,4 +1,27 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
dataset_info:
|
| 3 |
- config_name: ar
|
| 4 |
features:
|
|
@@ -218,3 +241,73 @@ configs:
|
|
| 218 |
- split: train
|
| 219 |
path: zh-Hant/train-*
|
| 220 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- ar
|
| 4 |
+
- de
|
| 5 |
+
- en
|
| 6 |
+
- es
|
| 7 |
+
- fr
|
| 8 |
+
- it
|
| 9 |
+
- ja
|
| 10 |
+
- ko
|
| 11 |
+
- pt
|
| 12 |
+
- ru
|
| 13 |
+
- zh
|
| 14 |
+
language_bcp47:
|
| 15 |
+
- zh-Hans
|
| 16 |
+
- zh-Hant
|
| 17 |
+
multilinguality:
|
| 18 |
+
- multilingual
|
| 19 |
+
task_categories:
|
| 20 |
+
- text-generation
|
| 21 |
+
- fill-mask
|
| 22 |
+
task_ids:
|
| 23 |
+
- language-modeling
|
| 24 |
+
- masked-language-modeling
|
| 25 |
dataset_info:
|
| 26 |
- config_name: ar
|
| 27 |
features:
|
|
|
|
| 241 |
- split: train
|
| 242 |
path: zh-Hant/train-*
|
| 243 |
---
|
| 244 |
+
|
| 245 |
+
# cc100-documents
|
| 246 |
+
|
| 247 |
+
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.
|
| 248 |
+
|
| 249 |
+
In the original dataset, each instance corresponds to a single paragraph (or a document boundary).
|
| 250 |
+
In this version, the data has been reformed so that each instance corresponds to a single, complete document.
|
| 251 |
+
|
| 252 |
+
This document-level structure makes it more convenient for processing using the `map()` and `filter()` methods in the Hugging Face Datasets library.
|
| 253 |
+
|
| 254 |
+
## Languages
|
| 255 |
+
|
| 256 |
+
The following languages are currently available:
|
| 257 |
+
|
| 258 |
+
|Language |Number of examples|
|
| 259 |
+
|:-------------------------------|-----------------:|
|
| 260 |
+
|`ar`: Arabic | 15,039,879|
|
| 261 |
+
|`de`: German | 69,023,867|
|
| 262 |
+
|`en`: English | 247,588,106|
|
| 263 |
+
|`es`: Spanish | 60,542,096|
|
| 264 |
+
|`fr`: French | 62,112,712|
|
| 265 |
+
|`it`: Italian | 24,674,591|
|
| 266 |
+
|`ja`: Japanese | 65,613,665|
|
| 267 |
+
|`ko`: Korean | 35,678,358|
|
| 268 |
+
|`pt`: Portuguese | 38,999,388|
|
| 269 |
+
|`ru`: Russian | 123,181,529|
|
| 270 |
+
|`zh-Hans`: Chinese (Simplified) | 40,002,855|
|
| 271 |
+
|`zh-Hant`: Chinese (Traditional)| 12,328,227|
|
| 272 |
+
|
| 273 |
+
## Dataset Structure
|
| 274 |
+
|
| 275 |
+
### Data Instances
|
| 276 |
+
|
| 277 |
+
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.
|
| 278 |
+
|
| 279 |
+
Example from the `en` configuration:
|
| 280 |
+
|
| 281 |
+
```json
|
| 282 |
+
{
|
| 283 |
+
"idx": 0,
|
| 284 |
+
"start_ln": 1,
|
| 285 |
+
"text": "Belmont Estate is on the market for $63 million and boasts roughly 22,000 square feet of luxurious..."
|
| 286 |
+
}
|
| 287 |
+
{
|
| 288 |
+
"idx": 1,
|
| 289 |
+
"start_ln": 8,
|
| 290 |
+
"text": "Stay well hydrated—that means you should include about 48- 64 ounces of liquid (non-calorie) each day..."
|
| 291 |
+
}
|
| 292 |
+
```
|
| 293 |
+
|
| 294 |
+
### Data Fields
|
| 295 |
+
|
| 296 |
+
- **idx** (*int64*): The index of the instance, starting from `0`.
|
| 297 |
+
- **start_ln** (*int64*): The 1-based line number where the document begins in the original CC-100 text file.
|
| 298 |
+
- **text** (*string*): The complete text of the document.
|
| 299 |
+
|
| 300 |
+
## Dataset creation process
|
| 301 |
+
|
| 302 |
+
The dataset is created from the original CC-100 text files available at https://data.statmt.org/cc-100/.
|
| 303 |
+
|
| 304 |
+
The code used to create this dataset is available in the [GitHub repository](https://github.com/singletongue/cc100-documents).
|
| 305 |
+
|
| 306 |
+
## License
|
| 307 |
+
|
| 308 |
+
No intellectual property is claimed on the preparation of this corpus.
|
| 309 |
+
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.
|
| 310 |
+
|
| 311 |
+
Please refer to the following pages for license information on the original dataset:
|
| 312 |
+
- https://data.statmt.org/cc-100/
|
| 313 |
+
- https://huggingface.co/datasets/statmt/cc100
|