#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.

Releases and problems feed (RSS)

Stars
3.4k
License
Apache-2.0
Last commit
Nov 2026
Last release
Sep 2026
Language
Python
Stars, last 30 weeks+441
26 Apr 2026: 2,996 stars3 May 2026: 3,016 stars10 May 2026: 3,027 stars17 May 2026: 3,044 stars24 May 2026: 3,053 stars31 May 2026: 3,062 stars7 Jun 2026: 3,068 stars14 Jun 2026: 3,074 stars21 Jun 2026: 3,090 stars28 Jun 2026: 3,126 stars5 Jul 2026: 3,138 stars12 Jul 2026: 3,146 stars19 Jul 2026: 3,204 stars26 Jul 2026: 3,222 stars2 Aug 2026: 3,239 stars9 Aug 2026: 3,250 stars16 Aug 2026: 3,277 stars23 Aug 2026: 3,299 stars30 Aug 2026: 3,311 stars6 Sept 2026: 3,322 stars13 Sept 2026: 3,331 stars20 Sept 2026: 3,342 stars27 Sept 2026: 3,359 stars4 Oct 2026: 3,371 stars11 Oct 2026: 3,381 stars18 Oct 2026: 3,395 stars25 Oct 2026: 3,406 stars1 Nov 2026: 3,415 stars8 Nov 2026: 3,422 stars15 Nov 2026: 3,425 stars22 Nov 2026: 3,437 stars

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

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
Also in Data and scraping for AI
RankProjectScore
#42pdfmathtranslateTranslates scientific PDFs while keeping formulas, figures and layout intact Live demo ↗ (opens in a new tab)38.7k stars+839 (+2.2%) in 30 daysAGPL-3.062 out of 100
#43jionlpPython toolkit for Chinese text cleaning, extraction and parsing3.9k starsApache-2.062 out of 100
#45new-term-radarDaily report of new AI model, tool and repo names, with keyword demand2.2k starsMIT62 out of 100
#46indraCPU-only OCR model that converts PDFs and images to markdown or JSON Live demo ↗ (opens in a new tab)2k stars+775 (+65%) in 30 daysApache-2.062 out of 100
#47ai-youtube-shorts-generatorCLI that cuts long YouTube videos into ranked vertical shorts6.6k stars+971 (+17%) in 30 daysMIT61 out of 100