In developmentMoroLM-56M is a research base model, not a chatbot. Things here change often.See what changed
MoroLM
Home / Docs / Tokenizer

Tokenizer

The frozen 24,000-token SentencePiece Unigram tokenizer used by MoroLM.

Work in progress: this page describes MoroLM-56M v0.6 and will change as the project moves.

Tokenizer v0.1#

The tokenizer is a custom SentencePiece Unigram model with an exact vocabulary size of 24,000. It is frozen and should not be casually retrained because every checkpoint depends on its token IDs.

PropertyValue
Model typeUnigram
Vocabulary size24,000
Character coverage1.0
Byte fallbackEnabled
split_digitsFalse
pad / bos / eos / unk0 / 1 / 2 / 3

Special tokens#

<|bos|>
<|eos|>
<|pad|>
<|system|>
<|user|>
<|assistant|>
<|memory|>
<|eot|>

Canonical chat representation#

<|bos|><|system|>...<|eot|>
<|user|>...<|eot|>
<|assistant|>...<|eot|>

Language markers are not required from users. The tokenizer is intended to let the model infer language/script from normal input.

Verified behavior#

Round-trip tests covered mixed Arabizi and Arabic text, including strings such as wach 3lach ma jitich خويا?. Tokenizer parity with llama.cpp was also verified during the earlier export work.

↑ ↓ to move · Enter to open · Esc to close