PyTorch
Tensors, autograd and neural networks in Python.
💡
This course has 3 lessons. Start with the first one and use the next / previous links at the bottom of each lesson — the sidebar keeps the whole course in order.
Lessons
- Tensors and autogradThe core data structure, moving work to the GPU, and the automatic differentiation that makes training possible.
- The training loopA complete, correct training and evaluation loop — loss, optimiser, batching, and validation that you can trust.
- Modules, data and savingWriting models as nn.Module, feeding data with Dataset/DataLoader, and persisting weights correctly.
More in AI & Intelligent Development
AI Basics AI Agents Machine Learning Ollama
Last refreshed 2026-09-17.