mithril-dedup-agent

Deduplicate large ML training datasets using MinHash and LSH clustering.

1|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/gar-ai/mallorn --skill mithril-dedup-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mithril-dedup-agent
Source: https://github.com/gar-ai/mallorn/tree/main/.claude/skills/mithril-dedup-agent
Command: npx skills add https://github.com/gar-ai/mallorn --skill mithril-dedup-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Builds mithril-dedup for ML dataset deduplication, enabling scalable MinHash, LSH, clustering, and document I/O tooling to clean large training sets efficiently.

Core Features & Use Cases

  • MinHash signature generation for large text collections
  • Locality-Sensitive Hashing to generate candidate pairs
  • Union-Find clustering to group duplicates
  • JSONL and Parquet I/O support for documents
  • Reference documentation and project status links for progress tracking

Quick Start

Run mithril-dedup on your dataset to identify near-duplicate documents and prepare a deduplicated output.

Frequently Asked Questions about mithril-dedup-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deduplicate large ML training datasets for near-duplicates?

To deduplicate large ML training datasets, this skill uses MinHash and LSH to identify near-duplicate documents and clusters them with Union-Find. It processes large text collections to clean training sets efficiently.

What is the best way to cluster similar documents in ML data cleaning?

Clustering similar documents in ML data cleaning is best handled by generating MinHash signatures, creating candidate pairs with Locality-Sensitive Hashing, and grouping duplicates using Union-Find clustering.

Can I use this dataset deduplication tool with JSONL and Parquet formats?

Yes, you can use this dataset deduplication tool with JSONL and Parquet formats. It provides built-in document I/O support to read and write these specific file formats during the cleaning workflow.

How does MinHash and LSH work for removing near-duplicate text?

MinHash and LSH work for removing near-duplicate text by generating compact signature representations of documents and hashing them into buckets so similar items collide, creating candidate pairs for clustering.

Do I need any external dependencies to run MinHash deduplication on my dataset?

No, you do not need external dependencies to run MinHash deduplication on your dataset. The skill operates independently with its own minhash, lsh, cluster, and io components accessible via a CLI.