Hacker GitHub

← All repos

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

Mentions per year 12 mentions · busiest year 2026 (7)
20082026
  1. …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
  2. …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…
  3. ▲ 1
    GPT-2 124M checkpoint pre-trained on OpenWebText 27.5B tokens
    story by megadragon9 · 2026-06-17 · 1 comment
  4. …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)
  5. …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)
  6. …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
  7. …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
  8. …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
  9. …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
  10. …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)
  11. ▲ 1
    Show HN: ML Library created by Python+NumPy (trains CNNs to a toy GPT-2)
    story by megadragon9 · 2025-02-12 · 0 comments
  12. ▲ 1
    Show HN: From-Scratch ML Library (trains models from CNNs to a toy GPT-2)
    story by megadragon9 · 2025-02-08 · 0 comments