Files
esh-pfi-infrastructure/scripts/training-probes/name-pool-tokens-2026-09-09.txt
T
vh 04950c2881 feat(training-probes): re-measure the R49 name pool under the Qwen3 tokenizer
brokkr-smithy flagged that R49 F02's name-pool token splits were measured with the
Qwen3.5-2B tokenizer, so the dense-Qwen3 carrier ruling invalidates them. Measured
rather than left on their critical path; handed over as input to their re-check,
since the dictionary and the adjudication are theirs.

The multi-token property strengthens on the chosen carrier: pool multi-token
88.0% -> 90.3%, mean tokens 2.33 -> 2.46. A smaller vocabulary fragments more, so
Qwen3's 151,936 splits names into more pieces than Qwen3.5's 248,320. The operator's
requirement that names be multi-token, so the drafter reconstructs them from the
prefix instead of recalling one embedding, is better served after the ruling.

Positive control: the Qwen3.5 column reproduces F02's published figure on the same
pool and tokenizer (F02 89% / mean 2.35; here 88.0% / 2.33), so the instrument
recovers a known-true value before being asked about an unknown one. The pool is
deduped across locales, which reconciles male_given and female_given exactly
against the dictionary's own totals block.
2026-09-09 22:59:15 -07:00

37 lines
2.4 KiB
Plaintext

R49 name-pool token-split re-measurement after the dense-Qwen3 carrier ruling.
Run 2026-09-09 23:2x PT on pfi-gx10 via scripts/training-probes/tokenize_name_pool.py
against brokkr-smithy research/R49-author-voice-adapters/tools/name_dictionary.json
(unmodified). Names tokenized with a leading space. Pool DEDUPED across locales,
which reconciles with the dictionary's own `totals` block: male_given 5,339 and
female_given 5,226 match exactly.
dictionary totals block: {"male_given": 5339, "female_given": 5226,
"surnames_neutral": 11840, "surnames_gendered_pairs": 3,
"ambiguous_dropped": 167}
deduped measured : {"male_given": 5339, "female_given": 5226,
"surnames": 13549} sum 24114
(surnames differs because this unions surnames_male/surnames_female in as well.)
== Qwen3-1.7B-Base config vocab 151,936 tokenizer.vocab_size 151,643
male_given mean 2.40 multi 87.1% 1tok 12.9% 2tok 47.2% 3tok 29.0% 4tok 9.1% 5tok 1.6% 6tok 0.2%
female_given mean 2.44 multi 92.3% 1tok 7.7% 2tok 51.7% 3tok 30.9% 4tok 8.5% 5tok 1.1% 6tok 0.2%
surnames mean 2.48 multi 90.7% 1tok 9.3% 2tok 44.7% 3tok 35.9% 4tok 9.0% 5tok 1.2% 6tok 0.1%
POOL mean 2.46 multi 90.3%
== Qwen3.5-2B-Base config vocab 248,320 tokenizer.vocab_size 248,044
male_given mean 2.25 multi 83.6% 1tok 16.4% 2tok 50.5% 3tok 25.5% 4tok 6.6% 5tok 0.9% 6tok 0.0%
female_given mean 2.33 multi 90.2% 1tok 9.8% 2tok 55.5% 3tok 27.8% 4tok 6.1% 5tok 0.9% 6tok 0.0%
surnames mean 2.36 multi 88.8% 1tok 11.2% 2tok 49.2% 3tok 32.9% 4tok 6.1% 5tok 0.5% 6tok 0.0%
POOL mean 2.33 multi 88.0%
READ: the multi-token property STRENGTHENS on the dense carrier, 88.0% -> 90.3%,
mean 2.33 -> 2.46. A smaller vocabulary fragments more, so Qwen3's 151,936 splits
names into more pieces than Qwen3.5's 248,320. The operator's requirement --
multi-token names forcing reconstruction from the prefix rather than recall of one
embedding -- is better served after the ruling, not worse.
POSITIVE CONTROL: the Qwen3.5 column reproduces R49 F02's published figure for the
same pool on the same tokenizer (F02: 89% multi-token, mean 2.35; here: 88.0%,
2.33). Within a point on both, so the instrument recovers a known-true value
before being asked about an unknown one.