Note Wisdom
Notes on Stanford CME295 Lecture 6, covering what reasoning models are, how pass@k actually works, and why verifiable rewards pushed training toward RL and GRPO. Includes the parts of the argument that felt thin.
Institution: Stanford
Original Course: Stanford CME295 Transformers & LLMs | Autumn 2025 | Lecture 6 - LLM Reasoning
Instructor Bio: This lecture is co-delivered by **Afshine Amidi** and **Shervine Amidi**, adjunct faculty at Stanford University's Institute for Computational and Mathematical Engineering (ICME). Afshine Amidi earned his engineering degree from École Centrale Paris in 2016 and a Master of Science from the Massachusetts Institute of Technology in 2017. He currently leads LLM initiatives for promotional writing at Netflix, and previously held roles at Uber and at Google on the Gemini team. He co-authors widely used technical study guides on machine learning, transformers, and algorithms. Shervine Amidi holds B.S. and M.S. degrees in engineering from École Centrale Paris (2016), as well as an M.S. in Computational and Mathematical Engineering from Stanford University (2019). He is a Senior Machine Learning Engineer at Netflix, and previously worked at Google DeepMind on the Gemini team, Google Assistant, and Uber's data science division. He has served as a teaching assistant for multiple core Stanford CS courses and has been an adjunct lecturer at the university since 2021.
Course Description: This lecture explores how LLMs perform complex reasoning and how their reasoning capabilities can be enhanced and evaluated. It covers chain-of-thought prompting, which elicits step-by-step reasoning from models, and more advanced techniques including self-consistency, tree-of-thought search, and reasoning model training. The lecture also introduces Retrieval-Augmented Generation (RAG), a paradigm that combines LLMs with external knowledge retrieval to ground responses in factual information and reduce hallucinations. It discusses how retrieval systems, vector databases, and context window management work together to enable knowledge-intensive applications, and analyzes the tradeoffs between parametric knowledge and retrieved knowledge.
All contents below are exclusive to the paid Word file, NOT available on this web page
Skip hours of watching lectures. Get organized notes, exam prep materials and problem solutions all in one Word file.
Click to see everything included
All contents below are exclusive to the paid Word file, NOT available on this web page

