Language Models73

How chat AIs like ChatGPT read and write. Tokens, transformers, attention, embeddings, prompts, hallucinations, RAG, context windows: the words you have probably met while using AI.

Level
AI Agent

An AI that takes a goal and works through the steps on its own

Tools Beginner
AI Notebook

A workspace that reads only what you put in and answers from that

Tools Beginner
AI Search

A search that reads the web for you and hands back a written answer

Tools Beginner
Attention

A way of deciding how much weight to give each input

Intermediate
Autoregressive

Rereads what it just wrote, then adds one more piece

Architecture Advanced
BERT

A model trained to fill blanks by reading both sides at once

Intermediate
Chain of Thought

Working through the middle steps before landing on an answer

Intermediate
Chatbot

A program you exchange text or speech with, back and forth

Basics Beginner
Computer-Use Agent

AI that watches the screen and moves the mouse and keyboard for you

Tools Intermediate
Context Window

The most text a model can take in and look at at once

Beginner
Conversation Memory

Re-reading past conversation every time to keep it going

Beginner
Cosine Similarity

A ruler that measures how much two directions point the same way

Advanced
Document Q&A

Ask questions about one document and get answers pulled from it

Tools Beginner
Embedding

Rewriting meaning as a set of numbers that marks a spot

Intermediate
Encoder-Decoder

A two-part design that reads with one half, writes with the other

Intermediate
Few-Shot Learning

Showing a couple of worked examples and asking for the same

Intermediate
Fine-Tuning

Nudging a trained model further with new data

Training Intermediate
Function Calling

A model requesting a tool in a fixed, structured form

Intermediate
GPT

A language-model design that only looks back and writes forward

Beginner
Grounding

Tying each sentence of an answer to real evidence

Intermediate
Hallucination

When an AI invents an answer that sounds right but is not true

Beginner
Instruction Tuning

Teaching a model to answer in the shape a request calls for

Intermediate
Jailbreak

Getting AI to talk its way past the rules it's supposed to follow

Ethics Intermediate
Knowledge Cutoff

The point where a model's training material stopped

Beginner
Knowledge Distillation

Pouring a big model's judgment into a smaller one

Training Advanced
Language Model

A program that scores what word probably comes next

Beginner
Large Language Model

A language model grown enormous by reading a huge pile of text

Beginner
LLM-as-a-Judge

Letting a language model rate an answer instead of a person

Evaluation Intermediate
Logits

The raw score each candidate gets before becoming a probability

Advanced
LSTM

A recurrent network that uses gates to choose what to keep

Architecture Advanced
Machine Translation

Having a machine carry writing from one language into another

Beginner
Mixture of Experts

A model structure that switches on only the branches it needs

Advanced
Multi-Agent

Several AIs splitting up roles and passing work between them

Tools Intermediate
Multi-Head Attention

The same scene watched by several viewpoints at once

Advanced
Multimodal

AI that handles text, images, and sound together

Tools Beginner
N-gram

The way of guessing the next word by counting the last few

Intermediate
Next-Token Prediction

Guessing the very next piece from everything written so far

Beginner
NLP

The technology that lets computers handle human language

Basics Beginner
Perplexity

A score for how many directions a model is torn between

Advanced
Persona

The role and tone you assign an AI to speak as

Tools Beginner
Positional Encoding

A way of tagging each spot with its place in line

Advanced
Pretraining

Learning the basics before anyone decides what the job will be

Intermediate
Prompt

The written request you hand an AI, spelling out what to do

Beginner
Prompt Engineering

Shaping an instruction so the result matches what you want

Generative Beginner
Prompt Injection

An attack where instructions hidden in outside material steer the AI

Ethics Intermediate
RAGRetrieval-Augmented Generation

Fetching relevant material before answering, then writing from it

Intermediate
Reasoning Model

A language model that works through steps before it answers

Intermediate
Refusal

An AI declining to carry out a request it shouldn't fulfill

Ethics Beginner
RLHF

Polishing the texture of answers using what people prefer

Intermediate
RNNRecurrent Neural Network

A network that carries forward a running summary, word by word

Architecture Intermediate
Sampling

Drawing one candidate at random, weighted by how likely it is

Intermediate
Scaling Law

The rule for how much better performance gets as scale grows

Intermediate
Self-Attention

Words in the same sentence checking in with each other

Advanced
Semantic Search

Search that finds things close in meaning, not matching letters

Intermediate
Sentiment Analysis

Sorting the tone a text shows into positive, negative, neutral

Beginner
Sequence-to-Sequence

Listens to the end, then rebuilds the message at a different length

Architecture Advanced
Small Language Model

A language model shrunk down to run on ordinary devices

Intermediate
Softmax

A calculation that turns several scores into shares totaling 100%

Intermediate
Streaming

Sending each piece of an answer the moment it's ready

Beginner
Summarization

Picking what to keep from a long piece and making it short

Beginner
Sycophancy

The habit of agreeing with the user even when they're wrong

Ethics Intermediate
System Prompt

The operating rules a service lays down before a conversation starts

Intermediate
Temperature

A dial that widens or narrows the gap between candidates' odds

Intermediate
Text Generation

Building text by looking ahead and adding the next piece

Beginner
Token

The bite-size pieces an AI cuts text into before reading it

Beginner
Tokenizer

The device that cuts text into a fixed list of pieces and numbers them

Intermediate
Tool Use

Choosing the right outside means and using it when needed

Tools Intermediate
Top-p Sampling

Drawing only from a candidate pool trimmed from the top

Advanced
Transformer

An AI design where every word in a sentence looks at all the others

Intermediate
Vector

A set of numbers for several items, written in a fixed order

Intermediate
Vector Database

A store that keeps sets of numbers so the nearest ones surface fast

Intermediate
Word2Vec

Learning a word from its neighbors and giving it coordinates

Intermediate
Zero-Shot

Giving an instruction with no examples attached and having it work

Intermediate