Appendix 3: References
Sources cited in Chapters 4 to 7 are collected here by chapter, in the order they were cited. References for Chapters 1 to 3 currently remain at the end of those chapters until the publisher-reviewed Word versions are backported; the Apress edition gathers all of them alphabetically in Appendix References.
Chapter 4
- Ouyang et al. Training Language Models to Follow Instructions with Human Feedback. 2022.
- Wang et al. Self-Instruct: Aligning Language Models with Self-Generated Instructions. 2022.
- Hugging Face. Chat Templating documentation.
- Hugging Face TRL. SFTTrainer documentation.
- Hu et al. LoRA: Low-Rank Adaptation of Large Language Models. 2021.
- Dettmers et al. QLoRA: Efficient Finetuning of Quantized Language Models. 2023.
- Schulman et al. Proximal Policy Optimization Algorithms. 2017.
- Williams. Simple Statistical Gradient-Following Algorithms for Connectionist Reinforcement Learning. 1992.
- Rafailov et al. Direct Preference Optimization: Your Language Model is Secretly a Reward Model. 2023.
- Hong et al. ORPO: Monolithic Preference Optimization without Reference Model. 2024.
- Schick et al. Toolformer: Language Models Can Teach Themselves to Use Tools. 2023.
- Qin et al. ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs. 2023.
- Patil et al. Gorilla: Large Language Model Connected with Massive APIs. 2023.
- OpenAI. Function Calling documentation.
- OpenAI. Introducing Structured Outputs in the API. 2024.
- Lewis et al. Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. 2020.
- Lightman et al. Let’s Verify Step by Step. 2023.
- Wang et al. Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotations. 2023.
- Shao et al. DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models. 2024.
- Liu et al. Understanding R1-Zero-Like Training: A Critical Perspective (Dr. GRPO). 2025.
- Zheng et al. Group Sequence Policy Optimization. 2025.
- Yu et al. DAPO: An Open-Source LLM Reinforcement Learning System at Scale. 2025.
- Yan et al. Learning to Reason under Off-Policy Guidance (LUFFY). 2025.
- Zelikman et al. STaR: Bootstrapping Reasoning With Reasoning. 2022.
- Zhang et al. ReST-MCTS*: LLM Self-Training via Process Reward Guided Tree Search. 2024.
- Hinton et al. Distilling the Knowledge in a Neural Network. 2015.
- Kim, Rush. Sequence-Level Knowledge Distillation. 2016.
- Chen et al. Knowledge Distillation of Black-Box Large Language Models. 2024.
Chapter 5
References
- Vaswani et al. Attention Is All You Need. 2017.
- Devlin et al. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. 2019.
- Raffel et al. Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer (T5). 2020.
- Radford et al. Improving Language Understanding by Generative Pre-Training (GPT). 2018.
- Radford et al. Language Models are Unsupervised Multitask Learners (GPT-2). 2019.
- Brown et al. Language Models are Few-Shot Learners (GPT-3). 2020.
- Ouyang et al. Training Language Models to Follow Instructions with Human Feedback (InstructGPT). 2022.
- Chowdhery et al. PaLM: Scaling Language Modeling with Pathways. 2022.
- Touvron et al. LLaMA: Open and Efficient Foundation Language Models. 2023.
- Touvron et al. Llama 2: Open Foundation and Fine-Tuned Chat Models. 2023.
- Bai et al. Qwen Technical Report. 2023.
- Qwen Team. Qwen2 Release Notes. 2024.
- Qwen Team. Qwen2.5 Release Notes. 2024.
- Jiang et al. Mistral 7B. 2023.
- Jiang et al. Mixtral of Experts. 2024.
- Du et al. GLM: General Language Model Pretraining with Autoregressive Blank Infilling. 2022.
- DeepSeek-AI. DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model. 2024.
- DeepSeek-AI. DeepSeek-V3 Technical Report. 2024.
- DeepSeek-AI. DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning. 2025.
- Parmar et al. Nemotron-4 340B Technical Report. 2024.
- OpenCompass. A Universal Evaluation Platform for Foundation Models. 2023.
- Gao et al. A Framework for Few-Shot Language Model Evaluation (lm-evaluation-harness). 2023.
- Liang et al. Holistic Evaluation of Language Models (HELM). 2023.
- Hugging Face. Open LLM Leaderboard. 2023.
- Chiang et al. Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preference (LMSYS). 2024.
- Papers with Code. Machine Learning Research & Benchmarks. 2019.
- Hendrycks et al. Measuring Massive Multitask Language Understanding (MMLU). 2021.
- Rein et al. GPQA: A Graduate-Level Google-Proof Q&A Benchmark. 2023.
- Suzgun et al. Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Them (BBH). 2022.
- Cobbe et al. Training Verifiers to Solve Math Word Problems (GSM8K). 2021.
- Hendrycks et al. Measuring Mathematical Problem Solving with the MATH Dataset. 2021.
- Chen et al. Evaluating Large Language Models Trained on Code (HumanEval). 2021.
- Austin et al. Program Synthesis with Large Language Models (MBPP). 2021.
- Jimenez et al. SWE-bench: Can Language Models Resolve Real-World GitHub Issues?. 2024.
- Zheng et al. Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena. 2023.
- Dubois et al. AlpacaFarm / AlpacaEval: An Automatic Evaluator for Instruction-Following Models. 2023.
- Lin, Hilton, Evans. TruthfulQA: Measuring How Models Mimic Human Falsehoods. 2022.
- Shi et al. Language Models are Multilingual Chain-of-Thought Reasoners (MGSM). 2022.
- Clark et al. TyDi QA: A Benchmark for Information-Seeking Question Answering in Typologically Diverse Languages. 2020.
- Artetxe, Ruder, Yogatama. On the Cross-lingual Transferability of Monolingual Representations (XQuAD). 2020.
- Bai et al. LongBench: A Bilingual, Multitask Benchmark for Long Context Understanding. 2023.
- Kamradt. Needle in a Haystack — Pressure Testing LLMs. 2023.
- Yue et al. MMMU: A Massive Multi-discipline Multimodal Understanding and Reasoning Benchmark. 2024.
- Lu et al. MathVista: Evaluating Mathematical Reasoning of Foundation Models in Visual Contexts. 2023.
- Liu et al. MMBench: Is Your Multi-modal Model an All-around Player?. 2023.
Chapter 6
- NVIDIA. H100 Tensor Core GPU Datasheet. 2023.
- Dao et al. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness. 2022.
- Kwon et al. Efficient Memory Management for Large Language Model Serving with PagedAttention. 2023.
- Ainslie et al. GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints. 2023.
- vLLM Project. vLLM Documentation (Automatic Prefix Caching, Chunked Prefill, Structured Outputs, Disaggregated Prefilling). 2024.
- NVIDIA. TensorRT-LLM Documentation (In-Flight Batching, Paged KV Cache, Chunked Prefill, Guided Decoding, Speculative Decoding). 2024.
- SGLang Team. SGLang Documentation (RadixAttention, Structured Outputs, Quantized KV Cache, LoRA Serving, PD Disaggregation). 2024.
- Hugging Face. Text Generation Inference Documentation (Continuous Batching, Paged Attention, Guidance, Monitoring). 2024.
- Chen et al. Accelerating Large Language Model Decoding with Speculative Sampling. 2023.
- Cai et al. Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads. 2024.
- Wang et al. Self-Consistency Improves Chain of Thought Reasoning in Language Models. 2023.
- Zhang et al. H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models. 2023.
- Xiao et al. Efficient Streaming Language Models with Attention Sinks. 2023.
- Li et al. SnapKV: LLM Knows What You Are Looking For Before Generation. 2024.
- Liu et al. KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache. 2024.
- Hooper et al. KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization. 2024.
- Lin et al. AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration. 2024.
- Xiao et al. SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models. 2023.
- Frantar et al. GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers. 2023.
- PyTorch Blog. Quantization-Aware Training for Large Language Models with PyTorch. 2024.
- Frantar & Alistarh. SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shot. 2023.
Chapter 7
- OpenAI. A Practical Guide to Building Agents. 2025.
- Anthropic. Building Effective Agents. 2024.
- Anthropic. Effective Context Engineering for AI Agents. 2025.
- Anthropic. Equipping Agents for the Real World with Agent Skills. 2025.