LLM (Large Language Model)
A trained model that processes and generates language
What is LLM (Large Language Model)?
A large language model learns statistical patterns from training data and uses them to produce or assess token sequences. A chat application combines a model with instructions, interfaces, and sometimes tools. Fluent output can still contain factual errors.
How it works
Read the diagram
- Training data
- Parameters
- New input
- Output
Key takeaways
-
Separate the model from the application built around it.
-
Verify facts against appropriate sources.
Illustrative example
A hypothetical model drafts a product description from supplied specifications. The editor checks every factual statement against those specifications and removes claims the input cannot support.
Training, adaptation, and use
Pretraining changes model parameters using training examples. Further training can adapt behavior to tasks. Inference runs the trained model on new input. Current conversation context and retrieved documents can affect an answer without retraining the model. No model has read every source, and a model family name alone does not specify capabilities or limits.
Sources and documentation
A visual explanation
Watch on YouTube ↗ Large Language Models explained briefly
An animated introduction to next-token prediction and how training changes a language model.
Read the illustrated lesson ↗Continue in the portal
Related terms
Prompt Engineering
Designing and testing instructions for a model
RAG (Retrieval-Augmented Generation)
Retrieving source material before generating an answer
Automation
A repeatable action that software performs when a condition is met
Multimodal AI
Models working with more than one type of information