6 ms·
I really enjoy small elegant code demonstrations like this that really allow you to get your hands dirty to try to understand a concept. Another example is Sash
by eachro 3y ago
I really enjoy small elegant code demonstrations like this that really allow you to get your hands dirty to try to understand a concept. Another example is Sasha Rush's gpu puzzles, tensor puzzles
-https://github.com/srush/GPU-Puzzles https://github.com/srush/GPU-Puzzles
-https://github.com/srush/Tensor-Puzzles https://github.com/srush/Tensor-Puzzles
- Scene_Cast2 3y agoIn that case, you might also enjoy https://jaykmody.com/blog/gpt-from-scratch/ https://jaykmody.com/blog/gpt-from-scratch/ (here's the raw code: https://github.com/jaymody/picoGPT/blob/main/gpt2.py https://github.com/jaymody/picoGPT/blob/main/gpt2.py)
- eachro 3y agoThis is really cool! Thanks for sharing :)
- deleted 3y ago[deleted]
- craigching 3y agoAlso micrograd from Andrej Karpathy: https://github.com/karpathy/micrograd https://github.com/karpathy/micrograd