Rare find

LLMs From Scratch. Learn how ChatGPT-like AI models work by building one yourself, step by step.

amzn.to/4fqvn0D

Vaya's read on this project

Problem, audience, market, and the verdict — sign in to see it.

Updates

July 2026
  • Update link checker (#1042)
  • Python 3.14 upgrade and test fixes (#1041)
June 2026
  • remove gate.transpose (#1033)
May 2026
  • Add Deepseek Sparse Attention (DSA) implementation (ch04/09_dsa) (#1014)
  • Muon optimizer (#1029)
  • Fix TensorFlow dependency marker for Linux ARM (#1028)
  • Tips on forking and updating this repo locally (#1027)
  • Unique names to improve automerge if all tests pass (#1026)
  • Add cross-layer KV sharing (#1025)
  • Add troubleshooting guide for common questions (#1024)
  • Fix typo in README for KV-cache totals (#1023)
April 2026
  • Fix SWA (#1013)
  • Fix BPE empty-pair edge case in find_freq_pair (#1004)
  • Gemma 4 (#1005)
  • Some gemma 3 improvements (#1000)
  • Remove 7 days requirement to improve windows compatibility (#999)
  • uv packages must be 7 days old (#994)
March 2026
  • Swap urllib.request with requests (#993)
  • fix: pin 1 unpinned action(s) (#987)
  • fix: added KVcache in `generate_text_basic_stream` (#981)
  • harded the link checker
  • Minor typo fix (#974)