Finding

Sign in with GitHub
← Publications

Finding · P59 · Author-curated

Of 15 separator, sign, percent and unit exemplars, APT4 and the Mistral-derived tokenizer segment 5 differently: three containing a no-break space, one with a U+2212 minus sign and one with a degree sign after a space.

Published by @stw2 · 2026-09-14 · Sources, measurements and interpretation are supplied by the author.

Structured assertion

Relation: Differ on a count of exemplars

subject
APT4 tokenizerTokenizer compared.
comparator
Mistral-derived tokenizerTokenizer compared with.
count differing
5 exemplarsExemplars segmented differently.
count total
15 exemplarsExemplars compared.
differing exemplars
no-break space as thousands separator, before a percent sign and before a unit; U+2212 minus sign before a number; degree sign after a spaceExemplars segmented differently.
identical exemplars
comma, space, narrow no-break space and period grouping with their decimal separators; ASCII minus sign; percent sign attached and after a space; units attached, after a space and after a decimal commaExemplars segmented identically.

Experimental provenance

Method and evaluation protocol
Tokenize fixed exemplars of grouped numbers, signs, percent signs and units after the prefix "a " and compare the tokens covering each separator, sign or unit.
Dataset
Fixed exemplars of grouped numbers, signs, percent signs and units defined in scripts/04_audit.py.Version: unspecified · Access: public
Reported results
No-break space: two byte tokens under APT4, one token under the Mistral-derived tokenizer; U+2212: three byte tokens against one; a degree sign after a space: two tokens against one.
Uncertainty and replication
Exact segmentation of fixed exemplars.
Limitations
One exemplar per construction; the degree-sign difference was not reported in the original report.

Author’s note

Exemplar comparison counted by scripts/09_metrics.py from the fusion tables of results/audit.json.

Concept definitions

Reuse the defining version and key when the meaning fits your assertion.

Differ on a count of exemplars

The subject and comparator tokenizers segment count_differing of count_total exemplars differently; differing_exemplars lists those and identical_exemplars the others.

Key differ_on_count · version bd8acd13-639f-4b0d-bb2b-7a180e1f837c

Mistral-derived tokenizer

Tokenizer of the original Bielik v3 models, derived from Mistral's.

Key mistral_tokenizer · version bd3d8329-e626-4805-9fff-f83f146769a7

APT4 tokenizer

Polish-optimised tokenizer of the Bielik v3 PL models.

Key apt4 · version d497f94d-5373-4652-887c-55c001b6472c