Talkshelf
EN
返回视频列表

手写 micrograd:理解神经网络与反向传播

Andrej Karpathy

2:25:52 · 2022

学习资料

播放器下方提供英文笔记、测验、闪卡和 PPT 大纲。

PPT 资料为文字大纲,尚非完整演示文稿。

视频概览

Andrej Karpathy《Neural Networks: Zero to Hero》的第一课,用 Python 从零构建小型自动求导引擎 micrograd,逐步解释反向传播与神经网络训练。只需基础 Python 和部分高中微积分知识。

HN 讨论的原因

HN 常推荐它作为深入理解反向传播与神经网络的起点:Karpathy 用直觉解释原理,并通过代码逐步实现。

观看前准备

具备基础 Python、函数和高中求导知识会有帮助。如果想理解梯度如何沿计算图传播,可以从这节课开始。

学习建议

每次反向传播前,先手算一个导数,再与代码结果比较,并解释权重变化如何影响损失。理解标量示例后,再继续学习 makemore。

查看 Andrej Karpathy 学习指南 · 原版 Zero to Hero 课程

机器学习与深度学习 · Python、Ruby 与脚本语言

HN 评论

20 条收录评论

最新优先

jwitthuhn强烈推荐

所在讨论: The Illustrated Transformer

If you have 20 hours to spare I highly recommend this youtube playlist from Andrej Karpathy [VIDEO] It starts with the fundamentals of how backpropagation works then advances to building a few simple models and ends with building a GPT-2 clone. It won't taech you everything about AI models but it gives you a solid foundation for branching out.

jackdoe强烈推荐

所在讨论: The Illusion of Thinking: Strengths and limitations of reasoning models [pdf]

For studying? Mainly watching and re-watching Karpathy's 'Zero To Hero'[1] and Stanford's 'Introduction to Convolutional Neural Networks for Visual Recognition'[2], also a lot of transformers from scratch videos like Umar Jamali's videos[3], and I also study backwards to McCulloch and Pitts. Reading the 30 papers [LINK] and so on. And of course Yannic Kilcher[4], and also listening in on the paper discussions they do…

rottc0dd推荐

所在讨论: Understanding Machine Learning: From Theory to Algorithms

From my other comment elsewhere. These resources helped me understand the topics better. If anyone wants to understand fundamentals of machine learning, one of the superb resources I have found is, Stanford's "Probability for computer scientists"[1]. It goes into theoretical underpinnings of probability theory and ML, IMO better than any other course I have seen. But, this is a primarily a probability course that…

已显示 5 / 20 条评论