[1.0.0rc2] Possible regressions vs. `0.23.x`: Byte atom not found in the vocabulary
Author: xenovaCreated Sep 23, 2026Updated Sep 28, 2026
White running some tests, I noticed possible regressions for existing tokenizer files on the HF Hub.
Using the tokenizer.json files from answerdotai/ModernBERT-base and bigscience/bloomz-560m, Tokenizer.from_file succeeds in 0.23.1 but fails in 1.0.0rc2:
| Model | 1.0.0rc2 error |
|---|---|
answerdotai/ModernBERT-base |
Byte atom 0xC0 not found in the vocabulary |
bigscience/bloomz-560m |
Byte atom 0x0B not found in the vocabulary |
Codex points to:
The v1 BPE loader requires every byte atom from
0x00to0xFF. That check rejects both files before encoding;0xC0, for example, cannot occur in valid UTF-8 input.
Just flagging in case this is not expected behaviour.
Source: huggingface/tokenizers