DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to use Datatrove: what you can do with it

What is Datatrove? 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.

How do I use it? Install with uv sync; then import from datatrove.pipeline.readers import CSVReader; add SamplerFilter(rate=0.5) between the reader and JsonlWriter. Full steps below.

Trended earlier

View repo on GitHub

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer

3 use cases

Quick start with Datatrove

  1. Check you have what it needs: Python 3.11 or newer; uv for installing; Input text data such as CSV, JSONL or parquet.
  2. Open huggingface/datatrove on GitHub and read the README and license.
  3. Install with uv sync
  4. Import from datatrove.pipeline.readers import CSVReader
  5. Add SamplerFilter(rate=0.5) between the reader and JsonlWriter
  6. Point data_folder and output_folder at your own paths

These steps come from our top use case, Sample a text dataset with a DataTrove pipeline, which also has a copy-paste agent prompt.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for huggingface/datatrove

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Best AI repos for Data and analytics

About this repo

Requirements

  • Python 3.11 or newer
  • uv for installing
  • Input text data such as CSV, JSONL or parquet

Add this badge to your README

Maintain Datatrove? Show readers where to find these use cases. Use cases on Deduped

Markdown

[![Use cases on Deduped](https://dedupedai.com/badge/huggingface/datatrove.svg)](https://dedupedai.com/use-cases/huggingface-datatrove/?utm_source=github&utm_medium=badge&utm_campaign=huggingface-datatrove)

HTML

<a href="https://dedupedai.com/use-cases/huggingface-datatrove/?utm_source=github&amp;utm_medium=badge&amp;utm_campaign=huggingface-datatrove"><img src="https://dedupedai.com/badge/huggingface/datatrove.svg" alt="Use cases on Deduped" height="20"></a>

A static image, no tracking script. About the badge

Questions about Datatrove

What is Datatrove?

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. It is an open-source project on GitHub: https://github.com/huggingface/datatrove.

How do I use Datatrove?

Install with uv sync; then import from datatrove.pipeline.readers import CSVReader; add SamplerFilter(rate=0.5) between the reader and JsonlWriter. The use cases on this page give the full steps and a copy-paste agent prompt for each job.

Who is Datatrove for?

ML engineers who prepare text corpora for LLM training.

What can I do with Datatrove?

3 use cases so far, for example: Sample a text dataset with a DataTrove pipeline; Run a pipeline in parallel on one machine; Install the extras for a full corpus pipeline. Each has steps and a copy-paste agent prompt.

What do I need to run Datatrove?

Python 3.11 or newer; uv for installing; Input text data such as CSV, JSONL or parquet.

What are alternatives to Datatrove?

Other hot AI repos in Data and analytics: Auto Ontology, Marker, Chronos Forecasting, Apify MCP Server, Crawlee Python.

Is Datatrove safe to run?

Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.