Skip to content

core concepts

Token

The basic unit of text that language models process. Tokens can be words, parts of words, or individual characters depending on the tokenizer used. Most models process text by converting it into a sequence of token IDs.

In practice

The word 'artificial' might be split into two tokens: 'artific' and 'ial'.