#12 · Primary category: Data Quality & Cleaning
text-dedup
All-in-one text de-duplication
Project last updated:03/09/26
GitHub Stars
765
Forks
79
Contributors
10
License
Apache-2.0
Why we included this project
Duplicate and near-duplicate text is a quiet problem in training data: it inflates corpus size, wastes compute, and can leak test examples into training. text-dedup bundles the standard deduplication algorithms (MinHash with LSH, SimHash, suffix-array substring matching, and Bloom filters) behind one TOML-driven interface, so you can pick the approach that fits your data without wiring up each library yourself. It reads local parquet files and Hugging Face datasets and writes back a cleaned version, which makes it a practical step in any large-corpus pipeline. The config files keep runs reproducible, and the included benchmarks on CORE and NEWS-COPY give you a concrete read on precision, recall, and runtime before you commit. Teams preparing corpora for LLM pretraining or fine-tuning will find it a solid, self-contained starting point.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
cleanlab
Cleanlab's open-source library is the standard data-centric AI package for data quality and machine learning with messy, real-world data and labels.
DataFlow
Easy Data Preparation with latest LLMs-based Operators and Pipelines.
data-juicer
Data processing for and with foundation models! 🍎 🍋 🌽 ➡️ ➡️🍸 🍹 🍷
qsv
Blazing-fast Data-Wrangling toolkit
MNBVC
MNBVC is a massive Chinese corpus benchmarked against ChatGPT's 40T data, covering mainstream and niche cultures, with diverse text forms including news, essays, novels, and more.