Dataset-overlap: check how much of one dataset is already in another, locally or in the browser A benchmark run of the dataset-overlap tool on all 3,500 labelled pairs from the near-duplicate text benchmark reproduced the published exact collection counts for both collections (2,000 and 1,500 records), with is_duplicate scores of 0.9745 for exact Jaccard and 0.9621/0.9629 for the 128-permutation MinHash/LSH path with two salts. At threshold 0.8, the exact B row count was 506/1,500 (33.7%) while the default gave 534 and 516, a gap the author attributes to estimation rather than candidate loss. The author recommends starting with character 5-grams, 128 components and 0.8, prioritizing the band selector, pooled resolution and reporting scope, and warns that a low estimate does not certify a clean eval split. For now, I tried a few different settings using the benchmark you published: I used all 3,500 labelled pairs and both collections 2,000 and 1,500 records in your near-duplicate text benchmark https://huggingface.co/datasets/JimmyParker-Verycore/near-duplicate-text-benchmark . I ran the Python code embedded in the pinned Space source https://huggingface.co/spaces/JimmyParker-Verycore/dataset-overlap/blob/1a065e48c8b6281e5ebca6bee3b22eb68e370a58/index.html in a native Colab CPU runtime, not the browser UI, and reproduced the published exact collection counts. is duplicate was 0.9745 for exact Jaccard and 0.9621/0.9629 for the current 128-permutation MinHash/LSH path with two salts. This supports the default on this English synthetic benchmark. At threshold 0.8 the exact B row count is 506/1,500 33.7% ; the default gives 534 and 516. Both default collection runs agree with exhaustive comparison of the same signatures, so here the discrepancy is estimation rather than candidate loss. This does not hold for every setting. I would retain the surface-overlap focus. A low estimate does not certify a clean eval split; a high pooled score does not measure redundant complete records or model lift. The existing warning about the shared salt and sensitive signatures remains important. I would start with character 5-grams, 128 components and 0.8. If arbitrary permutation counts are supported, restrict them to tested configurations or relax the band selector. I would not adjust the final threshold merely to compensate for a retrieval problem. When both raw datasets are available locally, LSH can generate candidates and exact shingle Jaccard can verify them. Verification removes estimation errors for retrieved pairs, but cannot recover omitted candidates. With signatures only, exhaustive comparison is still approximate relative to the raw text. | Goal | Measurement | |---|---| | Whole-record duplication | Normalized exact and near match | | Partial eval leakage | Substring or directional per-record containment | | New data acquisition | Distinct record difference against existing data | | Shared surface content | Pooled Jaccard/containment with uncertainty | | No raw record exchange | Compatible signatures with stated scope | I would prioritize the band selector, pooled resolution and reporting scope before adding new matching modes.