Live Online Classes in Design, Coding & AI — Small Classes, Free Retakes
Lead AI-Native Products with Microsoft's Agentic AI Program
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Explore common sampling methods used in modern natural language processing through this lecture from CMU's Advanced NLP course. Learn about the fundamental diversity-quality tradeoffs that occur when generating text with large language models, examining how different sampling techniques affect both the variety and coherence of generated outputs. Discover practical approaches to balancing creativity and accuracy in text generation, understanding when to prioritize diverse outputs versus high-quality, predictable results. Gain insights into the mathematical foundations and real-world applications of various sampling strategies used in contemporary NLP systems, with detailed analysis of how these methods impact model performance across different tasks and domains.
Syllabus
CMU LLM Inference (3): Common Sampling Methods
Taught by
Graham Neubig