tamnd commited on
Commit
a200bcb
·
verified ·
1 Parent(s): 29bc277

Publish Common Crawl shards 1-10

Browse files
README.md CHANGED
@@ -114,35 +114,29 @@ The following is an example row from the dataset:
114
  "url": "https://example.com/article/interesting-topic",
115
  "host": "example.com",
116
  "crawl_date": "2026-02-06T18:14:58Z",
117
- "warc_type": "conversion",
118
  "warc_record_id": "<urn:uuid:a1b2c3d4-e5f6-7890-abcd-ef1234567890>",
119
  "warc_refers_to": "<urn:uuid:f9e8d7c6-b5a4-3210-fedc-ba0987654321>",
120
- "content_type": "text/markdown",
121
  "html_length": 48210,
122
  "markdown_length": 3847,
123
  "warc_headers_json": "{\"Content-Length\": \"3847\", ...}",
124
- "markdown": "# Interesting Topic\n\nThis is the main content of the page...",
125
- "source_warc_file": "00000.md.warc.gz",
126
- "source_file_index": 0
127
  }
128
  ```
129
 
130
  ### Data Fields
131
 
132
- - `doc_id` (string): unique identifier derived from the WARC-Record-ID (UUID format)
133
- - `url` (string): original URL of the crawled page
134
- - `host` (string): lowercase hostname extracted from the URL
135
- - `crawl_date` (string): RFC 3339 timestamp from the WARC record
136
- - `warc_type` (string): WARC record type, typically "conversion" for markdown output
137
- - `warc_record_id` (string): full WARC-Record-ID in the urn:uuid format
138
- - `warc_refers_to` (string): WARC-Record-ID of the original HTTP response record this was converted from
139
- - `content_type` (string): content type of the converted record (text/markdown)
140
- - `html_length` (int64): byte length of the original HTML body before conversion
141
- - `markdown_length` (int64): byte length of the converted markdown body
142
- - `warc_headers_json` (string): all WARC headers serialized as a JSON object with sorted keys, preserving every header from the packed record for full provenance
143
- - `markdown` (string): the cleaned markdown content extracted from the HTML page
144
- - `source_warc_file` (string): filename of the packed .md.warc.gz shard this record came from
145
- - `source_file_index` (int32): zero-based index of the source file in the crawl manifest
146
 
147
  ### Data Splits
148
 
@@ -170,6 +164,21 @@ The processing pipeline runs in five stages:
170
 
171
  Empty conversions (pages where trafilatura could not extract meaningful content) are dropped.
172
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
173
  ### Personal and Sensitive Information
174
 
175
  No additional PII filtering is applied beyond what Common Crawl provides. As the dataset is sourced from the public web, it is likely that some personally identifiable information is present. If you find your own PII in the dataset and would like it removed, please open an issue on the repository.
 
114
  "url": "https://example.com/article/interesting-topic",
115
  "host": "example.com",
116
  "crawl_date": "2026-02-06T18:14:58Z",
 
117
  "warc_record_id": "<urn:uuid:a1b2c3d4-e5f6-7890-abcd-ef1234567890>",
118
  "warc_refers_to": "<urn:uuid:f9e8d7c6-b5a4-3210-fedc-ba0987654321>",
 
119
  "html_length": 48210,
120
  "markdown_length": 3847,
121
  "warc_headers_json": "{\"Content-Length\": \"3847\", ...}",
122
+ "markdown": "# Interesting Topic\n\nThis is the main content of the page..."
 
 
123
  }
124
  ```
125
 
126
  ### Data Fields
127
 
128
+ | Column | Type | Description |
129
+ |---|---|---|
130
+ | `doc_id` | string | Unique identifier derived from the WARC-Record-ID (UUID) |
131
+ | `url` | string | Original URL of the crawled page |
132
+ | `host` | string | Lowercase hostname extracted from the URL |
133
+ | `crawl_date` | string | RFC 3339 timestamp from the WARC record |
134
+ | `warc_record_id` | string | Full WARC-Record-ID of the conversion record (`<urn:uuid:...>`) |
135
+ | `warc_refers_to` | string | WARC-Record-ID of the original HTTP response this was converted from |
136
+ | `html_length` | int64 | Byte length of the original HTML body before conversion |
137
+ | `markdown_length` | int64 | Byte length of the converted markdown body |
138
+ | `warc_headers_json` | string | All WARC headers as a sorted-key JSON object full provenance in one column |
139
+ | `markdown` | string | Clean markdown content extracted from the page |
 
 
140
 
141
  ### Data Splits
142
 
 
164
 
165
  Empty conversions (pages where trafilatura could not extract meaningful content) are dropped.
166
 
167
+ ### Compression Ratios
168
+
169
+ The pipeline achieves aggressive size reduction at every stage. Numbers below are measured from shard `00000` of CC-MAIN-2026-08 (~21,000 pages), and projected to the full crawl.
170
+
171
+ | Stage | Per shard | Projected (100,000 shards) | Reduction |
172
+ |---|---|---|---|
173
+ | Raw WARC (.warc.gz, downloaded) | ~830 MB | ~83 TB | — |
174
+ | HTML extracted (uncompressed) | 2.7 GB | ~270 TB | — |
175
+ | Packed markdown WARC (.md.warc.gz) | 36.3 MB | ~3.6 TB | **-97.8%** vs raw WARC |
176
+ | Final Parquet (ZSTD level 19) | 27.9 MB | ~2.8 TB | **-23%** vs packed WARC |
177
+
178
+ The big win happens in the HTML → Markdown conversion step: trafilatura strips all HTML tags, inline scripts, stylesheets, navigation elements, footers, and ads, keeping only the main content. This cuts the uncompressed text from 2.7 GB to 79 MB per shard — a **97.2% reduction** — before any file-level compression is applied.
179
+
180
+ Parquet with Zstd level 19 then adds another 23% on top of the already-compressed WARC gzip. End to end, one raw WARC shard of ~830 MB becomes a 27.9 MB Parquet file containing ~21,000 clean markdown documents.
181
+
182
  ### Personal and Sensitive Information
183
 
184
  No additional PII filtering is applied beyond what Common Crawl provides. As the dataset is sourced from the public web, it is likely that some personally identifiable information is present. If you find your own PII in the dataset and would like it removed, please open an issue on the repository.
data/CC-MAIN-2026-08/00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7b717a230eedd6c004f4565ac9adc8b5fc04394e1cfe22008f5cb4e85bf3c9e7
3
- size 33362668
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ae201f96ddf4cee2cedb9d6b5c887382ac7fd05fdee54879686fec3fc00000f
3
+ size 29324414
data/CC-MAIN-2026-08/00002.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:52aa5a343c8732ea127e6981059117e95fd5f2a60a120fddbd4b5b33dc0ea783
3
- size 32633177
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11fbf29a03d84ef731f605d659144264d7d109455e8dbc43678912dbad39d53d
3
+ size 28624679
data/CC-MAIN-2026-08/00003.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:976a46be69e2284516f8ad36aff603239459ab6e210c08f4ffcfec94d4e85073
3
- size 32942347
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:373bbdd8e6553dc3ce46e7921b89382ba7544bbe490533f4b843b47a6175a4ba
3
+ size 28852889
data/CC-MAIN-2026-08/00004.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9649fbf2058dfc7941fc8f3223b2b778ff3a5dd739e2d472a277cfcc5da4deb4
3
- size 33063146
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f8f02a0c92cccf2b670a59fade22d449e689fba98dfd827c4407b25ed8ff48b
3
+ size 28811454
data/CC-MAIN-2026-08/00005.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f1c5d8017f4a3b36dedba5ccad6b7caadbec2a55a32a54b54e266d7ca7a14f1a
3
- size 32470816
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1d73c9f908894823babe8f41edcf355daa7ae4323331079516d2617c6d729ab
3
+ size 28359001
data/CC-MAIN-2026-08/00006.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d4cca7eb08090ca45ea26df2354a14669181591d9b914b44a64c0a543e295a2f
3
- size 32685648
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb76cef5e7079cfd915b05d4ad29f6b6c3d1c108e7ff23a53b9162a915212088
3
+ size 28536135
data/CC-MAIN-2026-08/00007.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d3d77ef16289f10d94aae835a01e382887bee88deead50ff725754ad50a159da
3
- size 28898706
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b640b0639f5abc400fdb170d35267ddadeb0e484d94eaea6d951c291542e78c
3
+ size 28897356
data/CC-MAIN-2026-08/00008.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2e29dd3651cad678d94993b95548a632c62c9d4311cbb03ed3e2fa0b5fca483e
3
- size 28587787
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:653e6f0cdd864aadd7360406b6ed3d456cda92f15d90befbce64e26a3dbc1f56
3
+ size 28586435
data/CC-MAIN-2026-08/00009.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:10d8e7a44abb3f3df322078e060add5c14478ed789daa5fd546a2d452ba57bd8
3
- size 28062349
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d04132391a4fc3a2000d66175abd4030522f35a380e9547fd4cdff479e7f9dbc
3
+ size 28060998
data/CC-MAIN-2026-08/00010.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d224f702dbb15a02c7429c99882a57835c29cbd21cb477b75d5a2af3c0f6300b
3
+ size 28836695