Explore the research collection
1 entry · Follow this search
- Paper
ReScraper: Unified Scraping and Cleaning of Web Data for Effective LLM Pretraining
Proposes ReScraper, a unified 0.6B-parameter language model that replaces the entire heuristic pretraining-corpus cleaning stack (HTML scraper + dozens of rule-based filters). ReScraper first extracts the main content from raw pages, then chooses among four operations: keep as extracted, edit out noisy lines/spans, delete entirely, or rewrite when poorly written but informative. Trained on supervised data curated from three teacher models. On the same crawled data pool, pretraining 400M, 1.4B, and 2.8B models on the curated data improves DCLM Core score by a relative 3.8-4.7% over the strongest baseline at each scale, including costly multi-agent curation. Each operation plays a distinct, complementary role; one-model extraction+cleaning beats a cascade of separate models; ReScraper concentrates edits on the pages that need them, raising poor-page quality while keeping corpus diversity.