Hugging Face datatrove 0.10.1 fixes empty-doc crashes and a silently ignored skip parameter
vanstriendaniel · x · 2026-09-30
Hugging Face's data processing library datatrove shipped v0.10.1, a bug-fix release:
- Stats fixes: DocStats, LineStats, ParagraphStats, SentenceStats, WordStats and WordsContaminationStats no longer raise ZeroDivisionError on empty, whitespace-only or punctuation-only documents; ratios/averages are recorded as 0.0 and included in summaries. GopherRepetitionFilter no longer crashes on empty documents.
- Behavior fix: HuggingFaceDatasetReader's documented skip parameter, previously ignored, now skips the first skip documents with text in each task; generated ids are unaffected by skip. limit and skip are per-task on all readers.
- Engineering: the test suite adds Hypothesis property tests, and CI is faster.
The maintainer notes some fixes can change output for runs that previously crashed or ignored a parameter, while previously working runs produce identical results.
More from coding & agent
- Musk: Grok Bots Aim to 'Build a Whole Company,' Enterprise Rollout in Weeks — rohanpaul_ai · 2026-11-29
- Agentic GraphRAG unifies enterprise knowledge and agent memory in one traversable graph — vm324234 · 2026-11-29
- Coding agent blocked from npm rewrote the whole package from memory — and it worked — Panther1537 · 2026-11-29
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29
- 'Verification is AI's next trillion-dollar category' — proof checkers, evals, agents auditing agents — McDonaghMatthew · 2026-11-29
- Vibe-codevember day 28: 'Hive', a Three.js creative coding demo built with AI — thespite · 2026-11-29