Playlist · Stanford Online

Stanford CS336: Language Modeling from Scratch | Spring 2026

by Stanford Online · 18 videos

Listed in Best free generative AI and LLM courses on YouTube, ranked by total hours

Total watch time

1d 10m

at 1× speed · exactly 1 day, 9 minutes, 56 seconds at 1×

At an hour a day you'd finish in 25 days

The shape of the course

Each column is one video, to scale

1:29:14

WatchedTo watch

Compare Open on YouTube JSON

Next time, skip the copying: change youtube.com to playlistduration.com in any playlist, video or channel address and it opens here. Or see the total on YouTube itself, with our extension for Chrome, Firefox or Edge.

Your plan

Plan to finish

About 25 days at an hour a day

Pick a daily pace and the days you'll watch. Ticked videos are skipped.

Days

At one hour a day, every day, this playlist takes about 25 days. Turn on JavaScript to plan around your week.

Videos (18)

1d 10m in total · tick what you've watched

Tick videos you've watched — progress is saved in this browser. Titles open on YouTube in a new tab.

Videos to
Watched Leave out of the total
1 Stanford CS336 Language Modeling from Scratch | Spring 2026 | Lecture 1: Overview, Tokenization 1:19:22 2026-04-14
2 Stanford CS336 Language Modeling from Scratch | Spring 2026 | Lecture 2: PyTorch (einops) 1:17:25 2026-04-14
3 Stanford CS336 Language Modeling from Scratch | Spring 2026 | Lecture 3: Architectures 1:29:14 2026-04-15
4 Stanford CS336 Language Modeling from Scratch | Spring 2026 | Lecture 4: Attention Alternatives 1:26:21 2026-04-15
5 Stanford CS336 Language Modeling from Scratch | Spring 2026 | Lecture 5: GPUs, TPUs 1:18:39 2026-04-20
6 Stanford CS336 Language Modeling from Scratch | Spring 2026 | Lecture 6: Kernels, Triton, XLA 1:26:41 2026-04-28
7 Stanford CS336 Language Modeling from Scratch | Spring 2026 | Lecture 7: Parallelism 1:21:03 2026-04-28
8 Stanford CS336 Language Modeling from Scratch | Spring 2026 | Lecture 8: Parallelism 1:20:11 2026-04-28
9 Stanford CS336 Language Modeling from Scratch | Spring 2026 | Lecture 9: Scaling Laws 1:17:57 2026-04-30
10 Stanford CS336 Language Modeling from Scratch | Spring 2026 | Lecture 10: Inference 1:25:30 2026-05-11
11 Stanford CS336 Language Modeling from Scratch | Spring 2026 | Lecture 11: Scaling Laws 1:17:04 2026-05-19
12 Stanford CS336 Language Modeling from Scratch | Spring 2026 | Lecture 12: Evaluation 1:18:34 2026-05-19
13 Stanford CS336 Language Modeling from Scratch | Spring 2026 | Lecture 13: Data (Sources, Datasets) 1:22:02 2026-05-19
14 Stanford CS336 Language Modeling from Scratch | Spring 2026 | Lecture 14: Data 1:24:46 2026-05-27
15 Stanford CS336 Language Modeling from Scratch | Spring 2026 | Lecture 15: Mid/Post-Training 1:19:55 2026-05-27
16 Stanford CS336 Language Modeling from Scratch | Spring 2026 | Lecture 16: Post-Training - RLVR 1:15:51 2026-05-27
17 Stanford CS336 Language Modeling from Scratch | Spring 2026 | Lecture 17: Alignment - Multimodality 1:17:40 2026-06-04
18 Stanford CS336 Language Modeling from Scratch | Spring 2026 | Guest Lecture: Dan Fu 1:11:41 2026-06-05
For your README

Embed a badge

Show the watch time in a README or course description — it links back here and updates itself

Watch time: 1d 10m · 18 videos

Markdown
[![Watch time: 1d 10m · 18 videos](https://playlistduration.com/badge/playlist/PLoROMvodv4rMqXOcazWaTUHhq-yembLCV.svg)](https://playlistduration.com/playlist/PLoROMvodv4rMqXOcazWaTUHhq-yembLCV)
HTML
<a href="https://playlistduration.com/playlist/PLoROMvodv4rMqXOcazWaTUHhq-yembLCV"><img src="https://playlistduration.com/badge/playlist/PLoROMvodv4rMqXOcazWaTUHhq-yembLCV.svg" alt="Watch time: 1d 10m · 18 videos" width="203" height="20"></a>

Add ?speed=1.5 to the image URL for the time at that speed, ?label=Course to change the left text, or ?style=flat-square for square corners.

Want the numbers themselves? GET https://playlistduration.com/api/v1/playlist/PLoROMvodv4rMqXOcazWaTUHhq-yembLCV returns them as JSON — free, no key. API docs →

Data from the YouTube Data API as of 2026-11-14 (cached). Private or deleted videos are excluded from totals.

Changed the playlist? Saved copies are kept up to a week.