Live data from Hacker News

Neural Networks: Zero to Hero

karpathy.ai

61–70 of 71 posts

Re: Neural Networks: Zero to Hero

#61

This course together with the new fastai ones [1] seem to be exactly what I was looking for. The micrograd video is excellent. [1] https://course.fast.ai

I tried this course a few weeks ago but quickly got stuck after finetuning the first model that detects cats (first example). The finetuning part works but I was never able to get it to infer (python kept crashing complaining that an object didn't have a read function).

Hopefully, I'll manage to get further with this course.

Re: Neural Networks: Zero to Hero

#62
post #34

Anybody tried the lessons in an Apple MBA/MBP M1/M2? Is it easily applicable?

It should be completely fine, you don't really need a GPU to do this course. Maybe the exercises right at the end you won't get good performance, but the exact performance isn't all that important.

Re: Neural Networks: Zero to Hero

#63
post #16

I'm doing an ML apprenticeship [1] these weeks and Karpathy's videos are part of it. We've been deep down into them. I found them excellent. All concepts he illustrates are crystal clear in his mind (even though they are complicated concepts themselves) and that shows in his explanations. Also, the way he builds up everything is magnificent. Starting from basic python classes, to derivatives and gradient descent, to…

Do you run the code as you watch? I’ve been simply watching them on a palm from a hammock and I’m worried I’m not getting the full experience.

Running the code helps with understanding and developing practical skills.

Watching only is much nicer for entertainment.

Re: Neural Networks: Zero to Hero

#64
post #6

Wonderful! Just went through the GPT video the other day and it was great. Andrej has a talent for pedagogy via simplification.

He is a master educator. While at Stanford he developed their undergrad machine learning intro course named cs231n which immediately became legendary. It's somewhat out of date on some details but it's still well worth watching especially as delivered by Andrej. You can find all 11 lectures on YouTube.

https://youtube.com/playlist?list=PLkt2uSq6rBVctENoVBg1TpCC7...

Re: Neural Networks: Zero to Hero

#65
post #50

Earlier quoted context omitted.

Approximately 40 cents USD for 15 minutes from cursory research.

I'm completely unfamiliar with this market. Do you rent these on AWS? Or where?

If you're ok with 24GB you can use a 3090 https://www.genesiscloud.com/pricing for 0.70$/h

Re: Neural Networks: Zero to Hero

#67

My hive mind connection must be good because I literally finished this course yesterday. It was very satisfying to learn how transformers worked, to finally be able to turn the obscure glyphs of the research papers into real code, but I think transformers are too big for what I can do on my own computer. The author mentioned that the toy transformer he was building in the final video took 15 minutes to train on his A…

I made a smaller GPT model that started from Andrej's code that converges to a decent loss in a short amount of time on an A100 -- just under 2.5 minutes or so: https://github.com/tysam-code/hlb-gpt

With the original hyperparameters, it was 30-60 minutes, with a pruned down network and adjusted hyperparameters, about 6 minutes, and a variety of optimizations beyond that to bring it down.

If you want the nano-GPT basically feature-identical (but pruned down) version, 0.0.0 at ~6 minutes or so is your best bet.

You can get A100s cheaply and securely through Colab or LambdaLabs.

Re: Neural Networks: Zero to Hero

#69

I'm doing an ML apprenticeship [1] these weeks and Karpathy's videos are part of it. We've been deep down into them. I found them excellent. All concepts he illustrates are crystal clear in his mind (even though they are complicated concepts themselves) and that shows in his explanations. Also, the way he builds up everything is magnificent. Starting from basic python classes, to derivatives and gradient descent, to…

That apprenticeship looks interesting, could I ask you a few questions about it?

My email address is first part of my username (before the “-“) at blueheart dot io.

Re: Neural Networks: Zero to Hero

#70
post #62
post #34

Anybody tried the lessons in an Apple MBA/MBP M1/M2? Is it easily applicable?

It should be completely fine, you don't really need a GPU to do this course. Maybe the exercises right at the end you won't get good performance, but the exact performance isn't all that important.

Thanks.
Post reply on HN