Notes

RefinedWeb

For years the received wisdom was that web text alone could not train a good language model — you had to blend in books, Wikipedia and other curated sources to balance out the junk. RefinedWeb was built to test that claim, and largely overturned it.

Filtering taken seriously

Built at the Technology Innovation Institute for the Falcon models, RefinedWeb comes from Common Crawl and nothing else, passed through a pipeline whose whole character is severity:

  • Extraction of article text straight from the raw crawl archives, discarding navigation, boilerplate and markup.
  • URL filtering against blocklists, removing adult and spam domains before a single page is read.
  • Quality heuristics on line length, repetition and symbol ratios, catching pages that are technically prose and worth nothing.
  • Deduplication at scale: exact matches removed, then fuzzy near-duplicates via MinHash, which strips out the copy-paste layer of the web.
The result, and why it mattered

Around five trillion tokens were produced, of which a 600-billion-token extract was published under a permissive licence on Hugging Face. Models trained on it matched models trained on the curated mixtures of the day. The lesson that propagated was that cleaning beats curating: later corpora such as FineWeb are essentially this argument pushed further, with sharper filters and public ablations.

RefinedWeb is a pretraining corpus built by the Technology Innovation Institute for the Falcon models, derived from Common Crawl alone through strict text extraction, URL and quality filtering, and aggressive near-duplicate removal. Roughly five trillion tokens were produced and a 600-billion-token extract released publicly. It mattered because models trained on it matched those trained on curated mixtures of books and reference text, showing that stringently cleaned web data suffices.

The open web is a messy place to learn from: menus, adverts, spam, and the same article copied a thousand times over. The assumption used to be that an AI system also needed carefully chosen material — books, encyclopaedias — to balance the mess out. RefinedWeb tested that assumption. It is a vast collection of web text put through an unusually strict clean-up: strip away the page furniture, throw out junk and adult sites, and remove near-duplicates ruthlessly. Models fed the result did just as well as models fed the carefully curated mix. Cleaning, it turned out, mattered more than curating.