Large language models · 人工智能
Token トークン
とーくん
A token is the small unit a language model reads and writes: a word, part of a word or a character. Text length and AI usage costs are often measured in tokens.
- Emerged
- Tokenisation is a long-standing NLP technique
- Key pioneers
- —
- Example uses
- AI pricing, length limits
Tokenisation
Modern models usually split text into sub-word pieces (for example with BPE): common words become one token, rare words several. In English a token averages roughly 3–4 characters.
Why it matters
Context windows and API prices are counted in tokens. The same content in Vietnamese or Japanese may use more tokens than in English if the tokeniser is not optimised for that language.
In Vietnam
Because of tone marks, Vietnamese has often been split into more tokens than necessary; models optimised for Vietnamese try to reduce this.
Vocabulary corner
Japanese: トークン (とーくん). English: Token. Related Japanese words: トークン、トークナイザー、単語、文字、料金.