Skip to content

Tokenization

The process of breaking text into tokens — the smallest units that the model works with. Words, parts of words, or symbols are converted into numbers.

How It Works

The tokenizer uses a dictionary: each token corresponds to a numerical ID. The model works not with letters, but with these numbers.

Nuances

  • Russian text often yields more tokens than English;
  • Rare words are split more;
  • The cost and length of context depend on tokenization.

See Also

← All Terms