BPE Tokenizer Benchmark
Loads a HuggingFace tokenizer.json and measures encode throughput.
Defaults to ./tokenizer.json (Qwen2.5 shipped in repo root).
Run
cargo run --release --example bench_bpe [-- /path/to/tokenizer.json]
Source
// Run this example:
// cargo run --example bench_bpe
//
// See the CLI reference and source code in crates/ for implementation details.