Skip to content

One emoji can be several UTF-8 bytes. What can a byte-level tokenizer do?

Show answer & explanation

Answer: Start from byte pieces

Start from byte pieces ✓ — Emoji are Unicode symbols encoded as bytes, and byte-level tokenizers start from byte values rather than human-visible characters. Those bytes may then be merged or left as separate token pieces. A tiny picture can therefore be computationally larger than it looks on screen.

Read Unicode code points — Unicode code points are a real layer, so this is a plausible guess. But byte-level BPE starts from encoded byte values and then applies learned merges. The surprise is that a visible emoji can be handled through lower-level byte pieces, not only through the character you see.

Always keep one token — One visible character is not guaranteed to stay one token. Emoji sit in Unicode and may enter the tokenizer as multiple UTF-8 bytes. This is the same trap as letter counting: screen units and model units do not line up neatly.

Play today's quiz — new questions daily

More Technology questions