Downloads · 30 days
0
thoughtcast/wyrd42-tokenizer
wyrd42-tokenizer is a machine learning model from thoughtcast. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for tokenizers. The card lists the license as other.
A deterministic 32,768-token ByteLevel BPE tokenizer for WYRD42, a seeded, induction-resistant constructed language. It is the shared token id-space for both base-pretraining and chat fine-tuning of a 1.1B WYRD langua…
Downloads · 30 days
0
Access
Public
Updated Jul 12, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.json3 MB · 90%
From the Hugging Face model README
A deterministic 32,768-token ByteLevel BPE tokenizer for WYRD42, a seeded, induction-resistant constructed language. It is the shared token id-space for both base-pretraining and chat fine-tuning of a 1.1B WYRD language model.
WYRD is a constructed language defined not by a hand-written grammar but by a seeded
deterministic generator: a pure program plus a private 256-bit master seed that coins
its own lexicon, fills every inflectional paradigm, and realises surface strings in
linear forward time. Irregularity across orthography, morphophonology, morphology, and
syntax is keyed to a pseudorandom function of (lexeme, morphosyntactic cell) under the
seed, so the corpus is cheap to generate forward and engineered to be intractable to
invert into a compact grammar. Seed for this corpus: "42" (hence WYRD42).
The tokenizer is a byte-verifiable function of the corpus and a pinned trainer:
wyrd field of
the seed-42 v4 corpus — no sampling, no shuffling (train/train_tokenizer.py).tokenizers==0.22.2, vocab_size=32768, min_frequency=2, ByteLevel.manifest.json records the sha256 of the sample and of vocab.json / merges.txt,
so a re-run can be byte-compared.| artefact | sha256 (first 16) |
|---|---|
| training sample (3037 MB) | 9c3364d96a873ae2 |
vocab.json | 22dee61e598829d5 |
merges.txt | a53b26703e0256f4 |
<|endoftext|> · <|doc|> · <|q|> · <|user|> · <|assistant|> · <|pad|> — document,
query, and chat-role markers, so base bins and chat-SFT data share one id-space.
3.38 characters / token (3.92 bytes/token) on native WYRD. WYRD is agglutinative with long words; this fertility sets the ~30B-token training budget for the 1.1B model.
FineWeb-Edu, FineWeb (commerce), Wikipedia, Gutenberg, balanced native-generation, conversations, queries, and a multilingual feature-rich supplement — so the merges cover web, narrative, chat, and the full WYRD feature space (evidentiality, dual/paucal, etc.).
from tokenizers import Tokenizer
tok = Tokenizer.from_file("tokenizer.json")
ids = tok.encode("Riga-Kola thüükwúe John Muir").ids # brands pass through as tokens
print(tok.decode(ids)) # -> "Riga-Kola thüükwúe John Muir"
Proper names and brands pass through the language verbatim as a transparent loanword channel, so a brand first seen after training still has a valid token sequence.
Research artefact. WYRD is a linguistics research object (forward-easy / invert-hard keyed text transform), not a security primitive.