TOKENIZATION: How AI models turn text into numbers | Byte-Pair Encoding
3-Second Blueprint (English)
- LLMs parse text by mapping character chunks to integer IDs within a fixed vocabulary typically capped near 100,000 static tokens.
- Byte-Pair Encoding (BPE) trains this vocabulary by iteratively merging the most frequent adjacent token pairs in a text corpus.
- Operating on 256 raw UTF-8 byte values lets tokenizers handle every alphabet, emoji, and rare word without vocabulary overflow.
TokenizationByte-Pair EncodingUTF-8 EncodingLLM Vocabulary
3-Sekunden-Fazit (Deutsch)
- LLMs verarbeiten Text, indem sie Textsegmente festen numerischen IDs aus einem Vokabular von rund 100.000 Tokens zuordnen.
- Byte-Pair Encoding (BPE) erstellt dieses Vokabular durch iteratives Verschmelzen der häufigsten benachbarten Token-Paare im Korpus.
- Auf Basis von 256 rohen UTF-8-Bytes kodiert BPE alle Schriften, Emojis und seltenen Wörter lückenlos ohne unbekannte Tokens.
TokenisierungByte-Pair EncodingUTF-8-BytesLLM-Vokabular
Note / Hinweis: Blueprints are AI-generated educational summaries (0% Politics · 0% Religion · 0% Brainrot) and do not constitute medical, legal, or financial advice. / KI-generierte Zusammenfassung zu Bildungszwecken – ersetzt keine medizinische, rechtliche oder finanzielle Fachberatung.