Ever wondered why ChatGPT and other large language models often fail at simple tasks like counting letters in a word? The answer lies in how they process language — not as individual letters, but as tokens.
Tokens are chunks of text that AI models use to understand and generate language. For example, the word 'strawberry' might be split into tokens like 'straw' and 'berry', or even longer pieces. This makes it hard for the model to correctly count the letters—because it doesn't 'read' letter by letter.
This phenomenon, sometimes called the 'Strawberry Problem', exposes a fundamental difference between human and machine language processing. While we see a string of letters, AI sees a sequence of token IDs.
Understanding this quirk is key to using AI more effectively. Instead of fighting the machine, learn how it thinks — and you'll get much better results.