aiWhy a language model processes tokens rather than whole words
Language-model text is commonly divided into tokens, which may represent words, word parts, punctuation or other sequences. The tokenizer determines that division before the model processes the text. A sentence's token count therefore depends on the encoding scheme and language, not simply the number of spaces.