Save this video free

Scaling laws + exam review

Mohit Iyyer · 1:11:05 · Watch on YouTube

Part of University of Maryland CMSC 723. See all 20 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

Mohit Iyyer reviews the 40-question, handwritten-cheat-sheet exam and then explains how scaling laws use small-model experiments to predict language-model loss and choose model size and training data under a compute budget. He derives the approximate training-cost formula 6ND, describes the Chinchilla finding of about 20 training tokens per parameter, and explains why inference costs can favor smaller models trained on more data.

Key takeaways

Chapters

0:00 Exam Format: 40 Multiple-Choice Questions and a Handwritten Cheat Sheet
4:57 Practice Question Types: Attention Windows, Perplexity, and Nonlinearities
7:57 Exam Coverage: Mixture of Experts, Attention Masks, and KV Caches
13:37 Why Scaling Laws Matter: Predicting Results Before Expensive Training Runs
18:37 Emergent Abilities: Task Performance Versus Training Compute
24:52 Training Loss, Downstream Tasks, and Generalization
30:39 Scaling-Law Variables: Parameters, Tokens, Compute, and Loss
38:03 Power-Law Fits and the Limits of Extrapolating to Larger Models
41:33 Counting FLOPs in Transformer Matrix Multiplications
48:42 From Forward and Backward Passes to the 6ND Training Estimate
55:03 Fixed-Compute Tradeoffs and Early OpenAI Scaling Laws
1:01:28 Chinchilla’s Compute-Optimal Rule: About 20 Tokens per Parameter
1:04:03 Chinchilla’s Loss Equation: Model Penalty, Data Penalty, and Entropy
1:09:03 Inference Economics: Why Production Models May Favor More Data

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

Transcript excerpt

0:08 Okay. >> Uh let's get started. So today uh first of all it's it's been a while actually. Our next class is actually the exam. So um yeah that was uh I actually forgot about the fall break. So I came here on Monday and was ready to give the scaling laws lecture. And um anyway, it's one less topic for you guys to uh study on the exam. So, uh what I'm going to do today is um first do a brief review of the format of the exam, some of the things that you can expect that uh will be on it and will not be on it and comparisons to last year's exam one. Um and then we will uh go through the last topic on pre-training that um is still

0:58 fair game for the exam which is uh scaling laws and how we can use um results of small models to predict how larger models will behave. Um okay so I will just get started then um with the exam review part. Um so the format will be identical to the uh exam from the previous year. Um if you haven't looked at that already, it's in the resources section on Piaza. There are two exams from last year. The first exam um covers a lot of the same topics that uh your exam will cover. Uh it was also focused on pre-training. So um as a review

1:46 uh this exam will have 40 multiplechoice questions. Um so for each of these questions there will be four options only one of the answers is correct. Um so uh pretty straightforward. um you'll have the full class period to do it and we are um very strict about making sure you end on time. So none of

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, Mohit Iyyer.

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.