workofart/ml-by-hand
View on GitHub ↗ ★ 110 Python
A deep learning library built from scratch with complex neural networks examples built on top for learning purposes.
12 mentions on Hacker News by 2 people: 3 stories, 9 comments · first 2025-02-08 · latest 2026-08-14
20082026
-
…in chronological order. The philosophy is the same: "What I cannot create, I do not understand." https://github.com/workofart/ml-by-hand
comment by megadragon9 · 2026-08-14 · in AI by Hand -
…numpy-primitives all the way to building a PyTorch clone that can pre-train and post-train LLMs ( https://github.com/workofart/ml-by-hand ). My learning focus was on the math/calculus <-> high-level APIs, instead of efficiency. I'm glad to…
comment by megadragon9 · 2026-06-20 · in Show HN: Microcrad – Micrograd Reimplemented in C -
▲ 1
GPT-2 124M checkpoint pre-trained on OpenWebText 27.5B tokensstory by megadragon9 · 2026-06-17 · 1 comment
-
…bench tasks and to collect some data across different models (harness-bound vs model-bound). [1] https://github.com/workofart/ml-by-hand [2] https://github.com/workofart/harness-experiment [3] https://www.henrypan.com/blog/2026-05-25-self-i…
comment by megadragon9 · 2026-06-14 · in Ask HN: What are you working on? (June 2026) -
…are still cooking, since training on my MacBookPro is quite slow with "unoptimized PyTorch" :) 1. https://github.com/workofart/ml-by-hand 2. https://github.com/workofart/ml-by-hand/blob/main/examples/s... 3.…
comment by megadragon9 · 2026-05-15 · in Ask HN: What are you working on? (May 2026) -
…numpy is the way to go. Free book: https://zekcrates.quarto.pub/deep-learning-library/ Ml by hand : https://github.com/workofart/ml-by-hand Micrograd: https://github.com/karpathy/micrograd
comment by butanyways · 2026-02-17 · in Visual introduction to PyTorch -
…that PyTorch/TensorFlow provides. I eventually wrote a blog post [4] of this journey. [1] https://github.com/workofart/ml-by-hand [2] https://github.com/workofart/ml-by-hand/blob/main/examples/c... [3]…
comment by megadragon9 · 2026-01-02 · in Build a Deep Learning Library -
…and Python [1]. Learning is done by "re-inventing the wheel" yourself, one step at a time :) [1] https://github.com/workofart/ml-by-hand
comment by megadragon9 · 2025-10-17 · in NanoChat – The best ChatGPT that $100 can buy -
…PyTorch/TensorFlow provides. Kinda like reinventing the car using the wheel I reinvented :) [1] https://github.com/workofart/ml-by-hand [2] https://github.com/workofart/ml-by-hand/blob/main/examples/c... [3]…
comment by megadragon9 · 2025-05-24 · in Reinvent the Wheel -
…libraries such as PyTorch and Tensorflow. Oh I also wrote a blog post [5] on the journey. [1] https://github.com/workofart/ml-by-hand [2] https://github.com/karpathy/micrograd [3] https://github.com/workofart/ml-by-hand/blob/main/examples/c…
comment by megadragon9 · 2025-03-30 · in Ask HN: What are you working on? (March 2025) -
▲ 1
Show HN: ML Library created by Python+NumPy (trains CNNs to a toy GPT-2)story by megadragon9 · 2025-02-12 · 0 comments
-
▲ 1
Show HN: From-Scratch ML Library (trains models from CNNs to a toy GPT-2)story by megadragon9 · 2025-02-08 · 0 comments