English

Cleaner Pretraining Corpus Curation with Neural Web Scraping

Computation and Language 2024-06-18 v3

Abstract

The web contains large-scale, diverse, and abundant information to satisfy the information-seeking needs of humans. Through meticulous data collection, preprocessing, and curation, webpages can be used as a fundamental data resource for language model pretraining. However, when confronted with the progressively revolutionized and intricate nature of webpages, rule-based/feature-based web scrapers are becoming increasingly inadequate. This paper presents a simple, fast, and effective Neural web Scraper (NeuScraper) to help extract primary and clean text contents from webpages. Experimental results show that NeuScraper surpasses the baseline scrapers by achieving more than a 20% improvement, demonstrating its potential in extracting higher-quality data to facilitate the language model pretraining. All of the code is available at https://github.com/OpenMatch/NeuScraper.

Keywords

Cite

@article{arxiv.2402.14652,
  title  = {Cleaner Pretraining Corpus Curation with Neural Web Scraping},
  author = {Zhipeng Xu and Zhenghao Liu and Yukun Yan and Zhiyuan Liu and Ge Yu and Chenyan Xiong},
  journal= {arXiv preprint arXiv:2402.14652},
  year   = {2024}
}
R2 v1 2026-06-28T14:57:17.406Z