Courses
AI Reasoning Models
A 90-minute course that explains how reasoning models relate to conventional LLMs and how they are developed. It covers inference-time scaling, distillation, and reinforcement learning, with short videos, interactive quizzes, and code examples.
Build a Reasoning Model (From Scratch) Course
I recorded these videos to accompany my reasoning book. As you work through the chapters, you can code along with me in PyTorch. We build a verifier for math answers, use it to evaluate inference-time scaling methods, and reuse it to reward correct answers during reinforcement learning. The final video covers distillation.
- Watch the free YouTube playlist (8 videos, 11 hours and 7 minutes)
- Source code and notebooks on GitHub
Build a Large Language Model (From Scratch) Course
- Main course: free LLMs-from-Scratch YouTube playlist
- Source code repository
- Alternative: Manning course with additional structure, bonus lectures, and ad-free viewing
PyTorch in One Hour: From Tensors to Training Neural Networks on Multiple GPUs
This written tutorial aims to introduce you to the most essential topics of the popular open-source deep learning library, PyTorch, in about one hour of reading time. My primary goal is to get you up to speed with the essentials so that you can get started with using and implementing deep neural networks, such as large language models (LLMs).
This tutorial covers the following topics:
- An overview of the PyTorch deep learning library
- Setting up an environment and workspace for deep learning
- Tensors as a fundamental data structure for deep learning
- The mechanics of training deep neural networks
- Training models on GPUs
Introduction to Deep Learning
- Video recordings of an introductory deep learning course
- Code examples are in PyTorch
The deep learning lecture archive links to these course materials.
Introduction to Machine Learning
- Video recordings of an introductory machine learning course
-
Code examples are in scikit-learn and MLxtend
- STAT 451 lecture recordings, notes, and slides from Fall 2020
Courses taught at UW-Madison
Below is a list of courses I taught at the University of Wisconsin-Madison as former professor in the Department of Statistics.
Former students can find my recommendation letter guidelines here.
Fall 2021
Spring 2021
Fall 2020
- STAT 451: Introduction to Machine Learning and Statistical Pattern Classification
- STAT 571: Statistical Methods for Bioscience I

