Kia ora, I'm Fang Zhang.
Here are my thoughts.


If you want to know how language models actually work, why minds get stuck, or what the cosmos can teach about both, start anywhere. Each post stands alone, with its sources linked and its reasoning laid out step by step.

Fang Zhang

Recent Articles

Six Layers of the AI Industry, and Who Sits at Each

One chat query starts in an app, goes to a model, runs in a cloud data center, executes on a chip that a single foundry made with a machine only one company builds, and ends up as electricity drawn...

DeepInfer: How DeepSeek Serves a Model Cheaply

What DeepSeek's open-sourced inference framework DeepInfer does between a chat message and the first word of the reply: caching, prefill/decode separation, load balancing and speculative decoding, with every figure taken from DeepSeek's own documents.

Thinking in Systems

A chapter-by-chapter walkthrough of Donella Meadows' Thinking in Systems: system structure, stocks and flows, feedback loops, resilience, surprises, traps, the twelve leverage points and dancing with systems, with the last two chapters checked against her own text.

How to Speak: Patrick Winston's Hour, Section by Section

A full walkthrough of Patrick Winston's MIT lecture How to Speak, in his order: how to start, tools, informing, persuading, getting remembered and how to stop, with what cognitive-load research and LLM papers add.

Curated Articles

How to Think Clearly (1/11): Where Thinking Breaks and What to Put There

A map of the series: six places where thinking fails, the safeguard for each, and the posts that cover them.

Tools, Notes and Ideas for Building a LLM

Tools, reference code, training tips and evaluation for building a language model.