Reference
Resources
171 sources in 12 sections. 147 were compared with the live page, 18 were not re-checked.
Sections
How to read the marks
- Checked
- The title and the content were compared with the live source on the date shown.
- Not re-checked
- Well known, but not re-checked. Verify it before you cite it.
Verification: items marked ✔ had their title and authors (papers) or page content (docs) checked against the live source on 2026-10-08 or, where an item says so, 2026-10-09. Items marked ◌ are well known but were not re-checked — verify before citing. Fast-moving docs (MCP, vLLM, provider APIs) change often; re-read the current version.
Foundations and architecture17
- CheckedVaswani et al., Attention Is All You Need — https://arxiv.org/abs/1706.03762
- Checked on Wang et al., Self-Consistency Improves Chain of Thought Reasoning in Language Models — https://arxiv.org/abs/2203.11171
- Checked on Brown et al., Language Models are Few-Shot Learners — https://arxiv.org/abs/2005.14165
- Checked on Anthropic, Reasoning models don't always say what they think — https://www.anthropic.com/research/reasoning-models-dont-say-think
- Checked on Anthropic docs: structured outputs, extended thinking, effort — https://platform.claude.com/docs/en/build-with-claude/structured-outputs , /thinking , /effort
- Checked on OpenAI docs: structured outputs and reasoning guides — https://developers.openai.com/api/docs/guides/structured-outputs , /reasoning
- CheckedWei et al., Chain-of-Thought Prompting Elicits Reasoning in Large Language Models — https://arxiv.org/abs/2201.11903
- CheckedDao et al., FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness — https://arxiv.org/abs/2205.14135
- Checked on Sennrich, Haddow, Birch, Neural Machine Translation of Rare Words with Subword Units — https://arxiv.org/abs/1508.07909
- Checked on Holtzman et al., The Curious Case of Neural Text Degeneration (nucleus sampling) — https://arxiv.org/abs/1904.09751
- Checked on Petrov et al., Language Model Tokenizers Introduce Unfairness Between Languages — https://arxiv.org/abs/2305.15425
- Checked on Thinking Machines Lab, Defeating Nondeterminism in LLM Inference, 2025-09-10 — https://thinkingmachines.ai/blog/defeating-nondeterminism-in-llm-inference/
- Checked on NVIDIA, Mastering LLM Techniques: Inference Optimization, 2023-11-17 — https://developer.nvidia.com/blog/mastering-llm-techniques-inference-optimization/
- Checked on Meta, Introducing Meta Llama 3, 2024-04-18 — https://ai.meta.com/blog/meta-llama-3/
- Checked on tiktoken encodings (
openai_public.py) — https://github.com/openai/tiktoken - Checked on Anthropic, Claude Sonnet 5.5 migration guide (sampling parameters, tokenizer) — https://platform.claude.com/docs/en/models/sonnet-5-5/migration-guide
- Not re-checkedJay Alammar, The Illustrated Transformer; Andrej Karpathy's "Neural Networks: Zero to Hero" videos
Retrieval and RAG10
- CheckedLewis et al., Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks — https://arxiv.org/abs/2005.11401
- CheckedMalkov & Yashunin, HNSW — https://arxiv.org/abs/1603.09320
- CheckedGao et al., Precise Zero-Shot Dense Retrieval without Relevance Labels (HyDE) — https://arxiv.org/abs/2212.10496
- CheckedLiu et al., Lost in the Middle: How Language Models Use Long Contexts — https://arxiv.org/abs/2307.03172
- CheckedAsai et al., Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection — https://arxiv.org/abs/2310.11511
- CheckedYan et al., Corrective Retrieval Augmented Generation — https://arxiv.org/abs/2401.15884
- CheckedEdge et al., From Local to Global: A Graph RAG Approach to Query-Focused Summarization — https://arxiv.org/abs/2404.16130
- Checked on Cormack, Clarke, Büttcher, Reciprocal Rank Fusion outperforms Condorcet and individual Rank Learning Methods, SIGIR 2009 — https://plg.uwaterloo.ca/~gvcormac/cormacksigir09-rrf.pdf
- Checked on Anthropic, Introducing Contextual Retrieval — https://www.anthropic.com/news/contextual-retrieval
- CheckedEs et al., Ragas: Automated Evaluation of Retrieval Augmented Generation — https://arxiv.org/abs/2309.15217
Agents, tools and MCP15
- CheckedYao et al., ReAct: Synergizing Reasoning and Acting in Language Models — https://arxiv.org/abs/2210.03629
- CheckedAnthropic, Building Effective AI Agents (prompt chaining, routing, parallelization, orchestrator-workers, evaluator-optimizer) — https://www.anthropic.com/engineering/building-effective-agents
- CheckedModel Context Protocol, official docs and specification (current revision at check time:
2026-07-28; versioning page) — https://modelcontextprotocol.io/docs/learn/versioning.md and https://modelcontextprotocol.io/ - Checked on MCP 2026-07-28 specification pages: changelog, deprecated features, multi round-trip requests, transports, authorization, security best practices, tools, resources, prompts — base URL https://modelcontextprotocol.io/specification/2026-07-28/
- Checked on Anthropic, Tool use overview — https://platform.claude.com/docs/en/agents-and-tools/tool-use/overview
- Checked on OpenAI, Function calling guide — https://developers.openai.com/api/docs/guides/function-calling
- Checked on Anthropic, How we built our multi-agent research system (2025-06-13) — https://www.anthropic.com/engineering/multi-agent-research-system
- Checked on Anthropic, Effective context engineering for AI agents (2025-09-29) — https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents
- Checked on LangChain, Context engineering for agents (2025-07-02) — https://www.langchain.com/blog/context-engineering-for-agents
- Checked on Chroma, Context Rot (2025-07-14) — https://www.trychroma.com/research/context-rot
- Checked on Yao et al., τ-bench — https://arxiv.org/abs/2406.12045
- Checked on Chen et al., Evaluating Large Language Models Trained on Code (pass@k) — https://arxiv.org/abs/2107.03374
- Checked on Sumers et al., Cognitive Architectures for Language Agents (CoALA) — https://arxiv.org/abs/2309.02427
- Checked on Park et al., Generative Agents — https://arxiv.org/abs/2304.03442
- Checked on Anthropic prompt caching docs — https://platform.claude.com/docs/en/build-with-claude/prompt-caching
Serving and efficiency9
- CheckedKwon et al., Efficient Memory Management for Large Language Model Serving with PagedAttention (vLLM) — https://arxiv.org/abs/2309.06180
- CheckedLeviathan et al., Fast Inference from Transformers via Speculative Decoding — https://arxiv.org/abs/2211.17192
- CheckedvLLM documentation — https://docs.vllm.ai/
- Checked on Anthropic Message Batches API — https://platform.claude.com/docs/en/build-with-claude/batch-processing
- Checked on Anthropic, reducing latency — https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/reduce-latency
- Checked on vLLM docs: optimization guide (chunked prefill, preemption), speculative decoding, automatic prefix caching — https://docs.vllm.ai/en/latest/configuration/optimization.html , /features/speculative_decoding/ , /design/prefix_caching.html
- Checked on Anyscale, Continuous batching (2023-06-22) — https://www.anyscale.com/blog/continuous-batching-llm-inference
- Checked on Zhong et al., DistServe — https://arxiv.org/abs/2401.09670
- Not re-checkedOpenTelemetry GenAI semantic conventions (check current stability status) — https://github.com/open-telemetry/semantic-conventions-genai
Fine-tuning and alignment8
- Checked on Zhang et al., R-Tuning: Instructing Large Language Models to Say 'I Don't Know' (NAACL 2024) — https://arxiv.org/abs/2311.09677
- Not re-checkedOuyang et al., Training language models to follow instructions with human feedback (InstructGPT) — https://arxiv.org/abs/2203.02155
- Not re-checkedQi et al., Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To! — https://arxiv.org/abs/2310.03693
- Checked on Gekhman et al., Does Fine-Tuning LLMs on New Knowledge Encourage Hallucinations? (EMNLP 2024) — https://arxiv.org/abs/2405.05904
- CheckedHu et al., LoRA: Low-Rank Adaptation of Large Language Models — https://arxiv.org/abs/2106.09685
- CheckedDettmers et al., QLoRA: Efficient Finetuning of Quantized LLMs — https://arxiv.org/abs/2305.14314
- CheckedRafailov et al., Direct Preference Optimization: Your Language Model is Secretly a Reward Model — https://arxiv.org/abs/2305.18290
- CheckedHugging Face PEFT library docs — https://huggingface.co/docs/peft
Evaluation and safety10
- CheckedZheng et al., Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena — https://arxiv.org/abs/2306.05685
- CheckedOWASP Top 10 for LLM Applications, 2025 edition (Prompt Injection, Sensitive Information Disclosure, Supply Chain, Data and Model Poisoning, Improper Output Handling, Excessive Agency, System Prompt Leakage, Vector and Embedding Weaknesses, Misinformation, Unbounded Consumption) — https://genai.owasp.org/llm-top-10/
- Checked on OWASP LLM01 Prompt Injection — https://genai.owasp.org/llmrisk/llm01-prompt-injection/
- Checked on OWASP LLM05 Improper Output Handling — https://genai.owasp.org/llmrisk/llm052025-improper-output-handling/
- Checked on OWASP LLM06 Excessive Agency — https://genai.owasp.org/llmrisk/llm062025-excessive-agency/
- Checked on Stripe, idempotent requests (first response stored per key; keys can be pruned) — https://docs.stripe.com/api/idempotent_requests
- Checked on Anthropic, Mitigate jailbreaks and prompt injections — https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/mitigate-jailbreaks
- Checked on OpenAI Moderation guide — https://developers.openai.com/api/docs/guides/moderation
- Checked on Simon Willison, The lethal trifecta for AI agents (2025-06-16) — https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/
- Not re-checkedTools to try: RAGAS, TruLens, DeepEval, LangSmith, Arize Phoenix, promptfoo (compare features on current docs)
Harness engineering (agent harnesses)19
Checked 2026-10-20 against the live pages unless marked. Several are practitioner or vendor posts, not peer-reviewed. The term is recent (early 2026) and who coined it is disputed.
- Checked on Böckeler (Thoughtworks), Harness engineering for coding agent users, martinfowler.com, 2026-04-02 (guides and sensors, computational and inferential controls, keep quality left, harnessability, the behaviour harness, open questions) — https://martinfowler.com/articles/harness-engineering.html
- Checked on Osmani, Agent Harness Engineering, O'Reilly Radar, 2026-05-15 (components, designing from behaviour, the ratchet) — https://www.oreilly.com/radar/agent-harness-engineering/
- Checked on deepset, Harness Engineering, 2026-05-21 (failure layers: context, constraint, verification, planning; the improvement loop) — https://www.deepset.ai/blog/harness-engineering
- Checked on Anthropic Engineering, Effective harnesses for long-running agents, 2025-11-26 (initializer and coding sessions, feature list, progress file, git, testing) — https://anthropic.com/engineering/effective-harnesses-for-long-running-agents
- Checked on Anthropic Engineering, Writing effective tools for agents, 2025-09-11 — https://www.anthropic.com/engineering/writing-tools-for-agents
- Checked on Anthropic Engineering, Building effective agents, 2024-12-19 (the agent-computer interface, workflows versus agents) — https://www.anthropic.com/engineering/building-effective-agents
- Checked on Anthropic Engineering, Introducing advanced tool use (tool search, definition token cost), 2025-11-24 — https://www.anthropic.com/engineering/advanced-tool-use
- Checked on Anthropic Engineering, Effective context engineering for AI agents, 2025-09-29 (context rot, compaction, note-taking, subagents) — https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents
- Checked on Anthropic Engineering, How we built our multi-agent research system, 2025-06-13 — https://www.anthropic.com/engineering/multi-agent-research-system
- Checked on Anthropic Engineering, Demystifying evals for AI agents, 2026-01-09 (pass@k, pass^k, graders, transcripts) — https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents
- Checked on Anthropic Engineering, Making Claude Code more secure and autonomous with sandboxing, 2025-10-20 (file and network isolation, approval fatigue) — https://www.anthropic.com/engineering/claude-code-sandboxing
- Checked on Claude Code documentation, Hooks (lifecycle events, which events can block) — https://code.claude.com/docs/en/hooks
- Checked on Willison, The lethal trifecta for AI agents, 2025-06-16 — https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/
- Checked on Microsoft Learn, Agent Harness (Agent Framework; page dated 2026-09-19) — https://learn.microsoft.com/en-us/agent-framework/concepts/harness
- Checked on Wikipedia, Agent harness (definition; the disputed origin of "harness engineering") — https://en.wikipedia.org/wiki/Agent_harness
- Checked(2026-10-20, secondary) InfoQ, summary of OpenAI's harness-engineering report, 2026-02-21 (a docs directory as the source of truth; layered architecture checked by structural tests) — https://www.infoq.com/news/2026/02/openai-harness-engineering-codex
- Not re-checkedOpenAI, Harness engineering: leveraging Codex in an agent-first world (February 2026). The page returned HTTP 403 when checked on 2026-10-20, so none of its figures are used in the course — https://openai.com/index/harness-engineering
- Not re-checkedHashimoto (February 2026) on fixing the agent environment after each mistake, and Trivedy (LangChain), Anatomy of an Agent Harness: named in the Wikipedia article, not located or fetched — search the titles
- Not re-checkedBenchmark gains reported from harness-only changes come from posts without full methodology; check the benchmark's own site before citing a number
LangChain, LangGraph and LangSmith21
Checked 2026-10-21 against the live documentation pages unless marked. Product names, plans and parameter names change often: confirm against your pinned version before quoting an exact name.
- Checked on LangChain docs, Overview (create_agent as a minimal, configurable harness; LangGraph and LangSmith relationship; Deep Agents) — https://docs.langchain.com/oss/python/langchain/overview
- Checked on LangChain docs, What's new in LangChain 1.0 (create_agent, middleware, content blocks, langchain-classic) — https://docs.langchain.com/oss/python/releases/langchain-v1
- Checked on LangChain docs, Versioning (semantic versioning; breaking changes only in major releases; deprecations) — https://docs.langchain.com/oss/python/versioning
- Checked on LangChain docs, Models (init_chat_model, invoke, stream, batch, bind_tools, with_structured_output, max_retries) — https://docs.langchain.com/oss/python/langchain/models
- Checked on LangChain docs, Structured output (response_format, ProviderStrategy, ToolStrategy, handle_errors) — https://docs.langchain.com/oss/python/langchain/structured-output
- Checked on LangChain docs, Tools (the tool decorator, ToolRuntime, hidden runtime parameter, tool errors) — https://docs.langchain.com/oss/python/langchain/tools
- Checked on LangChain docs, Retrieval (two-step, agentic and hybrid RAG; retriever interface) — https://docs.langchain.com/oss/python/langchain/retrieval
- Checked on LangChain docs, Agents, Middleware overview, Built-in middleware, Custom middleware (hooks, execution order, jump_to) — https://docs.langchain.com/oss/python/langchain/middleware/custom
- Checked on LangChain docs, Short-term memory (checkpointer, thread_id, state_schema, trimming, summarising) — https://docs.langchain.com/oss/python/langchain/short-term-memory
- Checked on LangChain docs, Multi-agent (subagents, handoffs, skills, router, custom workflow) — https://docs.langchain.com/oss/python/langchain/multi-agent
- Checked on LangChain docs, Streaming (updates, messages, custom) — https://docs.langchain.com/oss/python/langchain/streaming
- Checked on LangChain docs, Migrate to LangChain 1.0 — https://docs.langchain.com/oss/python/migrate/langchain-v1
- Checked on LangGraph docs, Overview, Graph API, Use the graph API, Choosing between the Graph and Functional APIs — https://docs.langchain.com/oss/python/langgraph/graph-api
- Checked on LangGraph docs, Persistence, Add memory, Interrupts, Use time travel — https://docs.langchain.com/oss/python/langgraph/interrupts
- Not re-checkedLangGraph docs, Durable execution (durability modes exit, async, sync): the page fetch returned persistence content on 2026-10-21; the modes were read from search-result excerpts of the official page — https://docs.langchain.com/oss/python/langgraph/durable-execution
- Checked on LangSmith docs, Observability concepts, Trace with LangChain, Mask inputs and outputs, Automation rules — https://docs.langchain.com/langsmith/observability-concepts
- Checked on LangSmith docs, Evaluation concepts, Evaluate an LLM application — https://docs.langchain.com/langsmith/evaluation-concepts
- Checked on LangSmith docs, Deployments, Agent Server, Double texting, Custom auth, Application structure, Background runs — https://docs.langchain.com/langsmith/agent-server
- Not re-checkedLangChain docs on the LCEL concepts page: the old address redirects to the overview, so the pipe-composition statements rest on the langchain-core reference index and the vault; check the langchain-core reference — https://reference.langchain.com/python/langchain_core/
- Not re-checkedLangSmith dashboards, alerts, Studio, the local development server and CLI flags, and the trajectory-evaluation packages: not read in this pass; check the current docs before quoting
- Not re-checkedAlternatives to LangSmith and other agent frameworks: generic trade-offs only, no sources fetched
Inference engineering (LLM serving)25
Checked 2026-10-21 against the live pages unless marked. Hardware and engine pages change quickly; the dates are when each was read. Papers were read at the arXiv abstract unless noted.
- Checked on NVIDIA NIM benchmarking documentation, LLM metrics (TTFT, ITL, end-to-end latency, tokens per second, requests per second) — https://docs.nvidia.com/nim/benchmarking/llm/latest/metrics.html
- Checked on NVIDIA Technical Blog, Mastering LLM Techniques: Inference Optimization, 2023-11-17 — https://developer.nvidia.com/blog/mastering-llm-techniques-inference-optimization/
- Checked on kipply, Transformer Inference Arithmetic, 2022-03-30 (2P FLOPs per token, the memory-bound latency bound, the critical batch size) — https://kipp.ly/transformer-inference-arithmetic/
- Checked on Williams, Waterman and Patterson, Roofline, UC Berkeley technical report UCB/EECS-2008-134, 2008-10-17 (abstract page only) — https://www2.eecs.berkeley.edu/Pubs/TechRpts/2008/EECS-2008-134.html
- Checked on NVIDIA product pages for H100, A100 80 GB, H200 and DGX B200 (memory, bandwidth and "with sparsity" peaks; the product pages print no dense figure, so the lessons halve the sparse figure) — https://www.nvidia.com/en-us/data-center/h100/ · https://www.nvidia.com/en-us/data-center/a100/ · https://www.nvidia.com/en-us/data-center/h200/ · https://www.nvidia.com/en-us/data-center/dgx-b200/
- Checked on Kwon et al., PagedAttention (vLLM), arXiv 2309.06180, read in full via ar5iv (20.4 to 38.2 percent of KV memory used for token states in earlier systems; default block size 16) — https://arxiv.org/abs/2309.06180
- Checked on Yu et al., Orca, OSDI 2022 (iteration-level scheduling; abstract page) — https://www.usenix.org/conference/osdi22/presentation/yu
- Checked on Agrawal et al., Sarathi-Serve, arXiv 2403.02310 — https://arxiv.org/abs/2403.02310
- Checked on Zhong et al., DistServe, arXiv 2401.09670 · Patel et al., Splitwise, arXiv 2311.18677 · Qin et al., Mooncake, arXiv 2407.00079 — https://arxiv.org/abs/2401.09670 · https://arxiv.org/abs/2311.18677 · https://arxiv.org/abs/2407.00079
- Checked on Leviathan et al., Fast Inference from Transformers via Speculative Decoding, arXiv 2211.17192, formulas read via ar5iv · Li et al., EAGLE, arXiv 2401.15077 · Cai et al., Medusa, arXiv 2401.10774 — https://arxiv.org/abs/2211.17192 · https://arxiv.org/abs/2401.15077 · https://arxiv.org/abs/2401.10774
- Checked on Dao et al., FlashAttention, arXiv 2205.14135 · FlashAttention-2, arXiv 2307.08691 · Shah et al., FlashAttention-3, arXiv 2407.08608 — https://arxiv.org/abs/2205.14135 · https://arxiv.org/abs/2307.08691 · https://arxiv.org/abs/2407.08608
- Checked on Dettmers et al., LLM.int8(), arXiv 2208.07339 · Frantar et al., GPTQ, arXiv 2210.17323 · Lin et al., AWQ, arXiv 2306.00978 · Xiao et al., SmoothQuant, arXiv 2211.10438 · Micikevicius et al., FP8 Formats for Deep Learning, arXiv 2209.05433 — https://arxiv.org/abs/2208.07339 · https://arxiv.org/abs/2210.17323 · https://arxiv.org/abs/2306.00978 · https://arxiv.org/abs/2211.10438 · https://arxiv.org/abs/2209.05433
- Checked on Ainslie et al., GQA, arXiv 2305.13245 · DeepSeek-AI, DeepSeek-V2, arXiv 2405.04434 · DeepSeek-AI, DeepSeek-V3, arXiv 2412.19437 · Jiang et al., Mixtral of Experts, arXiv 2401.04088 — https://arxiv.org/abs/2305.13245 · https://arxiv.org/abs/2405.04434 · https://arxiv.org/abs/2412.19437 · https://arxiv.org/abs/2401.04088
- Checked on Zheng et al., SGLang (RadixAttention), arXiv 2312.07104 (abstract only) · Sheng et al., S-LoRA, arXiv 2311.03285 · Shoeybi et al., Megatron-LM, arXiv 1909.08053 (abstract; Section 3 checked for two all-reduces per layer in the forward pass) · Dong et al., XGrammar, arXiv 2411.15100 — https://arxiv.org/abs/2312.07104 · https://arxiv.org/abs/2311.03285 · https://arxiv.org/abs/1909.08053 · https://arxiv.org/abs/2411.15100
- Checked on Llama 3 architecture table (layers, heads, KV heads), The Llama 3 Herd of Models, arXiv 2407.21783, read via ar5iv — https://arxiv.org/abs/2407.21783
- Checked on vLLM documentation: prefix caching design, optimization guide (preemption, chunked prefill), quantization compatibility table, quantized KV cache, speculative decoding, structured outputs, parallelism and scaling, LoRA adapters, metrics design, benchmarking CLI, CUDA graph design, Run:ai Model Streamer — https://docs.vllm.ai/
- Checked on TensorRT-LLM overview · SGLang repository README · Text Generation Inference repository (maintenance-mode notice, archived 2026-03-21) — https://nvidia.github.io/TensorRT-LLM/overview.html · https://github.com/sgl-project/sglang · https://github.com/huggingface/text-generation-inference
- Checked on NVIDIA Technical Blog, Getting Started with CUDA Graphs, 2019-09-05 — https://developer.nvidia.com/blog/cuda-graphs/
- Checked on He and Thinking Machines Lab, Defeating Nondeterminism in LLM Inference, 2025-09-10 — https://thinkingmachines.ai/blog/defeating-nondeterminism-in-llm-inference/
- Checked on Google, Site Reliability Engineering, chapter on monitoring distributed systems (symptoms and causes, the four golden signals) — https://sre.google/sre-book/monitoring-distributed-systems/
- Checked(2026-10-21, abstract only) Dean and Barroso, The Tail at Scale, CACM 2013 — https://research.google/pubs/the-tail-at-scale/
- Checked(2026-10-21, abstract only) Pope et al., Efficiently Scaling Transformer Inference, arXiv 2211.05102 (self-reported figures on PaLM 540B; not used in the lessons) — https://arxiv.org/abs/2211.05102
- Not re-checkedThe vault lists Sarathi-Serve as arXiv 2308.16369. That ID is the earlier paper SARATHI: Efficient LLM Inference by Piggybacking Decodes with Chunked Prefills (2023-08-31). Sarathi-Serve is 2403.02310, which the lessons use.
- Not re-checkedNot read: the AMD Instinct MI300X page (the fetch timed out; AMD numbers are not used), the PDF text of the NVIDIA H100 datasheet (the dense-from-sparse halving rests on the product pages and secondary summaries of the datasheet footnote), the body text of the SGLang paper (the radix-tree structure is flagged in the lesson)
- Not re-checkedThroughput and speed-up figures in the papers and in vendor posts come from their own setups; benchmark your own traffic (lesson 6) before quoting any of them
Fine-tuning in depth (module m15)31
Checked 2026-10-21 by reading the arXiv abstract or the ar5iv text of the paper, or the documentation page, as noted. Library and product names change often: confirm against your pinned version before quoting an exact name or default.
- Checked on Rajbhandari et al., ZeRO (model-state bytes and per-stage per-device formulas, ar5iv text) — https://arxiv.org/abs/1910.02054
- Checked on Kaplan et al., Scaling Laws for Neural Language Models (compute of about 6N per training token, section 2.1) — https://arxiv.org/abs/2001.08361
- Checked on Hu et al., LoRA (abstract, sections 4 and 7, ar5iv text) — https://arxiv.org/abs/2106.09685
- Checked on Dettmers et al., QLoRA (NF4, double quantisation, paged optimisers, ar5iv text) — https://arxiv.org/abs/2305.14314
- Checked on Biderman et al., LoRA Learns Less and Forgets Less (abstract) — https://arxiv.org/abs/2405.09673
- Checked on Ovadia et al., Fine-Tuning or Retrieval? Comparing Knowledge Injection in LLMs (abstract) — https://arxiv.org/abs/2312.05934
- Checked on Gekhman et al., Does Fine-Tuning LLMs on New Knowledge Encourage Hallucinations? (EMNLP 2024; abstract) — https://arxiv.org/abs/2405.05904
- Checked on Zhou et al., LIMA: Less Is More for Alignment (abstract and data sections) — https://arxiv.org/abs/2305.11206
- Checked on Lee et al., Deduplicating Training Data Makes Language Models Better (abstract) — https://arxiv.org/abs/2107.06499
- Checked on Brown et al., Language Models are Few-Shot Learners (13-gram overlap method for contamination, ar5iv text) — https://arxiv.org/abs/2005.14165
- Checked on Carlini et al., Extracting Training Data from Large Language Models (abstract) — https://arxiv.org/abs/2012.07805
- Checked on Shumailov et al., The Curse of Recursion (abstract) — https://arxiv.org/abs/2305.17493
- Checked on Ouyang et al., InstructGPT (reward-model loss and KL-penalised objective, ar5iv text) — https://arxiv.org/abs/2203.02155
- Checked on Rafailov et al., Direct Preference Optimization (loss and gradient, ar5iv text) — https://arxiv.org/abs/2305.18290
- Checked on Azar et al., IPO — https://arxiv.org/abs/2310.12036
- Checked on Ethayarajh et al., KTO — https://arxiv.org/abs/2402.01306
- Checked on Hong et al., ORPO — https://arxiv.org/abs/2403.07691
- Checked on Meng et al., SimPO — https://arxiv.org/abs/2405.14734
- Checked on Shao et al., DeepSeekMath (introduces GRPO) — https://arxiv.org/abs/2402.03300
- Checked on DeepSeek-AI, DeepSeek-R1 (rule-based rewards) — https://arxiv.org/abs/2501.12948
- Checked on Gao, Schulman and Hilton, Scaling Laws for Reward Model Overoptimization — https://arxiv.org/abs/2210.10760
- Checked on Qi et al., Fine-tuning Aligned Language Models Compromises Safety (abstract) — https://arxiv.org/abs/2310.03693
- Checked on Ilharco et al., Editing Models with Task Arithmetic; Yadav et al., TIES-Merging; Yu et al., DARE (abstracts) — https://arxiv.org/abs/2212.04089 , https://arxiv.org/abs/2306.01708 , https://arxiv.org/abs/2311.03099
- Checked on Hinton, Vinyals and Dean, Distilling the Knowledge in a Neural Network (abstract) — https://arxiv.org/abs/1503.02531
- Checked on Hugging Face docs: PEFT LoRA reference and developer guide; TRL SFT Trainer and reducing memory usage; Transformers chat templating; Accelerate gradient accumulation — https://huggingface.co/docs/peft/package_reference/lora , https://huggingface.co/docs/peft/main/en/developer_guides/lora , https://huggingface.co/docs/trl/sft_trainer , https://huggingface.co/docs/trl/reducing_memory_usage , https://huggingface.co/docs/transformers/en/chat_templating , https://huggingface.co/docs/accelerate/usage_guides/gradient_accumulation
- Checked on PyTorch FSDP documentation (first 100,000 characters of the page) and DeepSpeed ZeRO tutorial — https://docs.pytorch.org/docs/2.14/fsdp.html , https://www.deepspeed.ai/tutorials/zero/
- Checked on vLLM LoRA adapters documentation; Sentence Transformers loss overview — https://docs.vllm.ai/en/latest/features/lora.html , https://sbert.net/docs/sentence_transformer/loss_overview.html
- Checked on scikit-learn grouped cross-validation; datasketch MinHash LSH — https://scikit-learn.org/stable/modules/cross_validation.html , https://ekzhu.com/datasketch/lsh.html
- Not re-checkedWei et al., FLAN, https://arxiv.org/abs/2109.01652 · Wang et al., Self-Instruct, https://arxiv.org/abs/2212.10560 · Houlsby et al., adapters, https://arxiv.org/abs/1902.00751 · Liu et al., DoRA, https://arxiv.org/abs/2402.09353 · Kalajdzievski, rsLoRA, https://arxiv.org/abs/2312.03732 · Hayou et al., LoRA+, https://arxiv.org/abs/2402.12354 — from the Study vault's reading list, arXiv numbers not link-checked here
- Not re-checkedZhao et al., PyTorch FSDP, https://arxiv.org/abs/2304.11277 · Micikevicius et al., Mixed Precision Training, https://arxiv.org/abs/1710.03740 · Chen et al., gradient checkpointing, https://arxiv.org/abs/1604.06174 · Schulman et al., PPO, https://arxiv.org/abs/1707.06347 · Lambert et al., Tulu 3, https://arxiv.org/abs/2411.15124 · Bai et al., Constitutional AI, https://arxiv.org/abs/2212.08073 — from the vault's reading list, not fetched
- Not re-checkedHosted fine-tuning products, WiSE-FT, mergekit, and the vault's hyperparameter and replay-data ranges: no source fetched, so the lessons state no specifics
Study aids on this site6
- Top 100 priority questions · The core RAG pipeline · RAG interview drills and mock · Coding, project defense and mock rounds
- Harness engineering: the module · interview bank
- LangChain ecosystem: the module · interview bank
- Inference engineering: the module · interview bank
- Fine-tuning: the module · interview bank
- Hands-on: Projects
How to use0
Read one paper or doc after each module's lessons. Write a 5-line note (problem, idea, result, limitation, interview angle). Rule: if you can't explain it without the page open, it isn't learned yet.