#Tokenizer
what is going on in qwen's tokenizer? What exactly is a "ĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ"
November 4, 2026 at 1:52 PM
AI models can take up to 17 times more tokens to process non-Latin scripts than English, saddling users with a steep "tokenizer tax"
https://restofworld.org/2026/ai-tokenizer-tax-non-english-languages-cost-inequity/?utm_campaign=row-social&utm_source=bluesky
November 2, 2026 at 5:52 PM
me: hello language model let's implement a simd tokenizer today according to this design
llm: hello i have implemented a normal sauce sequential scanner. it passes all the tests i just made up
October 31, 2026 at 6:49 PM
AI models can take up to 17 times more tokens to process non-Latin scripts than English, saddling users with a steep "tokenizer tax" https://restofworld.org/2026/ai-tokenizer-tax-non-english-languages-cost-inequity/?utm_campaign=row-social&utm_source=bluesky
October 29, 2026 at 11:54 AM
Researchers identify and challenge three myths in the tokenization research literature and present a tokenizer trilemma.

Source: arXiv cs.CL
Tokenizer Myths and Where To Find Them
Abstract page for arXiv paper 2611.04215: Tokenizer Myths and Where To Find Them
arxiv.org
November 4, 2026 at 11:30 AM
OpenAIも提供してます
platform.openai.com/tokenizer
OpenAI Platform
platform.openai.com
October 29, 2026 at 1:19 PM
¤
do I own
pre-trained #GPT-2 and #Tokenizer
once I have downloaded them to my Windows11
November 4, 2026 at 5:00 PM
AI models can take up to 17 times more tokens to process non-Latin scripts than English, saddling users with a steep "tokenizer tax" https://restofworld.org/2026/ai-tokenizer-tax-non-english-languages-cost-inequity/?utm_campaign=row-social&utm_source=bluesky
October 27, 2026 at 5:45 PM
while the other link is venerable and originally written (at least mostly) by people

this one is vibecoded slop so it may or may not generate accurate tokenizations

especially given that last i knew Anthropic's tokenizer was not public

but in theory it shows how various tokenizers may work
The Tokenizer Playground - a Hugging Face Space by Xenova
Experiment with and compare different tokenizers
huggingface.co
October 31, 2026 at 10:27 PM
Rylan Schaeffer, Sanmi Koyejo: Tokenizer Myths and Where To Find Them https://arxiv.org/abs/2611.04215 https://arxiv.org/pdf/2611.04215 https://arxiv.org/html/2611.04215
November 4, 2026 at 6:39 AM
Dev log: our karaoke highlighter put a space after every Chinese character. Chinese and Japanese have no spaces, so the tokenizer splits per character, and our overlay still added a space after each unit. Fix: no trailing space after a single CJK unit, plus a test. #indiedev #i18n #tts
November 1, 2026 at 12:00 PM
各種トークナイザーが Input Text を各モデルどのようにTokenに分割するか直感的にわかりやすく可視化する楽しいサイト。今後は「Tokenizerって何?」と質問されたらこのURLだけ回答しよう。
imoz.jp/tokenizer/in...
October 29, 2026 at 1:16 PM
Freedream-1B-Instruct-V2-preview
Hi. I can confirm that the `{` issue we found earlier is fixed on my end too: * * * I gave the published V2 Preview tokenizer a separate CPU-only check, using fixed files from the V1 repository and the new V2 repository. The particular regression that prompted the earlier discussion is repaired: the V1 tokenizer encoded an isolated opening brace as `[178, 0]`, with ID `0` being its unknown token, while the V2 tokenizer encodes `{` as the single token `[32000]` and decodes it back to `{`. That is a real and useful improvement. In the V2 Preview announcement, you said the vocabulary had become 32,001 specifically to address this, and this narrow check agrees with that description. I also tried two `tokenizers` releases, 0.22.1 and 0.23.3, in isolated CPU environments; the results agreed for the tested inputs. There is one adjacent detail that might be useful for a future tokenizer revision, though. Some strings containing the newly registered punctuation characters now acquire spaces _inside_ the decoded text. This is separate from whether the missing `{` can be represented, and it is also separate from whether the model can produce correct code or JSON. Here are a few short input/round-trip pairs from the released V2 tokenizer. I am showing the literal decoded text, including a possible leading space: Original input | Decoded after V2 encode/decode | Why it is interesting ---|---|--- `{` | `{` | The original missing character is now preserved. `{"a":1}` | `{ "a":1}` | A space appears after the opening brace, but this JSON still parses to the same value. `left{right` | ` left{ right` | An additional space appears inside ordinary text. `C:\Users\test\file.json` | ` C:\ Users\ test\ file.json` | A path-like string is no longer character-for-character identical. `https://example.org/a?b=1&c=2` | ` https://example.org/a?b=1& c=2` | A query-string-like fragment changes internally. The initial leading space in some rows needs to be interpreted separately. The published tokenizer uses a ByteLevel pre-tokenizer with `add_prefix_space=True`; its ordinary leading-space behavior already existed in V1. The interesting _new_ part here is the additional spacing at internal punctuation boundaries. The ByteLevel documentation explains the prefix-space option, while the AddedToken documentation describes the separate matching properties of registered tokens. ### A low-cost default check The cheapest next step is a small tokenizer-only regression panel: `{`, a simple JSON object, an embedded brace, a path with backslashes, and one URL or literal escape. For each, retain the token IDs and the exact decoded string. Check JSON parsing separately from exact-text equality. The source can be pinned and checked on CPU, without loading model weights or retraining. ### When this matters * If only **parseable JSON values** matter, the whitespace in the two selected JSON examples is allowed; it need not be a blocker. * If **exact code, paths, URLs, or escapes** matter, internal spaces deserve a regression check. * If preserving the **already-trained V2 checkpoint** matters, test ID compatibility before changing tokenizer settings. * If building a **new tokenizer and model together** , byte coverage and round-trip checks fit naturally _before_ training. This is a raw-tokenizer test, not a V2 generation-quality benchmark. The diagnostic inputs are deliberately selected edge cases, so their counts are not real-world error rates. The details below give pinned files, reproducible commands, the structural diff, and the limits of the conclusions. Pinned tokenizer files, environment, and a minimal reproduction (click for more details) Concrete round trips, classifications, and what the numbers mean (click for more details) Tokenizer structure, diagnostic variants, and compatibility with trained weights (click for more details) Future tokenizer design and inexpensive regression checks (click for more details) Relevant documentation, similar upstream reports, and the limits of this feedback (click for more details) Thanks again for putting the V2 Preview out and for following up on the brace issue. The concrete repair is easy to confirm, which is a nice outcome. I hope the short round-trip examples and the compatibility distinction are useful as reference points for a later revision, whenever they fit the direction you want to take the model.
discuss.huggingface.co
November 2, 2026 at 4:23 AM
Crouton Alpha showed up on OpenRouter last night with no name on it. Its tokenizer matched none of the 12 models I tested it against.

It's playing Pokémon Red live now. The last stealth model never made it out of Viridian City.

www.youtube.com/@Pokebenchtv...
YouTube
Share your videos with friends, family, and the world
www.youtube.com
November 3, 2026 at 11:21 PM
That’s the same tokenizer I use.
October 28, 2026 at 12:55 PM
TEMPO extends a large language model's vocabulary with discrete codes from a context-aware transformer tokenizer using finite scalar quantization, allowing signal patches to be mapped to a 625-code vocabulary and processed alongside text.

Source: arXiv cs.CL
TEMPO: Time Series Understanding via Discrete Tokenization
Abstract page for arXiv paper 2611.04482: TEMPO: Time Series Understanding via Discrete Tokenization
arxiv.org
November 4, 2026 at 11:52 AM
Freedream-1B-Instruct-V2-preview
Hi. I can confirm that the `{` issue we found earlier is fixed on my end too: * * * I gave the published V2 Preview tokenizer a separate CPU-only check, using fixed files from the V1 repository and the new V2 repository. The particular regression that prompted the earlier discussion is repaired: the V1 tokenizer encoded an isolated opening brace as `[178, 0]`, with ID `0` being its unknown token, while the V2 tokenizer encodes `{` as the single token `[32000]` and decodes it back to `{`. That is a real and useful improvement. In the V2 Preview announcement, you said the vocabulary had become 32,001 specifically to address this, and this narrow check agrees with that description. I also tried two `tokenizers` releases, 0.22.1 and 0.23.3, in isolated CPU environments; the results agreed for the tested inputs. There is one adjacent detail that might be useful for a future tokenizer revision, though. Some strings containing the newly registered punctuation characters now acquire spaces _inside_ the decoded text. This is separate from whether the missing `{` can be represented, and it is also separate from whether the model can produce correct code or JSON. Here are a few short input/round-trip pairs from the released V2 tokenizer. I am showing the literal decoded text, including a possible leading space: Original input | Decoded after V2 encode/decode | Why it is interesting ---|---|--- `{` | `{` | The original missing character is now preserved. `{"a":1}` | `{ "a":1}` | A space appears after the opening brace, but this JSON still parses to the same value. `left{right` | ` left{ right` | An additional space appears inside ordinary text. `C:\Users\test\file.json` | ` C:\ Users\ test\ file.json` | A path-like string is no longer character-for-character identical. `https://example.org/a?b=1&c=2` | ` https://example.org/a?b=1& c=2` | A query-string-like fragment changes internally. The initial leading space in some rows needs to be interpreted separately. The published tokenizer uses a ByteLevel pre-tokenizer with `add_prefix_space=True`; its ordinary leading-space behavior already existed in V1. The interesting _new_ part here is the additional spacing at internal punctuation boundaries. The ByteLevel documentation explains the prefix-space option, while the AddedToken documentation describes the separate matching properties of registered tokens. ### A low-cost default check The cheapest next step is a small tokenizer-only regression panel: `{`, a simple JSON object, an embedded brace, a path with backslashes, and one URL or literal escape. For each, retain the token IDs and the exact decoded string. Check JSON parsing separately from exact-text equality. The source can be pinned and checked on CPU, without loading model weights or retraining. ### When this matters * If only **parseable JSON values** matter, the whitespace in the two selected JSON examples is allowed; it need not be a blocker. * If **exact code, paths, URLs, or escapes** matter, internal spaces deserve a regression check. * If preserving the **already-trained V2 checkpoint** matters, test ID compatibility before changing tokenizer settings. * If building a **new tokenizer and model together** , byte coverage and round-trip checks fit naturally _before_ training. This is a raw-tokenizer test, not a V2 generation-quality benchmark. The diagnostic inputs are deliberately selected edge cases, so their counts are not real-world error rates. The details below give pinned files, reproducible commands, the structural diff, and the limits of the conclusions. Pinned tokenizer files, environment, and a minimal reproduction (click for more details) Concrete round trips, classifications, and what the numbers mean (click for more details) Tokenizer structure, diagnostic variants, and compatibility with trained weights (click for more details) Future tokenizer design and inexpensive regression checks (click for more details) Relevant documentation, similar upstream reports, and the limits of this feedback (click for more details) Thanks again for putting the V2 Preview out and for following up on the brace issue. The concrete repair is easy to confirm, which is a nice outcome. I hope the short round-trip examples and the compatibility distinction are useful as reference points for a later revision, whenever they fit the direction you want to take the model.
discuss.huggingface.co
November 2, 2026 at 2:22 AM
unless at the center of a smith chart, basically, because you can always just steer something into being stable there if you can send it steering vectors, if you learned your tokenizer from it.
November 3, 2026 at 9:20 PM
¿
#License, Not Ownership:
When you download #GPT-2 and
its tokenizer to your Windows 11 machine
for example, via #Hugging'Face or
#OpenAI-repository, you are granted
a license to use them
November 4, 2026 at 5:02 PM
Hugging Face rebuilt its tokenizer library for 3–30x faster encoding, but the interesting question is why chopping text ever blocked anything. Nothing Is Accidental on the tokenizer sitting in Python's GIL while the GPUs wait. #AIagents
The Rounding Error That Stops the Machine
Chopping text into tokens was always trivial next to the model. Then the model got fast enough to wait for it.
nothingisaccidental.substack.com
November 2, 2026 at 4:31 PM
CVE-2026-120334 - deepset-ai farm Tokenizer Loader tokenization.py EmbeddingTokenizer.from_pretrained path traversal
CVE ID : CVE-2026-120334

Published : Nov. 2, 2026, 2:45 a.m. | 18 minutes ago

Description : A flaw has been found in deepset-ai farm up to 0.8.0. This imp...
CVE-2026-120334 - deepset-ai farm Tokenizer Loader tokenization.py EmbeddingTokenizer.from_pretrained path traversal
A flaw has been found in deepset-ai farm up to 0.8.0. This impacts the function EmbeddingTokenizer.from_pretrained of the file farm/modeling/tokenization.py of the component Tokenizer Loader. Executing a manipulation of the argument vocab_filename can lead to path traversal. The attack may be performed from remote. The exploit has been published and …
cvefeed.io
November 2, 2026 at 3:50 AM
actually it looks like over the last couple years every tokenizer has standardized on whole-word tokenization for common words

i wonder if that explains why people have complained about the lack of expressivity with "characters" between different models
October 31, 2026 at 10:27 PM
A wrong letter count needs more than a tokenizer story:

The illustrated answer of two is wrong, but tokenization alone does not establish why it happened. This short keeps representation separate from causal diagnosis.
November 4, 2026 at 7:38 AM
Fine-tuning multilingual LLMs to parse regional entities like "விராட் கோலி" (Virat Kohli) without hallucinating transliterated context is a solid test for tokenizer robustness.

Live benchmarks: https://neubench.netlify.app

#NLP #MachineLearning #OpenSource
October 30, 2026 at 3:48 PM