{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "huggingface-datatrove--install-datatrove-extras-for-a-full-corpus-pipeline",
 "repo": "huggingface/datatrove",
 "repo_url": "https://github.com/huggingface/datatrove",
 "repo_slug": "huggingface-datatrove",
 "title": "Install the extras for a full corpus pipeline",
 "page_title": "How to install the extras for a full corpus pipeline with Datatrove",
 "summary": "Pick the dependency flavours you need and start from the minhash deduplication example.",
 "who": "An engineer who wants to reproduce a deduplication pipeline.",
 "problem": "It is unclear which optional dependencies each pipeline block needs.",
 "outcome": "An environment with every block installed, ready for the example pipelines.",
 "steps": [
  "Clone the repo and run `uv sync --extra all`",
  "Or combine flavours such as `uv sync --extra processing --extra s3`",
  "Open `examples/minhash_deduplication.py`",
  "Adapt the input and output paths to your data and run it"
 ],
 "agent_prompt": "In huggingface/datatrove run `uv sync --extra all`, read examples/minhash_deduplication.py and adapt it to deduplicate my text data.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "This card is written from the huggingface/datatrove README, not from a test run by Deduped. Before you start, make sure you have Python 3.11 or newer. Check the repo for newer instructions before you rely on these steps.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.11 or newer",
  "uv for installing",
  "Input text data such as CSV, JSONL or parquet"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/huggingface-datatrove/install-datatrove-extras-for-a-full-corpus-pipeline/",
 "md": "https://dedupedai.com/use-cases/huggingface-datatrove/install-datatrove-extras-for-a-full-corpus-pipeline/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/huggingface-datatrove--install-datatrove-extras-for-a-full-corpus-pipeline.json",
 "api_version": "v1"
}
