llm/curriculum
A curriculum built from real open models

How LLMs are built, stored, squeezed and changed.

From "what is a tensor" to EXL3, NVFP4, KV cache, MoE routing, LoRA and abliteration. Every module opens a real model from Hugging Face (Qwen, Ornith, DeepSeek, Kimi, gpt-oss) and reads its own files, and every number is either measured by the scripts in this repo or linked to its source.

01

Basics

What a model is made of, in plain numbers.

02

Inside the model

How text becomes probabilities, layer by layer.

03

Files, formats, quantization

What you download from Hugging Face and how people shrink it.

04

Architectures

Real open models taken apart through their own configs.

05

Training and changing models

Pretraining, post-training and modifying weights.

06

Running and judging

Serving engines, evals and labs for your Mac.