References: Prompting, Deployment, and Model Optimization Basics¶
-
Prompt engineering - Wikipedia - Covers zero-shot, few-shot, and chain-of-thought prompting with worked examples across multiple task types, directly supporting the chapter's prompting-technique comparison and cost framing.
-
Retrieval-augmented generation - Wikipedia - Explains the embed-retrieve-augment-generate pipeline, its role in reducing hallucination, and its known limitations, grounding the chapter's RAG and vector-database discussion.
-
Hallucination (artificial intelligence) - Wikipedia - Traces the causes, terminology history, and real-world consequences of model hallucination, the exact risk this chapter's RAG-based grounding techniques are designed to reduce.
-
Speech and Language Processing (3rd ed. draft) - Dan Jurafsky and James H. Martin - Stanford University (online draft) - Credited for one of the clearest published treatments of prompting patterns and in-context learning, using worked examples that have become a standard teaching reference.
-
Natural Language Processing with Transformers - Lewis Tunstall, Leandro von Werra, and Thomas Wolf - O'Reilly Media - Credited for a distinctly hands-on, code-first explanation of model deployment, quantization, and distillation that many practitioner-facing courses have modeled their own explanations on.
-
What is a Vector Database & How Does it Work? - Pinecone - Explains embeddings and vector similarity search with concrete comparisons to traditional databases and standalone indexes, supporting the chapter's RAG infrastructure discussion.
-
What is knowledge distillation? - IBM Think - Explains the teacher-student model compression technique, including response-based, feature-based, and relation-based distillation approaches, and why capability alone is not enough without cost efficiency.
-
What Is In-Context Learning (ICL)? - IBM Think - Practitioner-level explanation of zero-shot, one-shot, few-shot, and chain-of-thought prompting strategies with a worked sentiment-classification example, complementing the chapter's cost-tradeoff framing of each.
-
What is Quantization? - IBM Think - Explains how reducing numerical precision (e.g., FP32 to INT8) shrinks a model's memory footprint and speeds inference, with worked quantization examples.
-
What is LLM Inference? - IBM Think - Defines latency and throughput as inference performance metrics and discusses batching and KV-cache tradeoffs, directly supporting the chapter's serving-speed section.