AI Reasoning Models

Course on LinkedIn Learning

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.

Read the course announcement.

Sebastian Raschka presenting the AI Reasoning Models course on LinkedIn Learning, with the four-section course outline on the left


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.

Reasoning models from scratch playlist. Three answers to 6 ร— 7 show how majority voting works and how a verifier assigns rewards for GRPO. In distillation, a student learns from a teacherโ€™s worked solution.


Build a Large Language Model (From Scratch) Course

LLMs from scratch playlist. The words โ€œThe cat satโ€ illustrate tokenization, causal attention, and next-token prediction. The pretrained GPT is then finetuned to classify a text message or follow an instruction.


PyTorch in One Hour: From Tensors to Training Neural Networks on Multiple GPUs

๐Ÿ”ฅ Tutorial Page ๐Ÿ”ฅ

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

HERO


Introduction to Deep Learning

๐Ÿ“š Course Website ๐Ÿ“š

  • 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

๐Ÿ“– Course Website ๐Ÿ“–




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

Spring 2020

Fall 2019

Spring 2019

Fall 2018