Large Language Model Glossary

Key terms and concepts in LLM technology: tokens, context windows, temperature, RAG, fine-tuning, quantization, KV cache, and emergence.

  • JSON11,145 B
  • YAML7,994 B · −28%
  • TOON6,813 B · −39%

A glossary of large-language-model terms with precise definitions: tokens, context windows, temperature, retrieval-augmented generation, fine-tuning, quantization, KV cache and emergence, extended with embeddings, prompts, hallucination, sampling methods, RLHF, tool use, agents, mixture of experts, distillation, LoRA, perplexity and prompt injection.

Use it when

  • You need a one-sentence definition of an LLM term for documentation or a prompt.
  • You are aligning a team on shared vocabulary.

Watch out for

  • The field changes fast; definitions here are conceptual and avoid claims about specific models.
  • Some terms (agent, emergence) are used loosely and with different meanings across papers and products.
  • Temperature zero does not guarantee reproducibility across hardware, serving systems, or model revisions.

The data

Terms

TermDefinition
TokenA unit of text processed by LLMs, typically a word fragment or punctuation
Context WindowMaximum number of tokens an LLM can process in a single inference
TemperatureA parameter that rescales sampling logits; lower values concentrate probability. Zero-temperature behavior and reproducibility depend on the implementation.
RAGRetrieval-Augmented Generation: combining LLMs with external knowledge retrieval
Fine-tuningAdapting a pre-trained model to specific tasks with additional training
QuantizationReducing model precision (e.g., FP16 to INT8) to decrease size and increase speed
KV CacheKey-Value cache storing attention computations for efficient autoregressive generation
EmergenceA capability whose measured performance appears to change sharply with scale; the appearance can depend on the metric and evaluation design.
EmbeddingA dense vector representing text or another input so that semantically similar items are close in vector space
PromptThe input text, including instructions and examples, given to a model to elicit a response
System PromptInstructions set by the application developer that frame the model's role and behavior for a conversation
HallucinationOutput that is fluent and confident but false or unsupported by the provided sources
Top-p (Nucleus Sampling)Sampling from the smallest set of tokens whose cumulative probability exceeds p, which adapts the candidate set to the distribution
Top-k SamplingSampling from only the k most probable next tokens
InferenceRunning a trained model to produce outputs, as opposed to training it
PretrainingThe initial large-scale training of a model on broad data to learn general patterns before specialization
Instruction TuningFine-tuning a model on examples of instructions and desired responses so it follows directions
RLHFReinforcement learning from human feedback: tuning a model using human preference judgments as a reward signal
Chain-of-ThoughtPrompting or training a model to produce intermediate reasoning steps before a final answer
Few-Shot PromptingIncluding a handful of worked examples in the prompt to show the desired task format
Zero-ShotPerforming a task from instructions alone, with no examples in the prompt
In-Context LearningA model's ability to adapt to a task from examples or instructions in the prompt without updating its weights
Tool Use (Function Calling)A model emitting structured calls to external functions or APIs, whose results are returned to it
AgentA system in which a model repeatedly decides on actions, uses tools and observes results to pursue a goal
Mixture of ExpertsAn architecture that routes each token to a few specialized sub-networks, increasing capacity without activating all parameters
DistillationTraining a smaller model to imitate the outputs of a larger one
LoRALow-rank adaptation: fine-tuning by training small added matrices while keeping the base weights frozen
PerplexityA measure of how well a language model predicts text; lower means the text is less surprising to the model
Prompt InjectionAn attack that places instructions in untrusted input so the model follows them in place of the developer's
GuardrailsChecks and constraints around a model that filter inputs and outputs to keep behavior within policy
MultimodalAble to process more than one kind of input or output, such as text, images and audio
Vector DatabaseA store optimized for nearest-neighbor search over embeddings
ChunkingSplitting documents into pieces of suitable size for embedding and retrieval
LogitsThe raw, unnormalized scores a model produces for each possible next token before softmax
AlignmentThe effort to make model behavior match human intentions and values
Scaling LawsEmpirical relationships showing how model loss improves predictably with more parameters, data and compute
Model Context Protocol (MCP)An open protocol that standardizes how applications give models access to tools and data sources
GroundednessWhether answer claims are supported by the supplied evidence; it differs from whether the evidence itself is correct.
CalibrationAgreement between stated or estimated confidence and observed correctness over a set of predictions.
Held-out EvaluationAssessment on cases withheld from development choices, to reduce optimistic bias from repeated tuning.
AbstentionDeclining to answer when the evidence or confidence is insufficient, according to an explicit policy.

Fields

The shape of this dataset, read from the data itself: every column, its type and a real value. Agents can use this to plan a query without fetching the whole document.

SectionFieldTypeExample
termstermstringToken
termsdefinitionstringA unit of text processed by LLMs, typically a w…

Fetch the same bytes

The static files contain the same reference rows as the API, with no API rate limit. Live metadata, such as view counts, may differ. Use the API for content negotiation; use the static files for a cacheable snapshot.

curl "https://yjtoon.yunusemrevurgun.com/api/dataset/llm-glossary?format=toon"
const res = await fetch(
  "https://yjtoon.yunusemrevurgun.com/static-data/dataset/llm-glossary.toon"
);
const toon = await res.text();

Rate limit: 120 requests per minute per IP, no key and no signup. API reference →

Sources and editorial notes

Original editorial reference notes by YJTOON, informed by the linked primary documentation. External specifications retain their own licenses.

Editorial review: . Source documents keep their own licenses.

Topics

  • llm
  • ai
  • glossary
  • nlp

Search the library

Search by a topic, title, or keyword.

Start with a collection

Browse all 205 datasets