Repository navigation
Hashformers v2.1.0: Python compatibility fixes and new benchmark
This release introduces a comprehensive benchmark report comparing Hashformers against heuristic-based splitters and LLMs, along with Python compatibility fixes and improved documentation.
✨ What's New
📊 Benchmark & Evaluation Report
- Added EVALUATION-January_2026.md — A comprehensive benchmark comparing Hashformers against WordNinja, SymSpell, Ekphrasis, and LLM-Qwen2 (0.5B)
- Evaluated across 14 datasets covering English hashtags, foreign hashtags, and code identifier splitting
- Key finding: Hashformers-DistilGPT2 achieves 76.67% accuracy on English hashtags, outperforming comparable-scale LLMs by +8.3 percentage points
- Added benchmark scripts in
scripts/for reproducibility
📖 Improved Documentation
- Added "When to Use Hashformers?" decision table to README — helps users choose between heuristic splitters, Hashformers, and LLMs
- Updated README with links to the new evaluation report
- Clearer guidance on language-specific model selection
🔧 Fixes
Python Compatibility
- Fixed compatibility issues with Python 3.10+
- Resolved deprecated syntax and API changes for modern Python versions
📋 Full Changelog
Added
tutorials/EVALUATION-January_2026.md— January 2026 benchmark reportscripts/benchmark_script.py— Full benchmark evaluation scriptscripts/benchmark_script_focused.py— Focused benchmark script- "When to Use Hashformers?" comparison table in README
Changed
- Updated README structure and content
- Improved code compatibility for Python 3.10, 3.11, 3.12
Fixed
- Python version incompatibility issues with newer interpreters