Who it is forAn engineer who wants to reproduce a deduplication pipeline.
The problemIt is unclear which optional dependencies each pipeline block needs.
The outcomeAn environment with every block installed, ready for the example pipelines.
What you need first
- Python 3.11 or newer
- uv for installing
- Input text data such as CSV, JSONL or parquet
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
Prompt for your agent
In huggingface/datatrove run `uv sync --extra all`, read examples/minhash_deduplication.py and adapt it to deduplicate my text data.
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.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for huggingface/datatrove and "Install the extras for a full corpus pipeline"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer