The AI Engineering Program: Module 5 of 13

Deep Learning & Transformers from Scratch

Train neural networks in PyTorch and build a working mini-GPT, so LLMs stop being a black box.

28guided hours
10lessons
Onlineself-paced

Lessons

Every lesson: deep notes, curated lectures, an animated explainer, a hands-on lab, practice questions and a timed exam.

  1. PyTorch tensors and autograd
  2. The training loop: batches, loss, optimiser, GPU in Colab
  3. Multilayer networks, overfitting and regularisation
  4. Convolutional networks and transfer learning
  5. Tokenisation and embeddings
  6. Attention, built by hand
  7. The transformer block
  8. Build and train a mini-GPT on Indian-language text
  9. Pretrained models from the Hugging Face Hub: pipelines and sentence embeddings
  10. Module project

Tools introduced: PyTorch, Hugging Face

Module project

A from-scratch mini-GPT trained in Colab plus a sentence-embedding semantic search demo, with a write-up of what each component does.