Shapes, shapes, shapes
The habit of printing shapes after every step fixed most of my early bugs. Great teaching.
Browse
Write the training loop yourself, then build image and text models with PyTorch 2, transfer learning and solid experiment habits
Created by Fatima Idrissi
PyTorch is the most widely used framework for deep learning research and a large share of production work. It is flexible and feels like ordinary Python, which makes it a great tool for learning how neural networks really work.
In this course we do not start with a one line fit call. We start with tensors and gradients, write a training loop by hand and understand every step. Then we build real models: an image classifier, a fine tuned pretrained network and a small text classifier, using the habits that make deep learning projects reproducible and debuggable.
nn.Module and training them with your own looptorch.compileYou should be comfortable with Python and NumPy and know basic machine learning ideas such as training and validation splits, overfitting and evaluation metrics. A GPU is helpful but not required: every exercise runs on a laptop CPU with smaller settings, and a free cloud notebook works for the larger ones.
Machine learning engineer teaching scikit-learn, PyTorch and modern NLP from the ground up
I build and evaluate machine learning models, mostly for text and tabular data. My work covers the whole loop: preparing data, training baselines, trying deep learning when it is worth it, and measuring whether the model actually helps.
In my courses I start with the simplest model that could work and only add complexity when the numbers justify it. You will write the training loop yourself before using higher level tools, so nothing feels like magic.
I also enjoy reading papers and turning the useful parts into small, runnable notebooks.
The habit of printing shapes after every step fixed most of my early bugs. Great teaching.
Writing the loop by hand and then breaking it on purpose taught me more than any high level API.
Fine tuning ResNet on a small plant dataset gave great results with very little data.
Autograd explained from first principles was great. The text section felt a bit shorter than the image one.
Overfitting one batch as a sanity check has already saved me from two broken pipelines.
Mixed precision and torch.compile were explained clearly with honest speed comparisons.
Everything runs on CPU, but some exercises are slow. A cloud notebook made it much better.