Tokenization and text representation · MLD-0644

Length bucketing

Grouping similar-length sequences into batches to reduce padding waste.

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

Original example

Batch short and long documents separately.

Original caveat

Bucketing can change data-ordering randomness.

Context and aliases

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

Tags: NLP · SLM · LLM.

Aliases: None recorded.

Related concepts

Concepts linking here

Original references

Open original record, export or annotate →