cx-cmu/ReScraper-Data

Dataset

ReScraper-Data

0

4 commits

1 linked in READMEs

updated Sep 28, 2026

See the code

README

ReScraper-Data

Data released with ReScraper, a 0.6B refiner that replaces the heuristic HTML-to-text stack of a pretraining data pipeline with a single small language model.

All four subsets come from the same source pool: the 10% raw-HTML sample of the DCLM pool (dclm-pool-400m-1x-html-jsonl-step3a-10pct), 18,025,558 pages over 10,319 shards.

Contents

Subsets

PathRowsSizeWhat it is
data/ReScraper-Corpus/10,056,10512.4 GBThe curated pretraining corpus: model output after the post-filter and Bloom-filter deduplication. 7.44B GPT-NeoX-20B tokens.
data/ReScraper-Pool-Output/10,646,23613.3 GBThe refiner's raw output over the whole pool, before deduplication. Use this to study the model's behaviour page by page.
data/ReScraper-SFT-Stage1/1,383,1153.9 GBStage 1 training set: extraction plus the operation decision.
data/ReScraper-SFT-Stage2/131,4840.4 GBStage 2 training set, which upweights <rewrite> so the model learns that operation.

Files are Parquet, split into roughly 1 GB parts named <subset>-en-part-XXXX-of-YYYY.parquet.

Schema

Corpus and pool output

FieldTypeMeaning
textstringthe cleaned page
operationstringthe operation the model chose: <keep>, <edit> or <rewrite> (deleted pages are not materialized)
bff_contained_ngram_count_before_dedupeintdeduplication bookkeeping (corpus only)

SFT sets

FieldTypeMeaning
inputstringthe rendered page, one block per line with <lid:n> line ids
outputstringthe target program: an <extract> block of line removals followed by the operation tag

Loading

from datasets import load_dataset

corpus = load_dataset("cx-cmu/ReScraper-Data", data_dir="data/ReScraper-Corpus", split="train")
sft    = load_dataset("cx-cmu/ReScraper-Data", data_dir="data/ReScraper-SFT-Stage1", split="train")

To reproduce pretraining, tokenize the corpus with the GPT-NeoX-20B tokenizer; the code repository has the tokenization and pretraining scripts.

License

Apache 2.0. The underlying pages come from Common Crawl via the DCLM pool and keep their original terms.

data-curation
pretraining-data
web-scraping

cx-cmu/ReScraper-Data

Dataset

ReScraper-Data

0

4 commits

1 linked in READMEs

updated Sep 28, 2026

See the code

README

ReScraper-Data

Data released with ReScraper, a 0.6B refiner that replaces the heuristic HTML-to-text stack of a pretraining data pipeline with a single small language model.

All four subsets come from the same source pool: the 10% raw-HTML sample of the DCLM pool (dclm-pool-400m-1x-html-jsonl-step3a-10pct), 18,025,558 pages over 10,319 shards.

Contents

Subsets

PathRowsSizeWhat it is
data/ReScraper-Corpus/10,056,10512.4 GBThe curated pretraining corpus: model output after the post-filter and Bloom-filter deduplication. 7.44B GPT-NeoX-20B tokens.
data/ReScraper-Pool-Output/10,646,23613.3 GBThe refiner's raw output over the whole pool, before deduplication. Use this to study the model's behaviour page by page.
data/ReScraper-SFT-Stage1/1,383,1153.9 GBStage 1 training set: extraction plus the operation decision.
data/ReScraper-SFT-Stage2/131,4840.4 GBStage 2 training set, which upweights <rewrite> so the model learns that operation.

Files are Parquet, split into roughly 1 GB parts named <subset>-en-part-XXXX-of-YYYY.parquet.

Schema

Corpus and pool output

FieldTypeMeaning
textstringthe cleaned page
operationstringthe operation the model chose: <keep>, <edit> or <rewrite> (deleted pages are not materialized)
bff_contained_ngram_count_before_dedupeintdeduplication bookkeeping (corpus only)

SFT sets

FieldTypeMeaning
inputstringthe rendered page, one block per line with <lid:n> line ids
outputstringthe target program: an <extract> block of line removals followed by the operation tag

Loading

from datasets import load_dataset

corpus = load_dataset("cx-cmu/ReScraper-Data", data_dir="data/ReScraper-Corpus", split="train")
sft    = load_dataset("cx-cmu/ReScraper-Data", data_dir="data/ReScraper-SFT-Stage1", split="train")

To reproduce pretraining, tokenize the corpus with the GPT-NeoX-20B tokenizer; the code repository has the tokenization and pretraining scripts.

License

Apache 2.0. The underlying pages come from Common Crawl via the DCLM pool and keep their original terms.

data-curation
pretraining-data
web-scraping