Team Ai
Datasetpublic

uv-scripts/deduplication

Semantic Deduplication UV Script Part of uv-scripts — self-contained UV scripts you run locally or on Hugging Face Jobs in one command. Remove duplicate / near-duplicate text samples from a Hugging Face dataset by semantic similarity — clean training data and prevent train/test leakage. Uses SemHash with Model2Vec embeddings: CPU-optimized, no GPU required. Quick start # CPU is enough — run on Hugging Face Jobs hf jobs uv run --flavor cpu-upgrade --secrets… See the full description on the dataset page: https://huggingface.co/datasets/uv-scripts/deduplication.

sourceHugging Faceupdated 4mo agoView on Hugging Face
3likes24downloads

uv-scripts/deduplication · main · files are served by the source, never re-hosted here