Datasets:
Download source-notes/README.md from ks48/url-atlas: direct link, hf CLI and curl.
- Browser
- Download file 18.5 kB
-
https://huggingface.co/datasets/ks48/url-atlas/resolve/main/source-notes/README.md
- Command line
-
hf download hf://datasets/ks48/url-atlas/source-notes/README.md
-
curl -L -o README.md https://huggingface.co/datasets/ks48/url-atlas/resolve/main/source-notes/README.md
Dataset notes
One file per source in ../registry.tsv, describing what the
corpus is, what we pulled, and how it was preprocessed. Numbers are a snapshot
from 2026-08-19; sanity_check.py regenerates them in about a second.
108 sources, 143,948,230,723 URLs, 3.4 TiB on disk, from 7.5 TiB of source data pulled over the wire.
These are pre-dedup counts. Several sources are re-filterings of each other —
every CC-derived corpus shares a backbone — so unique URLs will be far below the
total. Two pairs are outright duplicates: cultura/culturax and
falcon/falcon-refinedweb report identical row counts.
How the pipeline works
Everything is staged by ../fetch_datasets.py:
- Manifest — the file list per source, from the HF API or Common Crawl's
cc-index-table.paths.gz, cached understate/manifests/. - Fetch —
xetfor files ≥1 GB (the HF Xet client hits 359 MB/s on a 24.8 GB file), plain HTTPS below that (Xet's range-GET pool is process-wide and 16 slots deep, which pinned the whole run at ~200 files/min until we bypassed it), orrangefor the one big Wikimedia dump. - Project — DuckDB writes a single
urlcolumn as Parquet V2 + zstd-9, under an explicitmemory_limitper worker. - Delete — the raw file is removed as soon as its URLs are extracted, so ~8 TiB of source becomes ~3.4 TiB kept.
Each unit is recorded in a SQLite database (state/units.db), so a run resumes
where it stopped and verify can re-check every output's Parquet metadata.
Output format
Every non-raw file is a single nullable url column:
| compression | zstd level 9 |
| version | Parquet V2 (PARQUET_VERSION V2) |
| encoding | DELTA_LENGTH_BYTE_ARRAY, no dictionary |
| row group | 1M rows |
| ordering | SIMPLE_SURT_KEY, url |
Asking DuckDB for V2 is what selects delta-length encoding and skips the dictionary — one flag, not three. But the encoding is not where the size goes. Measured on 6.7M real URLs:
| size | |
|---|---|
| V1, unsorted | 146 MB (PLAIN) |
| V2, unsorted | 147 MB |
| V2, ordered | 74 MB |
Delta-length stores lengths, not prefixes, so it only pays once neighbouring URLs resemble each other. Ordering is the whole win; the encoding just makes it cheaper to exploit.
Two formats are on disk. These settings arrived partway through the first
staging run and existing files were deliberately not rewritten, so anything
written before 2026-08-19 is Parquet V1, PLAIN, unsorted, and roughly twice
the size. Both read identically — read_parquet('dir/*.parquet') does not care.
Ordering is the compliant SURT, and it is required
Files are written ORDER BY surt(url), url, where surt() comes from
surt.duckdb_extension — a byte-exact port of internetarchive/surt. The
secondary sort on url matters because surt() is not injective (http/https
and trailing-slash variants collapse to one key), and streaming dedup depends on
identical URLs being adjacent.
The extension is required: fetch_datasets.py refuses to run without it.
An earlier version fell back to a reversed-host SQL approximation that agreed
with the reference on only 69.5% of keys, which is worse than failing — it
silently yields a corpus where some files are ordered one way and others another,
and nothing downstream can detect it. There was never a performance argument for
the approximation either: on 6.7M URLs both produce 74 MB, at 3.19s vs 3.37s.
Modes
| mode | meaning |
|---|---|
url |
keep the source's url column (every nhagar set, the CC index) |
links:COL |
scrape URLs out of a free-text column with a regex |
sublinks |
Reddit submissions: the posted link plus URLs in the self-text |
scan |
scrape URLs from every line of a non-Parquet file (json/csv/txt/gz) |
raw |
keep the source file untouched (Hacker News, the Wikipedia dump) |
URL extraction
The scraping modes share one regex and one cleanup, and the details matter:
- Balanced parentheses are allowed. Excluding
()— the obvious choice, since markdown wraps links in them — truncates/wiki/Mercury_(element)at the(, and the trailing-punctuation trim then eats the leftover_, producing/wiki/Mercury: a different, entirely valid-looking URL. 0.2% of all URLs and 8.4% of Wikipedia URLs contain parens. - HTML entities are decoded before trimming, not after. Trimming first
strips the
;from a trailing&, leaving&welded into the URL. - Trailing sentence punctuation is trimmed (`.,;:!?"*_``), and a closing bracket is removed only when the URL contains no opener.
The Common Crawl index sweep
44 of the 126 published crawls have a columnar index, and all of them are in the
registry as cc-<year>-<week> (CC-MAIN-2026-30 is commoncrawl, and
CC-MAIN-2026-25 arrives as ccrawl-urls). Measured cost is ~2.6 TB over the
wire, ~2.1 TB on disk, ~164 B URLs — twice the first estimate, which had been
extrapolated from one unusually small crawl.
Expected yield after dedup is ~65–75 B unique URLs, and the novelty is concentrated in recent crawls, not old ones: 2014 contributes 19–25% new URLs while 2025 contributes 62–65%, because every derived corpus here was built from historical snapshots and none of them covers 2025.
See common-crawl-sweep.md for the per-era table, the
per-shard economics, and why data.commoncrawl.org throttles this job on
request count rather than bandwidth.
Worth adding
Runner-ups: GDELT (billions of timestamped news URLs, free bulk); Common Crawl
WAT outlinks (the linked URLs, including pages CC never fetched — a different
population, but 20 TB per crawl so it needs sampling); non-English Wikipedia
250M scholarly landing pages with a very regular structure).externallinks (we took only enwiki, ~300 more wikis exist); OpenAlex or
Crossref (
Removed after measurement
A 1/1024 consistent hash sample over the whole corpus (phase0_dedup_measure.py)
showed three pairs were the same data published twice. One of each was deleted,
reclaiming 218.6 GiB with no information lost:
| removed | kept | evidence |
|---|---|---|
cultura (184 GiB) |
culturax |
6,330,657 of 6,330,657 sampled URLs shared |
falcon_urls (25 GiB) |
falcon-refinedweb_urls |
940,620 of 940,620 shared |
c4_urls_en (9 GiB) |
c4_en_urls |
355,445 of 355,445 shared; c4_en_urls has 340 more |
madlad-400-clean was kept despite being 96.3% contained in madlad-400-noisy,
because the remaining 3.7% is real and the audit itself is a quality signal.
What the sample says about the corpus
- 27.4% of the staged corpus is unique — 143.5B URLs collapse to 39.3B.
- 54% of distinct URLs appear in exactly one dataset, so the breadth is real; the duplication is a minority of popular URLs copied across many corpora.
- Some sources duplicate themselves heavily:
fineweb73.7% internal duplication andredpajama-data-v283.2%, both built from 80+ CC snapshots that evidently keep a URL once per snapshot. - A single Common Crawl index crawl is 80.3% exclusive against all 63 other datasets, and two crawls five weeks apart share only 2.3% of their URLs. The crawls are nearly disjoint, which is why the sweep is worth its 2.1 TB.
reddit-submissionsis 96.5% exclusive — Reddit links barely appear in web crawls at all.
Sources considered and rejected
| source | size | why not |
|---|---|---|
nhagar/CC-MAIN-*_urls (96 sets) |
89 GiB | Despite the _urls name, the schema is (crawl, url_host_name, url_count) — per-host counts, not URLs. sanity_check.py --preflight now catches this class of mistake in 16s. |
fddemarco/pushshift-reddit-comments |
272 GiB | Bodies are pre-tokenized and lowercased (http : / / x . com / a); URLs are unrecoverable, and case-sensitive paths are destroyed. |
nhagar/fineweb-edu, dclm-edu, dclm-dedup, zyda-2_*_crossdeduped |
~450 GiB | Filtered subsets of corpora already staged; no URLs of their own. |
pkgforge-security/domains, Eurolingua/hplt3_domains |
1.7 TiB | Bare hostnames with no paths. |
xinyangli/cc-full-image-urls |
7.5 TiB | Gated — needs an access request. Worth revisiting: CC image URLs are a genuinely different distribution. |
Datasets
| dataset | rows | on disk | source | mode |
|---|---|---|---|---|
| fineweb | 24,505,935,751 | 617.8 GiB | nhagar/fineweb_urls |
url |
| hplt2.0-cleaned | 10,558,904,807 | 228.5 GiB | nhagar/hplt2.0_cleaned_urls |
url |
| colossal-oscar-1.0 | 10,332,304,603 | 250.6 GiB | nhagar/colossal-oscar-1.0_urls |
url |
| c4-multilingual | 8,522,562,521 | 244.1 GiB | nhagar/c4_urls_multilingual |
url |
| cultura | 7,184,124,703 | 184.1 GiB | nhagar/cultura_urls |
url |
| culturax | 7,184,124,703 | 182.3 GiB | nhagar/culturax_urls |
url |
| madlad-400-noisy | 6,801,149,222 | 193.8 GiB | nhagar/madlad-400_urls_noisy |
url |
| redpajama-data-v2 | 6,079,335,069 | 149.7 GiB | nhagar/redpajama-data-v2_urls |
url |
| txt360_urls | 5,651,306,105 | 141.6 GiB | nhagar/txt360_urls |
url |
| dolma-v1.5 | 4,921,549,644 | 127.0 GiB | nhagar/dolma_urls_v1.5 |
url |
| hplt-v1.2 | 4,651,480,080 | 60.6 GiB | nhagar/hplt-v1.2_urls |
url |
| fineweb-2 | 4,567,627,672 | 109.8 GiB | nhagar/fineweb-2_urls |
url |
| zyda-2 | 4,506,333,003 | 111.6 GiB | nhagar/zyda-2_urls |
url |
| dolma-v1.6 | 3,731,835,146 | 92.4 GiB | nhagar/dolma_urls_v1.6 |
url |
| madlad-400-clean | 3,507,642,707 | 96.2 GiB | nhagar/madlad-400_urls_clean |
url |
| dclm-baseline-1.0 | 2,949,254,346 | 72.3 GiB | nhagar/dclm-baseline-1.0-parquet_urls |
url |
| olmoe-mix-0924_urls | 2,948,096,911 | 73.5 GiB | nhagar/olmoe-mix-0924_urls |
url |
| reddit-submissions | 2,779,825,510 | 42.1 GiB | open-index/arctic |
sublinks |
| dolma_urls_v1.7 | 2,673,664,597 | 66.7 GiB | nhagar/dolma_urls_v1.7 |
url |
| commoncrawl | 2,149,001,456 | 25.4 GiB | CC-MAIN-2026-30 |
url |
| ccrawl-urls | 2,098,491,742 | 24.8 GiB | open-index/ccrawl-urls |
url |
| redpajama-data-1t_urls | 1,469,452,453 | 37.8 GiB | nhagar/redpajama-data-1t_urls |
url |
| oscar-2301_urls | 1,401,594,726 | 35.2 GiB | nhagar/oscar-2301_urls |
url |
| lucie-training-dataset_urls | 1,281,707,164 | 32.2 GiB | nhagar/lucie-training-dataset_urls |
url |
| oscar-2109_urls | 1,239,027,220 | 31.0 GiB | nhagar/oscar-2109_urls |
url |
| culturay_urls | 1,220,338,131 | 18.2 GiB | nhagar/culturay_urls |
url |
| zyda_urls | 1,174,929,887 | 29.9 GiB | nhagar/zyda_urls |
url |
| oscar-2201_urls | 992,957,761 | 25.8 GiB | nhagar/oscar-2201_urls |
url |
| falcon-refinedweb_urls | 968,000,015 | 25.0 GiB | nhagar/falcon-refinedweb_urls |
url |
| falcon_urls | 968,000,015 | 25.1 GiB | nhagar/falcon_urls |
url |
| onlysports_dataset_urls | 863,989,915 | 22.9 GiB | nhagar/onlysports_dataset_urls |
url |
| glotcc-v1_urls | 684,697,321 | 16.5 GiB | nhagar/glotcc-v1_urls |
url |
| c4_urls_en.noblocklist | 393,391,519 | 10.1 GiB | nhagar/c4_urls_en.noblocklist |
url |
| fineweb2-hq_urls | 380,138,261 | 9.1 GiB | nhagar/fineweb2-hq_urls |
url |
| c4_en_urls | 365,233,500 | 9.4 GiB | nhagar/c4_en_urls |
url |
| c4_urls_en | 364,868,892 | 9.4 GiB | nhagar/c4_urls_en |
url |
| moscar_urls | 303,229,385 | 7.1 GiB | nhagar/moscar_urls |
url |
| reddit-comments | 246,347,408 | 3.7 GiB | open-index/arctic |
links:body |
| c4_urls_en.noclean | 189,396,098 | 5.2 GiB | nhagar/c4_urls_en.noclean |
url |
| mc4-es-sampled_urls | 150,000,000 | 4.2 GiB | nhagar/mc4-es-sampled_urls |
url |
| obelics_urls | 141,047,697 | 4.1 GiB | nhagar/obelics_urls |
url |
| fulg_urls | 114,679,939 | 2.5 GiB | nhagar/fulg_urls |
url |
| clean_mc4_it_urls | 101,631,883 | 2.8 GiB | nhagar/clean_mc4_it_urls |
url |
| varta-urls | 94,607,076 | 2.6 GiB | rahular/varta-urls |
scan |
| reddit-wenknow | 80,696,485 | 1.3 GiB | wenknow/reddit_dataset_888 |
links:text |
| culturax-mini-nonshuffled_urls | 71,841,248 | 1.8 GiB | nhagar/culturax-mini-nonshuffled_urls |
url |
| cc-filtered-urls | 67,479,353 | 454.0 MiB | xinyangli/cc-filtered-urls |
scan |
| mc4_nl_cleaned_urls | 64,545,895 | 1.6 GiB | nhagar/mc4_nl_cleaned_urls |
url |
| hackernews | 49,268,259 | 11.5 GiB | open-index/hacker-news |
raw |
| catalog_urls | 34,314,510 | 601.6 MiB | nhagar/catalog_urls |
url |
| 101_billion_arabic_words_dataset_urls | 33,059,988 | 888.0 MiB | nhagar/101_billion_arabic_words_dataset_urls |
url |
| infimm-webmath-40b_urls | 23,739,397 | 537.5 MiB | nhagar/infimm-webmath-40b_urls |
url |
| finemath_urls_3plus | 21,405,610 | 495.9 MiB | nhagar/finemath_urls_3plus |
url |
| mc4_fi_cleaned_urls | 18,160,122 | 419.1 MiB | nhagar/mc4_fi_cleaned_urls |
url |
| c4_urls_realnewslike | 13,799,838 | 404.6 MiB | nhagar/c4_urls_realnewslike |
url |
| archive-text-urls | 12,395,236 | 113.5 MiB | Navanjana/ARCHIVE-TEXT-URLS |
scan |
| crawlpt_dedup_urls | 10,888,966 | 264.7 MiB | nhagar/crawlpt_dedup_urls |
url |
| finemath_urls_4plus | 6,699,493 | 145.9 MiB | nhagar/finemath_urls_4plus |
url |
| open-web-math_urls | 6,315,233 | 143.6 MiB | nhagar/open-web-math_urls |
url |
| georgian-corpus_urls | 5,333,536 | 132.5 MiB | nhagar/georgian-corpus_urls |
url |
| legal-mc4_urls | 4,934,201 | 107.3 MiB | nhagar/legal-mc4_urls |
url |
| common-crawl-sample_urls | 4,342,326 | 97.7 MiB | nhagar/common-crawl-sample_urls |
url |
| c4-chinese-zhtw_urls | 2,967,556 | 54.3 MiB | nhagar/c4-chinese-zhtw_urls |
url |
| mixturevitae-fineweb-permissive-multilingual-2m_urls | 2,226,907 | 34.9 MiB | nhagar/mixturevitae-fineweb-permissive-multilingual-2m_urls |
url |
| wiki | 0 | 0 B | dumps.wikimedia.org |
raw |
| cc-2014-15 | 0 | 0 B | CC-MAIN-2014-15 |
url |
| cc-2014-23 | 0 | 0 B | CC-MAIN-2014-23 |
url |
| cc-2014-42 | 0 | 0 B | CC-MAIN-2014-42 |
url |
| cc-2015-18 | 0 | 0 B | CC-MAIN-2015-18 |
url |
| cc-2015-35 | 0 | 0 B | CC-MAIN-2015-35 |
url |
| cc-2015-48 | 0 | 0 B | CC-MAIN-2015-48 |
url |
| cc-2016-22 | 0 | 0 B | CC-MAIN-2016-22 |
url |
| cc-2016-26 | 0 | 0 B | CC-MAIN-2016-26 |
url |
| cc-2017-04 | 0 | 0 B | CC-MAIN-2017-04 |
url |
| cc-2017-17 | 0 | 0 B | CC-MAIN-2017-17 |
url |
| cc-2017-22 | 0 | 0 B | CC-MAIN-2017-22 |
url |
| cc-2017-51 | 0 | 0 B | CC-MAIN-2017-51 |
url |
| cc-2018-13 | 0 | 0 B | CC-MAIN-2018-13 |
url |
| cc-2018-26 | 0 | 0 B | CC-MAIN-2018-26 |
url |
| cc-2018-30 | 0 | 0 B | CC-MAIN-2018-30 |
url |
| cc-2018-34 | 0 | 0 B | CC-MAIN-2018-34 |
url |
| cc-2018-43 | 0 | 0 B | CC-MAIN-2018-43 |
url |
| cc-2019-39 | 0 | 0 B | CC-MAIN-2019-39 |
url |
| cc-2020-34 | 0 | 0 B | CC-MAIN-2020-34 |
url |
| cc-2020-45 | 0 | 0 B | CC-MAIN-2020-45 |
url |
| cc-2021-10 | 0 | 0 B | CC-MAIN-2021-10 |
url |
| cc-2021-17 | 0 | 0 B | CC-MAIN-2021-17 |
url |
| cc-2021-21 | 0 | 0 B | CC-MAIN-2021-21 |
url |
| cc-2021-25 | 0 | 0 B | CC-MAIN-2021-25 |
url |
| cc-2022-21 | 0 | 0 B | CC-MAIN-2022-21 |
url |
| cc-2022-27 | 0 | 0 B | CC-MAIN-2022-27 |
url |
| cc-2022-33 | 0 | 0 B | CC-MAIN-2022-33 |
url |
| cc-2022-40 | 0 | 0 B | CC-MAIN-2022-40 |
url |
| cc-2022-49 | 0 | 0 B | CC-MAIN-2022-49 |
url |
| cc-2023-06 | 0 | 0 B | CC-MAIN-2023-06 |
url |
| cc-2023-14 | 0 | 0 B | CC-MAIN-2023-14 |
url |
| cc-2023-40 | 0 | 0 B | CC-MAIN-2023-40 |
url |
| cc-2023-50 | 0 | 0 B | CC-MAIN-2023-50 |
url |
| cc-2024-10 | 0 | 0 B | CC-MAIN-2024-10 |
url |
| cc-2024-18 | 0 | 0 B | CC-MAIN-2024-18 |
url |
| cc-2024-26 | 0 | 0 B | CC-MAIN-2024-26 |
url |
| cc-2024-51 | 0 | 0 B | CC-MAIN-2024-51 |
url |
| cc-2025-05 | 0 | 0 B | CC-MAIN-2025-05 |
url |
| cc-2025-08 | 0 | 0 B | CC-MAIN-2025-08 |
url |
| cc-2025-38 | 0 | 0 B | CC-MAIN-2025-38 |
url |
| cc-2025-43 | 0 | 0 B | CC-MAIN-2025-43 |
url |
| cc-2025-47 | 0 | 0 B | CC-MAIN-2025-47 |
url |
| cc-2026-12 | 0 | 0 B | CC-MAIN-2026-12 |
url |