Incognition logo
Home
Learn
Practice
Leaderboard
0
VisualizationsSequences, Language & Attention

Tokenization

Splitting by whole words makes "unhappiness" a single token. If the model never saw that word in training, it becomes unknown and its meaning is lost.

un
unhappiness
tokens
1
if unseen
<UNK>

Word tokenization treats “unhappiness” as one indivisible unit. If it was not in the training vocabulary, all of its meaning is simply lost — even though “happy” certainly was there.

Customize