Renaissance Labs · Code
Tool

datatrove

Hugging Face's platform-agnostic data pipeline library: readers, filters, MinHash dedup, tokenization, and executors for local, Slurm and Ray.

How to use it

Use to build the whole pipeline (language filter, heuristics, MinHash dedup, tokenize) in one framework; FineWeb and Stack v2 recipes were built on it.

Caveats

Pipelines can need large disk and CPU for dedup stages; read Slurm docs before scaling.

Related

  • Apptainer: HPC container runtime that runs without root; needed on clusters like Berzelius where Docker is unavailable....
  • DCLM (DataComp-LM): Framework and baselines for data curation experiments including fastText quality classifier filtering of web...
  • Data-Juicer: One-stop data processing system with 100+ operators for text, code and multimodal data, including code...
  • Docker (Moby): Container runtime standard for SWE task images; shares the host kernel so isolation is weaker than microVMs....
  • Dolma toolkit: Ai2 data toolkit: fast Rust tagger/mixer, Bloom filter dedup and mixing used for OLMo...
  • E2B: Open-source cloud sandboxes for agents (isolation technology not verified...