Tokenization and text representation · MLD-0141

Byte-pair encoding

A tokenization method building larger units by repeatedly merging frequent adjacent pairs.

Original reference page · detailed expansion pending. Original definitions, examples, notes and citations are preserved below. New examples are illustrative, not benchmark results.

Original example

Construct a subword vocabulary.

Original caveat

Byte-level BPE and character-initialized BPE use different initial units.

Context and aliases

Level: Intermediate. Stages: Data · Training · Inference.

Tags: NLP · SLM · LLM.

Aliases: BPE.

Related concepts

Concepts linking here

Original references

Open original record, export or annotate →