{
 "schema_version": 1,
 "generated": "2026-11-09",
 "repo": "huggingface/datatrove",
 "name": "datatrove",
 "owner": "huggingface",
 "slug": "huggingface-datatrove",
 "github": "https://github.com/huggingface/datatrove",
 "what": "DataTrove is a library to process, filter and deduplicate text data at a very large scale. It provides prebuilt blocks for reading, extracting, filtering, deduplicating and tokenizing, and the same pipeline runs locally or on a slurm cluster.",
 "why": "3.4k stars, talked about in 2 AI sources we track",
 "language": "Python",
 "requirements": [
  "Python 3.11 or newer",
  "uv for installing",
  "Input text data such as CSV, JSONL or parquet"
 ],
 "audience_note": "ML engineers who prepare text corpora for LLM training.",
 "risk": "none",
 "section": "earlier",
 "weekly_rank": null,
 "category": "Data and analytics",
 "url": "https://dedupedai.com/use-cases/huggingface-datatrove/",
 "use_case_count": 3,
 "use_cases": [
  {
   "id": "huggingface-datatrove--sample-and-rewrite-a-text-dataset-with-datatrove",
   "title": "Sample a text dataset with a DataTrove pipeline",
   "best": true,
   "url": "https://dedupedai.com/use-cases/huggingface-datatrove/sample-and-rewrite-a-text-dataset-with-datatrove/",
   "json": "https://dedupedai.com/use-cases/u/huggingface-datatrove/sample-and-rewrite-a-text-dataset-with-datatrove.json"
  },
  {
   "id": "huggingface-datatrove--run-a-datatrove-pipeline-in-parallel-locally",
   "title": "Run a pipeline in parallel on one machine",
   "best": false,
   "url": "https://dedupedai.com/use-cases/huggingface-datatrove/run-a-datatrove-pipeline-in-parallel-locally/",
   "json": "https://dedupedai.com/use-cases/u/huggingface-datatrove/run-a-datatrove-pipeline-in-parallel-locally.json"
  },
  {
   "id": "huggingface-datatrove--install-datatrove-extras-for-a-full-corpus-pipeline",
   "title": "Install the extras for a full corpus pipeline",
   "best": false,
   "url": "https://dedupedai.com/use-cases/huggingface-datatrove/install-datatrove-extras-for-a-full-corpus-pipeline/",
   "json": "https://dedupedai.com/use-cases/u/huggingface-datatrove/install-datatrove-extras-for-a-full-corpus-pipeline.json"
  }
 ],
 "disclaimer": "Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk."
}
