(PyTorch)
Install PyTorch and train a real neural network to read handwritten digits — in about half an hour.
A free, hands-on PyTorch tutorial you can finish in half an hour. Set up Python and PyTorch from scratch, then build and train a real neural network that recognises handwritten digits — the MNIST 'hello world' of deep learning. Copy-paste code the whole way.
PyTorch is the framework behind a huge share of modern AI research and production models — from vision and language to the LLMs powering today's chatbots. This is the on-ramp.
Download 70,000 handwritten digits with torchvision and serve them in batches with a DataLoader.
A small neural network in a dozen lines: flatten the image, two linear layers, a ReLU in between.
The training loop: forward pass, loss, backward pass, optimizer step — and watch the loss fall.