THE REFERENCE SHELF

Explore the lessons.

Find a topic below or search for a question. New here? The beginner path gives you five lessons in a useful order.

CHAPTER 01

Text & data

Before a model sees language, someone decides what counts as data.

CHAPTER 02

Inside the model

Turn a sequence of numbers into a context-sensitive representation.

CHAPTER 03

Learning

How predictions become a signal that changes the model.

CHAPTER 04

Generating

From raw scores to a response, one new token at a time.

CHAPTER 05

Systems & trust

The model is one part of the product. Understand the rest.

01

Base model versus assistant

The model that continues text and the product that answers your message are related, but they are not the same thing.

6 min
02

Prompt structure: what the model receives

A conversation becomes a structured sequence with roles, separators, instructions, and context.

6 min
03

In-context learning: adapting without weight updates

Instructions and examples in the input can change a model’s behavior while its learned parameters stay fixed.

6 min
04

Retrieval: giving the model evidence

A retrieval system finds relevant material and places it where a language model can use it.

6 min
05

Tool use: letting a system act

A model can propose a tool call; application code validates it, runs it, and returns the result.

6 min
06

Hallucinations: fluent text without support

A response can be well formed and plausible while inventing a fact, source, or event.

6 min
07

Evaluation: measuring the behavior you need

A useful score starts with a clear task, a representative test set, and a rule for deciding success.

6 min
08

Memorization: when training text comes back

A model can learn reusable patterns and also reproduce particular training sequences.

6 min
09

Generalization: beyond the examples seen

A learned pattern is useful when it transfers to inputs that were not simply repeated from training.

6 min
10

Compute: the work behind the words

Training and inference both require computation, but their memory, arithmetic, and throughput demands differ.

6 min
11

Latency: why a response takes time

The wait before the first token and the pace of later tokens come from different parts of the serving pipeline.

6 min
12

Quantization: fewer bits per number

Lower-precision representations can reduce model storage and memory traffic while introducing approximation.

6 min
13

Context management: choosing what stays in view

A finite input budget makes selecting, preserving, and refreshing context part of the application’s job.

6 min