Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -4,7 +4,7 @@ task_categories:
|
|
| 4 |
- text-generation
|
| 5 |
task_ids:
|
| 6 |
- language-modeling
|
| 7 |
-
pretty_name: ©️ Common Crawl Creative Commons
|
| 8 |
language:
|
| 9 |
- afr
|
| 10 |
- deu
|
|
@@ -187,9 +187,11 @@ configs:
|
|
| 187 |
data_files: data/CC-MAIN-2025-05/nld/*.parquet
|
| 188 |
---
|
| 189 |
|
|
|
|
|
|
|
| 190 |
> **Raw CommonCrawl crawls, annotated with Creative Commons license information**
|
| 191 |
|
| 192 |
-
|
| 193 |
|
| 194 |
The licensing information is extracted from the web pages based on whether they link to Creative Commons licenses either overtly in `a` tags (like in the footer of Wikipedia) or in metadata fields indicating deliberate Creative Commons publication. **However, false positives may occur! See Recommendations and Caveats below!** Also see [Personal and Sensitive Information](#personal-and-sensitive-information).
|
| 195 |
|
|
@@ -218,40 +220,6 @@ ds = load_dataset("BramVanroy/CommonCrawl-CreativeCommons", "nld", streaming=Tru
|
|
| 218 |
ds = load_dataset("BramVanroy/CommonCrawl-CreativeCommons", "CC-MAIN-2019-30-nld")
|
| 219 |
```
|
| 220 |
|
| 221 |
-
## Fields
|
| 222 |
-
|
| 223 |
-
In some cases, multiple licenses are found on a single page. All licenses are collected in `potential_licenses`. From these, the "best guess" is selected
|
| 224 |
-
based on three criteria:
|
| 225 |
-
|
| 226 |
-
1. location_preference_order: meta_tag, json-ld, link_tag, a_tag
|
| 227 |
-
2. head_preference_order: True, False
|
| 228 |
-
3. footer_preference_order: True, False
|
| 229 |
-
|
| 230 |
-
Based on these criteria, the "best guessed" license is picked as the one in the `license_*` columns. Potential disagreement between multiple licenses is given in `license_disagreement`.
|
| 231 |
-
|
| 232 |
-
- text: the extracted text (unmodified)
|
| 233 |
-
- id: WARC-Record-ID
|
| 234 |
-
- dump: Common Crawl crawl
|
| 235 |
-
- url: original url for document
|
| 236 |
-
- date: crawl date
|
| 237 |
-
- file_path: file path on the S3 bucket
|
| 238 |
-
- license_abbr: the license type. Possible values: "cc-unknown" (recommended to filter this one out), "by", "by-sa", "by-nd", "by-nc", "by-nc-sa", "by-nc-nd", "zero", "certification", "mark". If multiple licenses were found (`potential_licenses`)
|
| 239 |
-
- license_version: the license version, e.g. "4.0"
|
| 240 |
-
- license_location: the location where the license was found. Possible values: "meta_tag", "json-ld", "link_tag", "a_tag"
|
| 241 |
-
- license_in_head: whether the license was found inside a `head` HTML element
|
| 242 |
-
- license_in_footer: whether the license was found inside a `footer` HTML element, or an HTML element that had `footer` in the ID or class name
|
| 243 |
-
- potential_licenses:
|
| 244 |
-
- abbr: list of all found license abbreviations
|
| 245 |
-
- version: list of all found license versions
|
| 246 |
-
- location: list of all found license locations
|
| 247 |
-
- in_head: list of whether licenses were found in the head
|
| 248 |
-
- in_footer: list of whether licenses were found in a footer
|
| 249 |
-
- license_parse_error: whether there was a problem when trying to extract the license, e.g. an unparseable HTML document
|
| 250 |
-
- license_disagreement: whether the `potential_licenses["abbr"]` disagree, i.e., different types of licenses were found. License *versions* are not included in the comparison!
|
| 251 |
-
- language: the language, as detected by glotlid
|
| 252 |
-
- language_score: the language identification confidence score
|
| 253 |
-
- found_in_fw: whether this sample was found in FineWeb(-2). For non-English, crawls that are more recent than FW2 (everything after 2024-18) is marked as None. For English, crawls that are more recent than FW v1.3 is marked as None (after 2024-51).
|
| 254 |
-
|
| 255 |
## Progress
|
| 256 |
|
| 257 |
In the `v1` release, the following crawls are included
|
|
@@ -295,6 +263,39 @@ Detailed number of tokens (Llama 3.3 tokenizer) and number of documents are give
|
|
| 295 |
| spa | 22,226,944 | 22,515,709,432 |
|
| 296 |
| **Total** | **147,733,367** | **149,009,957,209** |
|
| 297 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 298 |
|
| 299 |
## Recommendations and Caveats
|
| 300 |
|
|
@@ -328,7 +329,7 @@ ds = ds.filter(
|
|
| 328 |
|
| 329 |
## Personal and Sensitive Information
|
| 330 |
|
| 331 |
-
|
| 332 |
|
| 333 |
Take-down notices on other Common Crawl-based datasets such as FineWeb are considered. Domains specified and verified in those take-down notices are not included in this dataset.
|
| 334 |
|
|
@@ -336,6 +337,21 @@ In this dataset, measures are taken to anonymise email addresses and public IP a
|
|
| 336 |
|
| 337 |
## Citation
|
| 338 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 339 |
```bibtex
|
| 340 |
@software{Vanroy_CommonCrawl-CreativeCommons_2025,
|
| 341 |
author = {Vanroy, Bram},
|
|
|
|
| 4 |
- text-generation
|
| 5 |
task_ids:
|
| 6 |
- language-modeling
|
| 7 |
+
pretty_name: ©️ Common Crawl Creative Commons Corpus (C5)
|
| 8 |
language:
|
| 9 |
- afr
|
| 10 |
- deu
|
|
|
|
| 187 |
data_files: data/CC-MAIN-2025-05/nld/*.parquet
|
| 188 |
---
|
| 189 |
|
| 190 |
+
# The Creative Commons Common Crawl Corpus (C5)
|
| 191 |
+
|
| 192 |
> **Raw CommonCrawl crawls, annotated with Creative Commons license information**
|
| 193 |
|
| 194 |
+
C5 is an effort to collect Creative Commons-licensed web data in one place.
|
| 195 |
|
| 196 |
The licensing information is extracted from the web pages based on whether they link to Creative Commons licenses either overtly in `a` tags (like in the footer of Wikipedia) or in metadata fields indicating deliberate Creative Commons publication. **However, false positives may occur! See Recommendations and Caveats below!** Also see [Personal and Sensitive Information](#personal-and-sensitive-information).
|
| 197 |
|
|
|
|
| 220 |
ds = load_dataset("BramVanroy/CommonCrawl-CreativeCommons", "CC-MAIN-2019-30-nld")
|
| 221 |
```
|
| 222 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 223 |
## Progress
|
| 224 |
|
| 225 |
In the `v1` release, the following crawls are included
|
|
|
|
| 263 |
| spa | 22,226,944 | 22,515,709,432 |
|
| 264 |
| **Total** | **147,733,367** | **149,009,957,209** |
|
| 265 |
|
| 266 |
+
## Fields
|
| 267 |
+
|
| 268 |
+
In some cases, multiple licenses are found on a single page. All licenses are collected in `potential_licenses`. From these, the "best guess" is selected
|
| 269 |
+
based on three criteria:
|
| 270 |
+
|
| 271 |
+
1. location_preference_order: meta_tag, json-ld, link_tag, a_tag
|
| 272 |
+
2. head_preference_order: True, False
|
| 273 |
+
3. footer_preference_order: True, False
|
| 274 |
+
|
| 275 |
+
Based on these criteria, the "best guessed" license is picked as the one in the `license_*` columns. Potential disagreement between multiple licenses is given in `license_disagreement`.
|
| 276 |
+
|
| 277 |
+
- text: the extracted text (unmodified)
|
| 278 |
+
- id: WARC-Record-ID
|
| 279 |
+
- dump: Common Crawl crawl
|
| 280 |
+
- url: original url for document
|
| 281 |
+
- date: crawl date
|
| 282 |
+
- file_path: file path on the S3 bucket
|
| 283 |
+
- license_abbr: the license type. Possible values: "cc-unknown" (recommended to filter this one out), "by", "by-sa", "by-nd", "by-nc", "by-nc-sa", "by-nc-nd", "zero", "certification", "mark". If multiple licenses were found (`potential_licenses`)
|
| 284 |
+
- license_version: the license version, e.g. "4.0"
|
| 285 |
+
- license_location: the location where the license was found. Possible values: "meta_tag", "json-ld", "link_tag", "a_tag"
|
| 286 |
+
- license_in_head: whether the license was found inside a `head` HTML element
|
| 287 |
+
- license_in_footer: whether the license was found inside a `footer` HTML element, or an HTML element that had `footer` in the ID or class name
|
| 288 |
+
- potential_licenses:
|
| 289 |
+
- abbr: list of all found license abbreviations
|
| 290 |
+
- version: list of all found license versions
|
| 291 |
+
- location: list of all found license locations
|
| 292 |
+
- in_head: list of whether licenses were found in the head
|
| 293 |
+
- in_footer: list of whether licenses were found in a footer
|
| 294 |
+
- license_parse_error: whether there was a problem when trying to extract the license, e.g. an unparseable HTML document
|
| 295 |
+
- license_disagreement: whether the `potential_licenses["abbr"]` disagree, i.e., different types of licenses were found. License *versions* are not included in the comparison!
|
| 296 |
+
- language: the language, as detected by glotlid
|
| 297 |
+
- language_score: the language identification confidence score
|
| 298 |
+
- found_in_fw: whether this sample was found in FineWeb(-2). For non-English, crawls that are more recent than FW2 (everything after 2024-18) is marked as None. For English, crawls that are more recent than FW v1.3 is marked as None (after 2024-51).
|
| 299 |
|
| 300 |
## Recommendations and Caveats
|
| 301 |
|
|
|
|
| 329 |
|
| 330 |
## Personal and Sensitive Information
|
| 331 |
|
| 332 |
+
C5 is a heavily filtered version of the Common Crawl dataset. CommonCrawl respects robots.txt and will not include websites if their robots.txt say so. Even so, if you find that your website was included you can submit a [removal request](https://docs.google.com/forms/d/e/1FAIpQLSddAIuUui5xnAzBqft6MnzPYihr-AaS-Nj8x01Y6AM8NQ0YLQ/viewform?usp=sharing) indicating that you are the owner of the website.
|
| 333 |
|
| 334 |
Take-down notices on other Common Crawl-based datasets such as FineWeb are considered. Domains specified and verified in those take-down notices are not included in this dataset.
|
| 335 |
|
|
|
|
| 337 |
|
| 338 |
## Citation
|
| 339 |
|
| 340 |
+
In the current absence of a publication, please cite the dataset as follows. Including a footnote url to this page is also appreciated!
|
| 341 |
+
|
| 342 |
+
```bibtex
|
| 343 |
+
@misc{vanroy2025C5,
|
| 344 |
+
author = { Bram Vanroy },
|
| 345 |
+
title = { CommonCrawl CreativeCommons Corpus (C5) },
|
| 346 |
+
year = 2025,
|
| 347 |
+
url = { https://huggingface.co/datasets/BramVanroy/CommonCrawl-CreativeCommons },
|
| 348 |
+
doi = { 10.57967/hf/5340 },
|
| 349 |
+
publisher = { Hugging Face }
|
| 350 |
+
}
|
| 351 |
+
```
|
| 352 |
+
|
| 353 |
+
If you use or modify [the software](https://github.com/BramVanroy/CommonCrawl-CreativeCommons), please cite:
|
| 354 |
+
|
| 355 |
```bibtex
|
| 356 |
@software{Vanroy_CommonCrawl-CreativeCommons_2025,
|
| 357 |
author = {Vanroy, Bram},
|