#4444th of 93 in Data and scraping for AI
datatrove
Python library for filtering and deduplicating large text datasets
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 3.4k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Sep 2026
- Language
- Python
2,996 on 26 Apr 20263,437 on 22 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
DataTrove is a Python library for building pipelines that read, extract, filter, deduplicate, tokenize and write text data at LLM-training scale. Pipelines are lists of blocks operating on a Document (text, id, metadata) and run unchanged on a local machine, Slurm, Ray, or the experimental Hugging Face Jobs executor. Task completion markers let you relaunch a failed job and rerun only unfinished tasks.
Who it is for: ML engineers preparing large text corpora for LLM training
Strengths
- Same pipeline runs on local multiprocessing, Slurm, or Ray without code changes
- Resumable jobs: completion markers mean relaunch only reruns failed tasks
- Prebuilt readers, extractors, filters, minhash and sentence dedup; FineWeb reproduction included
- fsspec paths cover local disk, S3 and Hugging Face Hub datasets and buckets
Weaknesses
- Each input file goes to one task; large single files are not split
- Changing task count when relaunching breaks input sharding
- Hugging Face Jobs executor is experimental and may be removed
- ExactSubstr dedup depends on Google's separate deduplicate-text-datasets repo
What it needs
- GPU optional
- Needs Slurm (optional), Ray (optional), fsspec, S3 (optional)
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Reported, then fixed by a linked change
- JsonlWriter failed when trying to write Timestamp object ↗ (opens in a new tab)0 reactions · closed 28 Sept 2026Fixed by Fix JsonlWriter crash on pandas.Timestamp metadata ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Data and scraping for AI
See all 93| Rank | Project | Score |
|---|---|---|
| #42 | pdfmathtranslateTranslates scientific PDFs while keeping formulas, figures and layout intact | 62 out of 100 |
| #43 | jionlpPython toolkit for Chinese text cleaning, extraction and parsing | 62 out of 100 |
| #45 | new-term-radarDaily report of new AI model, tool and repo names, with keyword demand | 62 out of 100 |
| #46 | indraCPU-only OCR model that converts PDFs and images to markdown or JSON | 62 out of 100 |
| #47 | ai-youtube-shorts-generatorCLI that cuts long YouTube videos into ranked vertical shorts | 61 out of 100 |