Week 5: Bridging to Deep Learning and Hands-on
Week 5 transitions from theory to hands-on deep learning implementation by building an autograd engine from scratch (micrograd), introducing PyTorch tensors and workflows in Google Colab, and reviewing Convolutional Neural Networks (CNNs) alongside a practical recipe for training deep neural networks.
Week 5: Bridging to Deep Learning and Hands-on (Sept. 22 - Oct. 6)
Introduction
Welcome to Week 5 of our AI/ML study group!
This week, we bridge from foundational theory to hands-on practice in Deep Learning.
For a ground-up implementation perspective, we follow Andrej Karpathy’s “Zero to Hero” walkthrough to build an autograd engine and neural network from scratch. We then get practical with PyTorch, our primary deep learning framework, and review Convolutional Neural Networks (CNNs) alongside a general recipe for diagnosing and training Deep Neural Networks effectively.
Let’s write code and bring our theoretical knowledge to life!
Content
5.1 Andrej Karpathy End-to-End Hands-on: Building micrograd
- The spelled-out intro to neural networks and backpropagation: https://www.youtube.com/watch?v=VMj-3S1tku0
5.2 Introduction to Deep Learning Frameworks: PyTorch
- 5.2.1 PyTorch Tutorial I (PDF)
- 5.2.2 PyTorch Tutorial II (PDF)
- 5.2.3 Google Colab (free browser notebooks with GPU access): Colab Tutorial (PDF)
5.3 Optional: Overview of Convolutional Neural Networks (CNNs)
- Overview of CNNs | Prof. Hung-Yi Lee | In Chinese: https://www.youtube.com/watch?v=FrKWiRv254g
5.4 Optional: General DNN Training Recipe
- General DNN Recipe | Prof. Hung-Yi Lee | In Chinese: https://www.youtube.com/watch?v=xki61j7z-30