Deep learning, transformers and generative AI

Months 8–100/5

How today's AI actually works, from neural networks to large language models, ending with a GPT you build yourself.

This phase explains how today's AI (image models, chatbots, large language models) actually works. Start with intuition, then build a small model yourself.

1. Intuition first (a weekend)

  • 3Blue1Brown, Neural Networks series (YouTube, free): the best visual explanation of neurons, gradient descent, backpropagation, transformers and attention.

2. One main course (choose by learning style)

CourseStyleTimeCost
fast.ai, Practical Deep Learning for CodersTop-down: build working models on day one, theory laterAbout 2 months part timeFree
Deep Learning Specialization (Andrew Ng, Coursera)Bottom-up: math and fundamentals firstAbout 3 months part timeAudit free; certificate paid
MIT 6.S191, Introduction to Deep LearningFast, current lecture series with labsAbout 2 weeks intensiveFree

3. Build a language model from scratch

4. Go deeper on language models

Concepts to master

  • Architectures: feed-forward networks, convolutional networks (vision), recurrent networks and why transformers replaced them, attention and self-attention.
  • Training: loss functions, optimizers (SGD, Adam), learning rates, batch size, overfitting, dropout, normalization, transfer learning.
  • How LLMs are made: tokenization, embeddings, next-token prediction pre-training on huge text corpora, scaling laws, then fine-tuning and reinforcement learning from human feedback (RLHF) or similar methods to make them helpful and safer.
  • Using LLMs well: prompting, context windows, retrieval-augmented generation (RAG), tool use, fine-tuning vs prompting trade-offs.
  • Other generative models: diffusion models for images and video; multimodal models that combine text, images and audio.
  • Limits: hallucination, bias from training data, sensitivity to prompts, the gap between benchmark scores and real-world reliability.

Tools

PyTorch (most research and fast.ai), Hugging Face transformers, Google Colab or Kaggle for free GPUs.

Free books: Dive into Deep Learning and Michael Nielsen's Neural Networks and Deep Learning.

Phase 4 checklist0 of 5 done · saved in this browser