DataTrove
Library for processing, filtering, and deduplicating LLM training text at scale, locally or on clusters.
About
FineWeb, Hugging Face's flagship web pretraining dataset, was built with DataTrove, and the library exists to make that class of processing repeatable: platform-agnostic pipeline blocks read WARC, JSONL, CSV, and Parquet, extract text from HTML with Trafilatura, filter by language and quality heuristics, deduplicate with MinHash, exact substring, or sentence level methods, and write results to disk, S3, or the Hugging Face Hub. The same pipeline definition runs on a multi-core local executor, a Slurm executor for HPC clusters, or an experimental Ray executor, with per-task logging, completion tracking, and resumption so multi-day jobs survive node failures. The repository ships the full FineWeb reproduction config, which doubles as the best tutorial for serious use. Everything is Python, Apache 2.0 licensed, installed with optional extras for S3, Ray, deduplication, and multilingual support, and runs on CPU. At 3,200 GitHub stars it is the reference open pipeline for teams building LLM pretraining corpora from web crawl scale sources without writing their own distributed plumbing.
Reviews (0)
Leave a Review
No reviews yet. Be the first to review!
Details
- Category
- Datasets & Training
- Price
- Free
- Platform
- Local/Desktop
- Difficulty
- Intermediate (3/5)
- License
- Apache-2.0
- Added
- Jul 29, 2026
Related Tools
Fine-tune LLMs 2x faster with 80% less memory
Tool for fine-tuning LLMs with various configurations
Open source data labeling platform for ML projects
Library for accessing and sharing ML datasets
Hugging Face library for parameter-efficient fine-tuning
Python library for synthetic data generation and curation pipelines with batch LLM inference.