Skip to content

Release v1.6.3: Benchmark Contamination Filter; Lower-Memory Processing; Export & Operator Fixes

Latest

Choose a tag to compare

@cmgzn cmgzn released this 24 Nov 08:39
· 1 commit to main since this release
b5fb99b

Major Updates

๐Ÿ“Š Stats: 51 PRs merged, from 11 PR authors

๐Ÿ“ˆ Code diff: 92 files changed, with 3,414 insertions and 433 deletions

๐Ÿงช Benchmark contamination detection โ€” Check training data against evaluation corpora with the new benchmark contamination filter. #1184

๐Ÿงฎ Lower-memory processing โ€” Reduce intermediate memory in selectors, MinHash, and word counting. Sampling, PII scans, macro expansion, and table matching avoid repeated work. #1145 #1146 #1147 #1148 #1151 #1153 #1154 #1170 #1171 #1180 #1188 #1189 #1191 #1198

๐Ÿ“ Consistent LLM extraction output โ€” Honor drop_text=True across nested fields, batches, and exports while preserving generated metadata and sibling fields. #1105 #1205

New OPs

  • benchmark_contamination_filter: detects character or word n-gram overlap with an evaluation corpus. Supports JSONL, JSON, and TXT references, including gzip files. #1184

Fixed Bugs

  • Export and loading: propagate shard-write errors, preserve complete shard filenames, separate stats output, load Hugging Face IDs through dataset_path, and keep LeRobot global indices contiguous. #1174 #1176 #1177 #1178 #1204
  • Text and PII: preserve fullwidth digits, decimals, dots inside words, and media paths in ordinary lists. Fix long-text chunking, prefixed PII keys, HTML table rows, and LaTeX appendix boundaries. #1139 #1140 #1144 #1150 #1152 #1185 #1193 #1197 #1200
  • Deduplication: validate MinHash and SimHash settings, keep text-only samples in Ray media deduplication, and remove temporary hash columns from single-sample output. #1173 #1182 #1187 #1190 #1192 #1195
  • Video and diagnostics: fix VLM caption generation and batch output, skip positional trace pairing when row counts change, and restore OP error summaries. #1194 #1199 #1201
  • Builds and runtime: fix Windows MinHash extension builds, decimal size parsing, multi-word entity extraction, and repeated placeholder insertion. Declare aiohttp for core imports. #1142 #1149 #1172 #1202 #1205

Compatibility Notes

  • benchmark_contamination_filter โ€” Set benchmark_path to enable detection. The default threshold: 0.0 drops any matching n-gram; tune it for same-domain data. When chaining benchmarks, give each its own contamination_ratio_key and contamination_ngram_count_key. #1184
  • LLM extraction mappers โ€” With drop_text: true, the configured text_key is now removed from output and exports; use false to retain it. Applies to extract_keyword_mapper, extract_nickname_mapper, extract_entity_attribute_mapper, extract_entity_relation_mapper, extract_support_text_mapper, extract_event_mapper, and relation_identity_mapper. #1105, #1205
  • MinHash deduplicators โ€” document_minhash_deduplicator, document_minhash_deduplicator_with_uid, ray_bts_minhash_deduplicator, ray_bts_minhash_deduplicator_with_uid, and ray_bts_minhash_cpp_deduplicator now reject num_bands * num_rows_per_band > num_permutations. The two document variants also require num_bands and num_rows_per_band to be set together. #1173, #1187
  • document_simhash_deduplicator โ€” Now requires num_blocks <= 64 and hamming_distance < num_blocks; invalid settings raise ValueError. #1190
  • pii_redaction_mapper โ€” Strings in ordinary lists, including media paths, are now preserved. To redact those list fields, include them in redact_keys. #1139
  • video_captioning_from_vlm_mapper โ€” On the Hugging Face path (enable_vllm: false), default generation now uses do_sample: false and max_new_tokens: 1024. #1199

Acknowledgements

New Contributors

Full Changelog: v1.6.2...v1.6.3