Sources · Foundations
Where every number comes from
Every figure in this topic, with the page it was read from and the date it was read. Teaching assumptions are labelled as such.
17 sourcesNext re-check 18 Dec 2026
Language models
| Figure | What it says | Source | Used on | Read |
|---|---|---|---|---|
| words, parts of words, characters or bytes | Claude's glossary says tokens can correspond to words, subwords, characters, or even bytes. | Anthropic, Claude docs: Glossary (opens in a new tab)platform.claude.com | 18 Nov 2026 | |
| auto-regressive: each token predicted from the ones before | The Transformer's decoder is auto-regressive, consuming previously generated symbols as input when generating the next, and masking stops a position attending to later ones. | Vaswani et al., Attention Is All You Need (arXiv:1706.03762) (opens in a new tab)arxiv.org | 18 Nov 2026 | |
| softmax gives next-token probabilities | The Transformer uses a learned linear transformation and a softmax to convert the decoder output to predicted next-token probabilities. | Vaswani et al., Attention Is All You Need (arXiv:1706.03762) (opens in a new tab)arxiv.org | 18 Nov 2026 | |
| sampling draws by probability; greedy takes the likeliest | Sampling randomly selects a token from the probability distribution over the vocabulary, as opposed to greedy search, which takes the most likely token. | Hugging Face Transformers: Generation strategies (opens in a new tab)huggingface.co | 18 Nov 2026 | |
| temperature below 1 means less randomness; 0 means the likeliest token | A temperature below 1 decreases randomness, and 0 is equivalent to shifting all probability mass to the most likely token. | Hugging Face Transformers: Utilities for generation (TemperatureLogitsWarper) (opens in a new tab)huggingface.co | 18 Nov 2026 | |
| temperature returns an error from API version 2026-10-21 | From Claude API version 2026-10-21, a request that sends temperature, top_p or top_k returns a 400 error, even at the default value; prompting guides behaviour instead. | Anthropic, Claude docs: Migrating to API version 2026-10-21 (opens in a new tab)platform.claude.com | 18 Nov 2026 | |
| stops at an end-of-sequence token or a length limit | Generation runs up to a predefined length or until the model produces an end-of-sequence token. | Hugging Face Transformers: Text generation (opens in a new tab)huggingface.co | 18 Nov 2026 | |
| end_turn · max_tokens · stop_sequence | Claude reports why it stopped: end_turn when it completed naturally, max_tokens when it reached your limit, stop_sequence when it emitted one of your stop sequences. | Anthropic, Claude docs: Handling stop reasons (opens in a new tab)platform.claude.com | 18 Nov 2026 |
Retrieval
| Figure | What it says | Source | Used on | Read |
|---|---|---|---|---|
| parametric and non-parametric memory (Lewis et al., 2020) | RAG models combine a pre-trained seq2seq generator (parametric memory) with a dense vector index (non-parametric memory) accessed by a neural retriever. | Lewis et al., Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (arXiv:2005.11401) (opens in a new tab)arxiv.org | 18 Nov 2026 | |
| chunks of usually no more than a few hundred tokens | Anthropic's Contextual Retrieval post describes breaking the knowledge base into smaller chunks of text, usually no more than a few hundred tokens. | Anthropic, Introducing Contextual Retrieval (opens in a new tab)anthropic.com | 18 Nov 2026 | |
| numerical representations that measure semantic similarity | Claude's docs describe text embeddings as numerical representations of text that let you measure semantic similarity; Anthropic does not offer its own embedding model. | Anthropic, Claude docs: Embeddings (opens in a new tab)platform.claude.com | 18 Nov 2026 | |
| the same model, or one its maker says is compatible | Voyage AI says all embeddings created with its 4 series are compatible with each other; queries and documents are embedded with compatible models. | Voyage AI docs: Text embeddings (opens in a new tab)docs.voyageai.com | 18 Nov 2026 | |
| 49% fewer failed retrievals; 67% with reranking | Anthropic reports Contextual Retrieval (contextual embeddings plus contextual BM25) can reduce failed retrievals by 49%, and by 67% when combined with reranking; contextual embeddings alone gave 35%. | Anthropic, Introducing Contextual Retrieval (opens in a new tab)anthropic.com | 18 Nov 2026 | |
| exact passages that support each claim | Claude's citations return the exact passages from provided documents that support each claim in an answer. | Anthropic, Claude docs: Citations (opens in a new tab)platform.claude.com | 18 Nov 2026 | |
| grounding reduces hallucinations but doesn't eliminate them | Anthropic's guide suggests allowing Claude to say it doesn't know, using direct quotes and restricting answers to provided documents, and notes these techniques reduce hallucinations but don't eliminate them. | Anthropic, Claude docs: Reduce hallucinations (opens in a new tab)platform.claude.com | 18 Nov 2026 |
Agents
| Figure | What it says | Source | Used on | Read |
|---|---|---|---|---|
| LLMs using tools based on environmental feedback in a loop | Anthropic describes agents as typically just LLMs using tools based on environmental feedback in a loop. | Anthropic, Building effective agents (opens in a new tab)anthropic.com | 18 Nov 2026 | |
| stopping conditions, such as a maximum number of iterations | Anthropic notes it is common to include stopping conditions, such as a maximum number of iterations, and recommends testing agents in sandboxed environments with guardrails. | Anthropic, Building effective agents (opens in a new tab)anthropic.com | 18 Nov 2026 | |
| the model asks, you execute, you report back | Claude responds with stop_reason tool_use; your application runs each tool and sends tool_result blocks back; this repeats while the stop reason is tool_use. | Anthropic, Claude docs: How tool use works (opens in a new tab)platform.claude.com | 18 Nov 2026 | |
| treat every command as untrusted input; validate with an allowlist | Claude's bash tool docs say your application runs whatever command Claude requests, so treat it as untrusted input and validate it with an allowlist rather than a blocklist. | Anthropic, Claude docs: Bash tool (Security) (opens in a new tab)platform.claude.com | 18 Nov 2026 | |
| a person confirms actions with real-world consequences | Claude's computer use docs suggest asking a human to confirm decisions that might result in meaningful real-world consequences. | Anthropic, Claude docs: Computer use tool (opens in a new tab)platform.claude.com | 18 Nov 2026 |
Derived figures
| Figure | What it says | Source | Used on | Read |
|---|---|---|---|---|
| 3 lessons | Foundations has three lessons. | Counted from the Foundations lessonsDerived | 18 Nov 2026 | |
| 22 min of stepping | The three lessons take 6, 8 and 8 minutes, 22 minutes in all. | Counted from the Foundations lessonsDerived | 18 Nov 2026 | |
| 21 steps | The three lessons have seven steps each, 21 in all. | Counted from the Foundations lessonsDerived | 18 Nov 2026 | |
| 9 checkpoint questions | Each lesson ends with a three-question checkpoint, nine in all. | Counted from the Foundations lessonsDerived | 18 Nov 2026 |
Each figure is re-read from its source by its re-check date. Regulatory summaries support engineering design and are not legal advice.