Save this video free

12/02/26: Lect-12 (cont.)

Joseph Zambreno · 1:15:51 · Watch on YouTube

Part of Iowa State EE/CPRE/CYBE 3250. See all 13 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Joseph Zambreno explains how supervised fine-tuning and human or programmatic feedback turn a pretrained next-token model such as GPT-3 into an assistant, while comparatively small post-training choices shape response quality and style. He connects assistant behavior to serving costs and hardware: prompt prefill is compute-intensive, token decoding is memory-bandwidth-intensive, and batching, KV-cache size, model sparsity, and quantization affect performance, pricing, and what can be inferred from model releases.

Key takeaways

Chapters

0:00 From GPT-3 Base Models to Useful Assistants
5:00 InstructGPT Shows the Value of Post-Training
10:00 Supervised Fine-Tuning Adds Human-Written Examples
15:00 Preference Rankings Train a Reward Model
20:00 RLHF, PPO, and Direct Preference Optimization
25:00 Chat Templates Turn Conversations into Token Streams
30:00 Conversation Memory Replays the Context
35:00 Temperature, Top-K, and Top-P Shape Generation
40:00 Prefill and Decode Have Different Hardware Bottlenecks
45:00 Batching Improves GPU Utilization and Raises Isolation Questions
50:00 KV-Cache Growth Limits Context and Concurrent Users
55:00 Prefill, Decode, and Cache Hits Explain API Pricing
1:00:00 Control Token Costs by Managing Prompts and Outputs
1:05:00 Next-Token Prediction Still Has Knowledge Limits
1:10:00 Sparse Experts, Compression, and Model-Card Transparency

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:00 Let's go ahead and get started. So, where we left off on Monday is starting to understand that transition between basically just a model and an assistant, right? Between a large language model and then maybe a useful product. And some of that is technical, some of that is less technical. Uh where we left off was really talking about sort of the balance between size of model and the amount of compute that was dedicated to training the model and starting to understand some of the scale of the training that was happening with those models and how there is something of a trade-off that for a fixed compute budget. You get to decide how much of that is really dedicated to the particular parameters and how much is really just for the tokens being used for what what we're now referring to as that pre-training process. Well, today's really all about then the post-training side of things. So, a term we hadn't

0:48 really used before. We thought of training as this entirely offline pre model deployment kind of thing. But now when we start to talk about how we go from language models to more useful assistance. Uh it is really about how one kind of tweaks the results of that very large pre-training run to generate a piece of software that is more useful than just what a raw model itself would be able to generate from you. And that this is the discovery that made GPT3 uh you know fairly famous right the understanding that if you train a big enough model just to predict the next token as we're doing it can actually learn new tasks from just the prompt alone and the distinction between zero one and fshot itself isn't that important but other you know it can

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Joseph Zambreno.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.