Building a complete LLM from scratch. No libraries. No shortcuts. Just NumPy, math, and first principles.
-
Updated
Jun 15, 2026 - Python
Building a complete LLM from scratch. No libraries. No shortcuts. Just NumPy, math, and first principles.
LLM Which Was Trained On A Consumer GPU
DeepSeek-style MoE + MLA from scratch in PyTorch, with a router-specialization probe (mutual information) and a dense/+MoE/+MLA ablation. Educational, nano-scale, measured.
A large language model built from scratch using NumPy. Currently, it is in the initial stage of the development process using numpy.🔧
From-scratch PyTorch: frontier LLM techniques as of 2026-Q1 — the Muon optimizer and Multi-Token Prediction, plus a base BPE tokenizer. Self-contained, self-checking modules.
Building a Large Language Model from the ground up.
Add a description, image, and links to the llm-from-scratch topic page so that developers can more easily learn about it.
To associate your repository with the llm-from-scratch topic, visit your repo's landing page and select "manage topics."