The fact that this video is free to watch feels illegal. It really speaks volumes about Andrej. What a stunning explanation. It takes incredible skill and expertise to be able to explain such a complex topic this intuitively and simply. All I can say is thank you from the bottom of my heart that you offer videos like this for free. What an amazing man!
@Rumblerist5 ай бұрын
Wholeheartedly agree, there are lots of videos that take a stab at explaining the core of how a neural network works, this is by far the most simple yet conveys the fundamentals to the core of how neural networks work. Thanks @Andrej
@ian-haggerty5 ай бұрын
@@Rumblerist All the best math boils down to timesing stuff and adding stuff.
@ian-haggerty5 ай бұрын
And timesing stuff is basically an abstraction of adding stuff.
@yusuf.isyaku5 ай бұрын
Thank you for writing this.
@magnetsec5 ай бұрын
time to go to jail ig
@peterdann643 Жыл бұрын
Simply stunning. I'm a 72 year old fiction writer with rudimentary computer programming skills whose son works professionally in this area. I wanted to gain a better understanding of the technology he's working with, and writes scientific papers about, and now I feel I've made a great start in that direction. Wonderful!
@BarDots315 Жыл бұрын
You're a great father never change!!
@hamdanalameri2885 Жыл бұрын
what an amazing father you are, My dad also tries to keep up with all the technologies just so he can understand and get to bond with his children. I want you to know that we appreciate you guys and love you.
@ClayMole11 ай бұрын
You're awesome! May I ask, how has it been to work as a fiction writer? Would you recommend it?
@manishj515411 ай бұрын
All the people fawning over him, you do realize he started with saying he is a "fiction writer". Granted that it's pretty cool if this isn't fiction.
@semtex641210 ай бұрын
@@manishj5154 he's likely backpropagating
@kemalatayev2 жыл бұрын
Just and FYI for those following at home. If you are getting an error at 1:54:47 you should add __radd__ into your Value class similar to __rmul__. It will allow the order of addition to not matter. I don't think it was shown in the earlier sections.
@adamderose94682 жыл бұрын
ty, i needed this at t=6422 in order to sum(wi*xi for wi, xi in zip(self.w, x)) + self.b
@CarlosGranier Жыл бұрын
@@adamderose9468 Thanks Adam. This had me stumped.
@karanshah1698 Жыл бұрын
Underrated comment...
@lidiahyunjinkwon7138 Жыл бұрын
OMG, thank you so much. It was driving me nuts.
@jamesb43 Жыл бұрын
That’s comforting. I thought I just missed it. Good on you for sharing this
@nyariimani7281 Жыл бұрын
This reminds me of my college courses, except it's way better in three ways: 1) Here the speaker really does know what he's talking about. 2) I can stop and rewind, get definitions, and practice myself before moving on to the next step over and over, so I can get the most out of the next step because I actually had the time to understand the last step. 3) I can do this over several days so I can keep coming back when I'm fresh and present. You are a gem and I really, really appreciate you creating this.
@fhools Жыл бұрын
When I'm confused about deep learning, I go back to this video and it calms me. It shows that there is a simple explanation waiting for someone like Andrej to show the light.
@FireFly9696 ай бұрын
Yep I watched a 52 hours course on pytorch, I was learning how to build a neural network but not how neural network works, which is a stupid thing from me, and a good lesson, to learn how things works if you want to learn it.
@mehulsuthar75545 ай бұрын
@@FireFly969 mind sharing the course. please
@cardiderekАй бұрын
im more confused now
@carlosgruss728914 күн бұрын
Crazy that some of the most talented/knowledgeable people on the planet just come out here on KZbin and offer to teach the world for free. Makes you feel hopeful about humanity in a way :)
@DrKnowitallKnows2 жыл бұрын
Andrej, the fact that you're making videos like this is AMAZING! Thank you so much for doing this. I will be spending some quality time with this one tonight (and probably tomorrow lol) and can't wait for the next one. Thank you, thank you, thank you!
@2ndfloorsongs2 жыл бұрын
And thank you for your videos, Dr Know It All. Always appreciate them.
@mattphorwich2 жыл бұрын
I was stoked to discover Andrej sharing the knowledge on these videos as well!
@lonnybulldozer84262 жыл бұрын
You made love to the video?
@0GRANATE02 жыл бұрын
And what happend? Do you now understand DNN?
@ShahafAbileah5 ай бұрын
From github: "Potentially useful for educational purposes." What an understatement. Thank you so much for this video.
@shubh92075 ай бұрын
I don't understand why I understood each and every thing that Andrej explained. Such a gem of an instructor. Loved how he showed the actual implementation of tanH in the PyTorch library. This video is around 2 hours and 30 minutes long but I took 2 weeks to understand it completely.
@robl39 Жыл бұрын
Finally… someone who understands it well enough to explain it to a beginner. This is hands down the best NN video on the Internet. Thanks a ton!
@GregX9992 жыл бұрын
OMG! This is the first time I've ever TRUELY understood what's actually going on when training a NN. I've tried to learn so many times, but everyone else seems to make it so unnecessarily complex. Thanks for this!
@ophello2 жыл бұрын
It’s spelled “truly.”
@khaldrogo9451 Жыл бұрын
@@ophello giggity
@pooroldnostradamus Жыл бұрын
@@ophello Excuse his poor training dataset
@veganath Жыл бұрын
@@ophello an example of backpropagation, you have no doubt adjust Greg's waits...lol
@sidg11 Жыл бұрын
@@veganath it's spelled weights ...
@peters9725 ай бұрын
You walked the razor thin edge of going too fast or leaving steps out, or going to slow and making them want to skip, like a magician. (you must have backpropagated the consequence of almost every word, to come up, with the perfect lecture with the lowest loss!) Thanks you so much Andrej, even I was able to keep up, and I am going to show off my knowledge at the pub and library.
@ThetaPhiPsi2 жыл бұрын
This is the single best explanation of backprop in code that I've seen so far. I've once implemented a neural network from scratch, except autograd, so Micrograd is a good fit and so clear and accessible. Thanks Andrej!
@leslietetteh7292 Жыл бұрын
Actually true. And exactly the same, I've once implemented a neural network from scratch, and I broadly understood, but this is the best explanation of backpropagation I've seen. Excellent work.
@harshmalik34705 ай бұрын
I can't even comprehend the level of mastery it must take, to be able to distill such a complex topic in such a simple format, and the humility to give it our for free so that others may learn. Thankyou so much Andrej for doing this, you're truly amazing.
@aieverythingsfine2 ай бұрын
yeah it was really impressive tbf
@OlabodeAdedoyin2 жыл бұрын
The weird sense of accomplishment I felt when I visualised (draw_dot) the all the operations in its full glory is unreal 😂. Thank you for this 🙏. I'm a software engineer that has been trying to truly understand neural nets for a year now. I'm not sure you understand how much this means for me. I really appreciate you 🙏
@sanketgadge90606 күн бұрын
i FEEL THE POWER!!!
@kuoldeng45689 ай бұрын
Thank you for taking the time to do this. I'm a MSc Economics grad hoping to understand how neural networks work to start an AI startup, and your lecture is a perfect balance between depth and simplicity. Not everyone posses a natural talent for teaching and you have it!
@nkhuang13902 жыл бұрын
It takes real talent, dedication and complete mastery of the subject matter to breakdown difficult technical topics so clearly. Its also clear that Andrej is having fun while he elucidates. This is simply the most amazing series of educational videos on the internet on these topics. I hope you continue to put out more material like these.
@__amkhrjee__3 ай бұрын
I am mind blow by the sheer simplicity & clarity of your explanation. You are an inspiration.
@gabrieldornelles93102 жыл бұрын
I'm really inspired by you as an educator, and I'm very happy to see you sharing your knowledge in a lecture after a long time!
@OMGinsane3 ай бұрын
I'm an extreme beginner and am learning so much from this video! Only 24 minutes in and I'm learning so much by listening to parts then writing the code and finally asking ChatGPT to dissect the code further so i can learn how specific things work. Thanks so much!
@krebul2 жыл бұрын
I'm a traditional dev and I have tried a lot of different guides and tutorials on neural networks. This is the first time I have been able to understand it. I'm about 1/3 through the video and it's 2am. Thanks for your excellent breakdown!!!
@0GRANATE02 жыл бұрын
Did you finish the Video? Do you now understand it? Are you able to read papers in this area and implement them?
@brenok Жыл бұрын
@@0GRANATE0 Is this some kind of suggestive question?
@lennixplayzpokemon1239 Жыл бұрын
Great video! Thank you. Just in case anybody else struggles with this ... I had a hard time wrapping my head around how the backpropagation functions work for the respective operations in the Value class. For example the def __add__(self, other) adds the _backward function that sets "self.grad = 1.0 * out.grad". When the function _backward is explicitly called it does not set the values for the instance itself but for the children, even though the function definition in the value class says 'self'. I figured the reason is that at class instantiation time e.g. when we execute c=a*b, self and other are set as references to a and b respectively while out references c. These references are stored in the out object the operation returns. So when c._backward() is called explicitly at a later point in time self refers to the 'child' of c as the reference was created when we ran c=a*b.
@bycloudAI2 жыл бұрын
This is literally gold, you have explained everything so intuitively and made it so much easier to understand! Thank you so much Andrej for sharing this in-depth knowledge for free!
@ophello2 жыл бұрын
You literally don’t know what “literally” means.
@flflflflflfl Жыл бұрын
@@ophello Not necessarily. One can use a word incorrectly while still knowing its true meaning.
@SOMEONE-jg6jg Жыл бұрын
love your videos bro
@writethatdown1008 ай бұрын
@@ophello I know this is a year old comment, and my reply is pointless, but _technically_ 🤓Merriam Webster lists "used in an exaggerated way to emphasize a statement or description that is not literally true or possible" as one of the definitions. People define the dictionary. Not the other way around. And yes, it *literally* doesn't matter at all, but it annoyed me that you were wrong when trying to _correct_ somebody else's well meaning compliment.
@hagenfinley8112 Жыл бұрын
I was a Philosophy major at CAL (I tell people in spite of that I have prospered ;-) with really no math or computer science training and weak python skills. I mention philosophy because the primary skill one acquires studying philosophy is to read things you don't understand. With that in mind, I embarked on reading Ian Goodfellow's Deep Learning and Andrew Ng's Deep Learning Coursera courses. On that flimsy foundation (there's so much my weak mind still doesn't understand), I began this video's journey. Andrej very generous explanation is so helpful. I especially appreciate the lack of mathematical notation which is prevalent in the other works. Andrej employs seemingly simple math equations in python which made his training much more accessible to a novice like me. I deeply grateful he took the time to create this simple step by step explanation. I should only have to watch it 100 more times.
@bergonius2 жыл бұрын
Great teacher with great background and expertise. We're lucky to have him spending his time to share his knowledge with anyone who wants to learn, for free. Looking forward to more videos.
@notkamara2 жыл бұрын
He's great! He even has an old KZbin cubing channel (Badmephisto) and his tutorials there are awesome too!
@alisaad679 Жыл бұрын
@@notkamara omg i learned how to solve a rbx cube from him decades ago thats crazy, now im learnning neural networks, crazy how the world works
@siddharthdhirde9 ай бұрын
I appreciate that you did not edit out your mistakes in the video. It helped me to understand the common pitfalls in building neural network.
@treksis2 жыл бұрын
This video reminds me of my old numerical analysis professor who forced us to draw every interpolation problem by hand as an assignment. We drew all the tangent lines with a ruler and a protractor like a kid in primary school. We were complaining because that was just a few lines of code in Matlab, but in the end, that really helped us to develop true intuition behind it. Thanks for the intuitive video.
@ChenqianJing-g5w Жыл бұрын
Our professor highly recommended us to use your video to learn more about back propagation. You explained it so well. Thank you so much for making this video, this video really helped our study and understanding!
@SrikarDurgi6 ай бұрын
You've got a good prof. Many feel insecure and don't recommend anything good.
@agehall2 жыл бұрын
When I took my AI course some 20 years ago, people were pretty depressed because things were too hard to compute and there was very little future in this type of thing. Awesome to see the simplicity in this and how powerful it is. We’ve really come far in the field of AI.
@FireFly9696 ай бұрын
Thank you so much Mr Andrey kaparthey, I watched and practice a pytorch course of like 52 hours and it was awesome, but after watching your video, it's seems that I was more of like learning how to build a neural network, more then how neural network works. With your video I know exactly how it works, and iam planning to watch all of this playlist, and see all of almost all your blog posts ❤ thank you and have a nice day.
@anatolianlofi2 жыл бұрын
This is probably the simplest, most well-paced explanation of back-propagation I've seen on KZbin. I wish everyone would break down information in this way. Thank you.
@Kobe292618 ай бұрын
Its really sad; we don't pay the smartest people enough to be teachers. You think about it and its atrocious; the problem is actually worse - people like Andrej are coopted by big corporations where their expertise and research can be hidden behind a wall of NDAs
@SnehilwАй бұрын
Nothing but gratitude for you Andrej. I love to watch all your talks and explanations. Very refreshing, energizing, motivating, clear and concise. I can watch 100 hrs of your talks at a stretch without loosing attention. Very captivating! Kudos! And thank you for this great community service!
@imtexaspete2 жыл бұрын
"remember back in your calculus class?...." nope. I'm subscribing anyway whenever I need a humble reminder that I don't know anything and there are people way way smarter than I am.
@omkarajagunde41752 жыл бұрын
W O W Same realisation 🙌🙌😔😔😔
@Forrest_dev2 жыл бұрын
It's never too late to learn.
@vidbina2 жыл бұрын
The beautiful part of tech is the feeling of constantly being mind blown when realizing how little one knows and how much there is to learn. Studying micrograd has been on my list for a while thanks to George Hotz and this series is making the owning of this context so much easier. Loving it. ❤️
@ycombine1053 Жыл бұрын
Not smarter, more experienced. You are capable of understanding all of this given enough time and dedication.
@pastuh Жыл бұрын
If someone can explain, means its simple
@JonnyDaenen8 ай бұрын
Wow, I have been following several courses and trainings on neural nets, but this is exactly what I needed: a non-black-box approach that shows me in code how things work. All the abstractions are much more clear to me now! E.g. why a loss function needs to be differentiable, why you would need batches, etc. It’s all just one big expression… Awesome work, Andrej! 🚀 thank you for making this available! 🙏
@raphaelkalandadze96912 жыл бұрын
What an astonishing lecture, the best explanation of backprops, and the whole cycle is so intuitive and easy to understand. I wish I had a teacher like that. I would know everything 100 times better than I do now. Somebody is still saying that a child will learn everything on his own, but I bet everyone will be a genius if Andrej teaches them and all of you are happy you attended his lectures at Stanford. I wish I had such an explanation skill one day I'm glad to see you on KZbin, and I hope you continue this series in the future I have a lot more to say, but I hope to tell you in person one day thank you 100 times
@6Azamorn911 ай бұрын
This is enormously valuable knowledge and I'm grateful for your insight and how exceptionally well you are at teaching the fundamentals. Thank you Andrej
@roddlez2 жыл бұрын
As someone who took Stanford's CS231n back in 2016 purely through watching the lectures and working though each assignment, this definitely strikes me as getting back to your educational roots. I do wonder how difficult it will be for others who do not have the background to approach this material. Conceptually, thinking about the training process of forward pass, calculating the loss, backprop, nudge on modern NNs with billions of parameters: from a computation standpoint, this requires many simultaneous reads from and updates to memory to/from the CPU/GPU, even for a single pass of data. Thinking from first principles, it would seem advantageous to assemble a custom computer architecture that would allow the entire NN math function (with billions of parameters) to remain in computational memory (registers) while doing forward and back propagation, thus saving time trying to load/unload/store updated values for weights and biases? Is there a company that's attempting to accomplish such a feat?
@AndrejKarpathy2 жыл бұрын
your insight is exactly right. current computer architectures spend most of their time and energy shuttling data to/from memory, through the "von Neumann bottleneck", and calculating little pieces of the neural net at a time. this is not how it should be laid out and it is not how the brain works either, and yes many people are aware and working out various improvements. basically, "classical software" and "neural net software" need very different hardware for optimum efficiency and all the neural nets today run in "emulation mode".
@roddlez2 жыл бұрын
@@AndrejKarpathy Amazing. Super excited for the future of ML.
@elonfc2 жыл бұрын
@@AndrejKarpathy do you have elons phone number?😂
@The_Special_Educator Жыл бұрын
@@AndrejKarpathy You never responded with Elon's phone number. If you want to maintain your credibility you must post Elon's personal phone number, address, and underwear size in the KZbin comment section.
@unchaineddreameralpa Жыл бұрын
Joking
@AhmAsaduzzaman Жыл бұрын
This video on neural network creation is truly enlightening! It brilliantly captures the essence of how neural networks are built, providing a comprehensive understanding of their intricate architecture and function. The way it delves into the creative process behind designing neural networks showcases the immense skill and ingenuity of their creators. Watching this video is an enlightening and inspiring experience that leaves me with a newfound understanding of the creative process behind these powerful computational models.
@ChrisOffner2 жыл бұрын
Amazing tutorial, very cool! I love that you patiently walked through a lot of manual examples - too often educators get self-conscious about showing simple steps more than once and then yada yada yada their way through it, which helps nobody. Love your teaching style and hope to see more.
@wangcwy7 ай бұрын
The best ML tutorial video I have watched this year. I really like detailed example, and how these difficult concepts are explained in a simple manner. What a treat for me to watch and learn!
@kerwinmarkgordo3458 Жыл бұрын
Thank you so much for doing a step by step simulation on how gradient descent works. I am grateful for the passion and effort you make in order to teach. These lessons are very essential as we continue to dive deep into learning.
@incognito77225 ай бұрын
Thanks so much sir. This really goes a long way for me in my career not only in ML but in every other thing. I will make sure to implement this in every single language i learn or have learnt. Once again thank you.
@DrRosik Жыл бұрын
This video is by far the best and most educational I've seen regarding "how NN work", and I have looked very long. For me, even though I thought I knew how NN work and operate, at least to the point that I could use the tools out there to build a simple one. I never fully grasped the details and was always frustrated why I didn't know WHY I had to use a specific setup for my NN, I just "knew" that this is the way to do it. This video explains the basics in such a simple and logical way. Thank you Andrej! And please keep up the good work.
@chrisanderson687 Жыл бұрын
Immediately after completing this video, I went and tried to train my own network to do something: basically I wanted it to simply be able to add the three input numbers, and output 1.0 if the sum is >=2 and 0.0 otherwise. Training data only had the various permutations of 1/0 for the three inputs. So [0,0,0] -> 0, [0,1,0] -> 0, [1,1,0] -> 1 (1+1 =2 >= 2), and etc, ending with [1,1,1] -> 1. My training data never even has an example of the number 2 showing up anywhere, or any other numbers. Now after training, I tried some examples, and of course all the training ones work great, but then I tried: [2, 0, 0] and it output 1! This and other examples worked amazingly well! It "intuited" how to do this math, which feels semi-emergent (though pretty trivial). Just amazing that a network this simple, and with code that I actually understand, has this magical ability. Remarkable.
@akinniyiakinyemi27379 ай бұрын
Will try this as well
@Qattea2 жыл бұрын
Thanks for this Andrej! I love the direction you are taking. I’ve been wanting to learn this and now I get to learn from the best
@notderek7408 Жыл бұрын
Hey Andrej, idk if you'll read this but I wanted to echo others' appreciation for this fantastic introduction. I've been a SWE for many years but always ML-adjacent despite a maths background. This simple video has instilled a lot of intuition and confidence that I actually grasp what these NN's are doing and it's a lot of fuel in my engine to keep diving in. Thank you!
@caseyleemiller12 жыл бұрын
This is an excellent tutorial not only on neural networks but python and Jupyter notebooks as well. Lost sense of self for 2.5 hours and learned a ton! Thank you.
@onthefall9 ай бұрын
No amount of thanks will be enough to show how much I appreciate your lectures. They have inspired me so much! One day I will make amazing things with it just like you told to show my appreciation for you. Thank you sooooo much. 🔥
@chingizabilkasov66252 жыл бұрын
Thank you very much for that lecture Andrej! It really helped to understand and to combine different pieces I learned separately into one structured concept. I especially appreciated that you left the part with the bug on gradient zeroing and made an explanation for it at 2:10:24. Making mistakes and learning from them is so effective and undervalued imo. Thanks a lot!
@王項-c6p18 күн бұрын
Special thanks for your comment! I was thinking for a long time about why zero_grad() wasn't used, and it was only because of your comment that I realized this is a bug that will be explained later.🤣
@oceanicdrop8 ай бұрын
I am dipping my toes into ML and was advised to brush up on my math. Seeing derivatives explained here is a few steps ahead of my current education path but I feel it makes sense the way Andrej explains it! I am even more interested in ML now!
@harrypotter6505 Жыл бұрын
Wow the op nodes you demonstrated this through made it so damn easy to intuit, its crazy, I have no math recall from school and didn't do any advanced math after school, nor coding and I had to watch this whole video in 3 or 5 passes to completely grasp what was happening, it was such an amazing journey to be absolute intimidated with the length of the video, the code, the math... I knew neither, I don't even know python to begin with, yet I was able to derive exactly all the concepts necessary to understand this video thank you so much Andrej!
@galactic_dust4210 ай бұрын
"Derive", yes, i think that's the word ! haha
@tradunskih8 ай бұрын
I feel a lot of gratitude to you Andrej. Your teaching skills are exceptional! The way you approach an explanation that considers broad backgrounds and goes into basics and refreshers from the school time is hard work. I very much respect the time and effort you put into this course and made it available for free, for humanity to improve. Thanks a lot Andrej!
@NFT22 жыл бұрын
I've been working with Python for years and never implemented classes with those operator overrides. Its never too late to go back to the basics. Great video man.
@cantor_dust Жыл бұрын
Fluent Python is a good book if you'd like to understand these overrides, otherwise known as dunder (double-underscore) methods.
@zachli30708 ай бұрын
It's the most apparent and most straightforward explanation of backpropagation and training of neural networks I have ever learned, with effortless work to understand with a minor background in CS and Math!
@nyariimani7281 Жыл бұрын
You are really fun to watch. It's so nice to learn this from someone who really understands how everything works.
@swathichadalavada92442 ай бұрын
Thank you Andrej, Your implementation of neural networks from scratch is impressive! The clarity and simplicity in your code make complex concepts like backpropagation much easier to grasp.
@ajmeryexperiences4186 Жыл бұрын
Every morning I just visit this channel to check whether any video is uploaded or not , waiting for next lectures
@waldof866 ай бұрын
I've learned more following this along in some hours than I've learned in a year's worth of classes. Thank you for being so open with your knowledge
@sanjay-89 Жыл бұрын
This was an exceptional lecture. Just wanted to say thank you for taking the time to make this. I have spent time in university courses, reading books, doing assignments and yet, I truly understood more out of this single lecture than from anything else prior.
@李国瀚-n1x11 ай бұрын
Thank you for implementing backpropagation and automatic differentiation in such an elegant and easy to understand way. This is the most detailed and in-depth beginner's course I have ever seen.
@aamerabbas Жыл бұрын
This was an incredible video. I wish I would have had this when I very first tried to learn about NNs. I would have been able to start my journey with so much more intuition on how things work. Thank you for making this - I will whole heartedly suggest this to anyone who wants to start learning about ML.
@pavelrott311 Жыл бұрын
if anyone is struggling with getting graphviz to import with anaconda you need to install both graphviz and python-graphviz packages using conda or pip. graphviz installation gets bunch of binary files to pkgs directory while python-graphviz gets an actual python module that can be used in your jupyter notebook. you're welcome.
@antweb9 Жыл бұрын
I would like to thank you from the bottom of my heart for making this. I'm a developer myself but this new advent in AI seemed unapproachable. Thanks, for making it clear that no subject is tough if you have a great teacher. I am seriously going to consider this area as a thing I want to do next.
@alirezamogharabi8733 Жыл бұрын
I have been watching educational videos about neural networks for years, but no one had ever taught me like this. I know you since 2016 with your machine learning class videos. Thank you very much for these wonderful tutorials
@keikaku92982 жыл бұрын
CS231 was life-changing for me. You are a fantastic educator. I hope this new endeavor works out for you!!
@cmcq33 Жыл бұрын
This is a combination of topic mastery and communication expertise. I thought I fully understood gradient descent/backprop, and have used it for years. However, I've never dove into manual calculation of gradients because it felt...gratuitous. I'm glad I set aside the 2 hours for this video, however. Now I understand it at the level where I can explain it to an intern at a conceptual level without leaning on formulae and hand-waving, which is a great feeling. Thanks Andrej!
2 жыл бұрын
As a dev, sometimes I follow along some A.I. course so I'm looking forward to follow this one! Thanks for sharing your knowledge.
2 жыл бұрын
Just watched the last bit. The python notation got really intense when Pytorch was introduced. As a non-regular Python dev, I'm going to work out some code snippets to fully grasp the example. But dang, so all the trouble of the gradient descent is "just" to know the direction of the optimization for each node? Very insightful! Is the mathematical capability of computing the local derivative the root cause of the local maximum trap?
@riot121212 Жыл бұрын
truly incredible intuitive teaching. I've got limited compsci and 2nd year calc and i feel like i really understand what you're saying. Thank you thank you thank you
@TylerMeester Жыл бұрын
As a new CS grad trying to prepare for my career and job interviews, it was a real pleasure following alongside you in this video! I had no idea how integral (pun intended) calculus was to neural networks and backpropagation! Mind = BLOWN!
@emmanueladebiyi21098 ай бұрын
Amazing how you broke this down into first principles. I understood a lot of these concepts before now but I'm pleasantly surprised at how much clarity I gained by watching this video. Thank.
@rhydderc127 Жыл бұрын
Thank you so much Andrej. I'm good at coding and bad at maths and this is the first time I've been able to properly understand a lot of this stuff... I just needed someone to explain it in my language :) I went along with the first half in detail, then in the second half I built the same MLP using pytorch tensors just to prove to myself that I understood how this all applies to pytorch, and it all worked great :)
@gamingvillage34147 ай бұрын
This is the best walkthrough with explanations on Neural Nets. This actually explains what happens behind the functions we use in DL libraries. Amazing work by Andrej.
@lawrenceadu-gyamfi4179 Жыл бұрын
Just wanted to say a big thanks to you Andrej and the team working on this. Truly amazing, the clarity with which you explain these things is impressive and inspiring! Looking forward to see the remaining videos and even more. Thanks again!
@freedmoresidume7 ай бұрын
This was truly a spelled-out, exceptional presentation-I was able to code alongside and successfully completed the tutorial. It has significantly enhanced my comprehension of Neural Networks and their learning processes. Greatly appreciated!
@notkamara2 жыл бұрын
Amazing how you taught me how to solve rubiks cubes all those years ago when I was 12 and now at 22 I'm back here again learning backpropagation. You're doing God's work!
@aqgi78 ай бұрын
Same! I learnt F2L all those years ago and now backprop!
@DarokCx Жыл бұрын
Wooow what an introduction! It is by far the best and the easiest to understand. The way you break up and simplify things in a way that we are not loosing the main focus on the WHY we are doing this, is absolutely impressive ! Thanks for sharing your knowledge.
@sam.rodriguez Жыл бұрын
This is fantastic. Thank you Andrej
@AmanBansil Жыл бұрын
I'm pausing frequently each time I encounter something I don't understand and using GPT-4 as an assistant to dive deeper. thank you for this and other amazing instructional videos. I (we) truly appreciate your efforts.
@yuyangzhu8 ай бұрын
Andrej spend 10 hours making 1 hour of content, and the 1 hour content actually worth 10 hours to go through multiple times
@johnmcdonald4514Ай бұрын
Many thanks for taking the time to share Andrej - I recently completed a MIT course on Designing and Building AI products/solutions, and your simple, concrete examples were invaluable to tie many of the concepts together. Well done.
@2ndfloorsongs2 жыл бұрын
Thanks, really cleared up a few confusions for me... And added new ones. Perfect. I'm looking forward to your future videos.
@programmer18409 ай бұрын
Thank you for the video, I have spent about 15 hours following along with this and coding along, looking up the maths and coding syntax along the way. My key learning from this has been that the gradient at each parameter (weight, bias) is the derivative of the loss with respect to this parameter.
@necbranduc2 жыл бұрын
I already know this is going to be good. I remember watching and enjoyin your Stanford lessons on KZbin.
@notgerheinz Жыл бұрын
Brilliant. I have a few years of experience in the field and yet this thing did not get boring to me even one second. Awesome, easy-to-understand way to explain it, thanks! My favourite parts were how you dealt with the bugs which you had overlooked and that you did not re-shoot but fixed them on video. Very instructive!
@mohit99202 жыл бұрын
That was incredible. Never has anyone been able to simplify Neural Networks in this manner for me. Please keep making such videos, you're doing gods work. By god, I mean the imminent AGI :)
@liamroche1473 Жыл бұрын
Prescient. ;)
@KobeeFinsac5 ай бұрын
Thank you Andrej for this incredible and detailed video The clarity with which you explain backpropagation and the construction of micrograd is exceptional. Bravo and thank you for sharing your knowledge with us. You are an immeasurable source of inspiration
@beathoven702 жыл бұрын
Thanks so much for that video Andrej! While watching it i reimplemented micrograd in Javascript (the horror!) and with a few minor tricks got it to work quit nicely, even stuffed the actually train into the MLP class! I've done the Coursera course from Andrew Ng a few years ago and managed to get a full score there, but it still left me wondering a bit at the end how it all really ties together. With your 2 1/2h lecture here it finally clicked for me and now i really understood how it works under the hood!
@AndrejKarpathy2 жыл бұрын
awesome!! :)
@sven-0 Жыл бұрын
Cool, did you publish your code anywhere?
@relja-petrovic Жыл бұрын
This video is a reference on how to teach a subject. Thank you very much for sharing your knowledge!
@punto-y-coma78908 ай бұрын
By far, the best neuronal networks introduction and tutorial ever made on KZbin. Thank you Andrej for sharing your valuable knowledge.
@PKUlijing4 ай бұрын
As a so-called experienced engineer having dwelled in the realm of self-driving cars for 7 years, I find this video so mind-blowing that I feel like I never understood back propagation until today. Simple as it seems, this video should be watched by every student at the end of the deep learning course, and probably every now and then in further studies and professional career. Thank you Andrej.
@markonjegomir87142 жыл бұрын
Nice to see Karpathy going back to making some educational content! 🙂This is a must-watch!
@heliosobsidian3 ай бұрын
Wanted to say thanks for that awesome backpropagation video. I've been scratching my head over this stuff for a while now - had all these bits and pieces floating around in my brain but couldn't quite connect the dots. Your explanation was like a lightbulb moment for me! Everything finally clicked into place. Really appreciate you putting this out there for us to learn from.🙌🙌🙌
@karthikbhaskar9742 жыл бұрын
Wow Andrej! Big Fan of your work. Looking to learn more from you about Neural Networks and you being on KZbin teaching is going to reach billions of people who wants to get into AI and learn from the amazing instructor the world has ever seen. Really loved your Stanford Computer Vision course now looking forward to more awesome content here in KZbin
@sergiman9410 ай бұрын
I am a beginner in the path of AI and this video helps a LOT on how to implement and understand the core components of a neural net, thank you for this video and god bless you 🙏
@angelsancheese2 жыл бұрын
You’re an amazing teacher. Thank you for the video!!
@ajmeryexperiences4186 Жыл бұрын
A good teacher can change the whole world by passing the good knowledge to the world so that they can create a better future for themselves in future
@TheAIEpiphany2 жыл бұрын
58:41 "As long as you know how to create the local derivative - then that's all you need". Ok Karpathy. Next paper title "Local derivatives are all you need". Nice to see you on KZbin! :))
@arsasih59579 ай бұрын
This is the cleanest and easiest to understand explanation of backpropagation by far. Is much easier to understand it looking at how it is implemented and not only the formulas.
@yashsurange76482 жыл бұрын
It is amazing to see an AI leader sharing knowledge here
@rohanshah9593 Жыл бұрын
It feels good to learn from someone well known in the industry. Thank you for sharing. I have learned a lot from a practical perspective and look forward for more. Really appreciate these videos!