GLOSSARY logo

GLOSSARY

THE TECHNICAL LANGUAGE OF DIGITAL B2B INFRASTRUCTURE

CONCEPT
SYSTEMS ARCHITECTURE

LLM Tokenization

The conversion of text or other input into model-specific token identifiers that a large language model can process.


BUSINESS RELEVANCE

Tokenisation affects context usage, latency, cost, multilingual behaviour, input limits and how reliably specialised terms, code or identifiers are represented.


IMPLEMENTATION EXAMPLE

Before sending long documents to an LLM, a pipeline counts tokens with the model's own tokenizer, preserves required instructions and chunks source text within the context limit.


LIMITATIONS

Tokens are not equivalent to words or meaning, and counts vary by model and language. Truncation can remove critical context, while poor segmentation can disadvantage scripts, domains or uncommon strings.


TECHNICAL EXPLANATION

A tokenizer normalises and segments input into words, subwords, characters or bytes, maps segments to vocabulary IDs and adds special tokens. Padding and truncation shape batches; decoding maps generated IDs back to text.


Secondary Topics

AI Governance, Data Engineering

Sources

Hugging Face Transformers — Tokenization algorithms — https://huggingface.co/docs/transformers/tokenizer_summary; Hugging Face Transformers — Tokenizers — https://huggingface.co/docs/transformers/fast_tokenizers

Related terms

Prompt Injection

CONCEPT
CYBERSECURITY

A security exploit targeting generative AI models by crafting deceptive inputs that bypass system guardrails.

Composable Architecture

CONCEPT
SYSTEMS ARCHITECTURE

A modern software design paradigm assembling modular, decoupled business capabilities through independent APIs and microservices.

Search Experience Optimization (SXO)

CONCEPT
SEARCH OPTIMIZATION

A holistic discipline combining search intent optimization with conversion-focused user experience design.

Algorithmic Bias

CONCEPT
AI GOVERNANCE

Systematic anomalies in algorithmic outputs that lead to unfair, discriminatory, or inaccurate decisions for specific groups.

Named Entity Recognition (NER)

CONCEPT
AI GOVERNANCE

A natural language processing technique identifying and categorizing proper entities like organizations, people, and locations.