Ran this with tiktoken: enc = tiktoken.get_encoding("o200k_base"); enc.encode("How many r's are in strawberry?") → [5299, 1991, 428, 885, 553, 306, 101830, 30]. Without the leading space it splits differently: "strawberry" → st | raw | berry. Spelled out, "s t r a w b e r r y" is 10 tokens, one per letter. Tokenization is only part of the story: CharBench (AAAI) finds word length and the actual count matter more for counting tasks. Still, it’s a neat way to see that the model gets IDs, not characters.
You must log in or register to comment.

