The README says 1000x faster. My machine measured 0.07x to 26x. How much does swapping a tokenizer actually buy you?
A new high-speed tokenizer advertises roughly 1000x over HuggingFace. On a 6-core Ryzen I ran six workloads and got anything from 0.07x to 26.33x. This post takes apart the README's own table to show the multiplier is mostly set by the denominator, then gives one division for how much text you need before the time saved even covers a single model call.
LLM · benchmarking · 性能9 min read