Repository navigation
Release v1.6.3: Benchmark Contamination Filter; Lower-Memory Processing; Export & Operator Fixes
LatestMajor 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
aiohttpfor core imports. #1142 #1149 #1172 #1202 #1205
Compatibility Notes
benchmark_contamination_filterโ Setbenchmark_pathto enable detection. The defaultthreshold: 0.0drops any matching n-gram; tune it for same-domain data. When chaining benchmarks, give each its owncontamination_ratio_keyandcontamination_ngram_count_key. #1184- LLM extraction mappers โ With
drop_text: true, the configuredtext_keyis now removed from output and exports; usefalseto retain it. Applies toextract_keyword_mapper,extract_nickname_mapper,extract_entity_attribute_mapper,extract_entity_relation_mapper,extract_support_text_mapper,extract_event_mapper, andrelation_identity_mapper. #1105, #1205 - MinHash deduplicators โ
document_minhash_deduplicator,document_minhash_deduplicator_with_uid,ray_bts_minhash_deduplicator,ray_bts_minhash_deduplicator_with_uid, andray_bts_minhash_cpp_deduplicatornow rejectnum_bands * num_rows_per_band > num_permutations. The two document variants also requirenum_bandsandnum_rows_per_bandto be set together. #1173, #1187 document_simhash_deduplicatorโ Now requiresnum_blocks <= 64andhamming_distance < num_blocks; invalid settings raiseValueError. #1190pii_redaction_mapperโ Strings in ordinary lists, including media paths, are now preserved. To redact those list fields, include them inredact_keys. #1139video_captioning_from_vlm_mapperโ On the Hugging Face path (enable_vllm: false), default generation now usesdo_sample: falseandmax_new_tokens: 1024. #1199
Acknowledgements
- @farfriend added benchmark contamination detection. #1184
- @apex-mochen improved selectors, MinHash, and word counting. #1145 #1188 #1189 #1198
- @dexhunter optimized Ray BTS MinHash, macro expansion, and PII scans. #1151 #1170 #1180
- @David-Wu1119 improved export, loading, deduplication, and tracing. #1174 #1176 #1182 #1194
- @vamsibvv fixed text and PII handling. #1139 #1144 #1193 #1200
- @bingdongni fixed fullwidth digit preservation. #1140
- @GPT-AGI fixed Windows MinHash builds and decimal sentence splitting. #1149 #1150
- @WHJ123JHW added MinHash band-parameter validation. #1187
- @EvanDuuu fixed LeRobot global indices. #1204
- @anHappyDog fixed video caption generation and batch output. #1199
- @marianasignal fixed source-text removal in LLM extraction. #1105
New Contributors
- @bingdongni made their first contribution in #1140.
- @dexhunter made their first contribution in #1151.
- @GPT-AGI made their first contribution in #1149.
- @David-Wu1119 made their first contribution in #1172.
- @WHJ123JHW made their first contribution in #1187.
- @farfriend made their first contribution in #1184.
- @EvanDuuu made their first contribution in #1204.
- @anHappyDog made their first contribution in #1199.
- @marianasignal made their first contribution in #1105.
Full Changelog: v1.6.2...v1.6.3