Understanding & using AI39 posts
A course, not an archive: numbered in reading order, start at 01. Every post stands alone if you already know the piece before it.
From zeroFoundations, 26 posts
What an LLM is, what a GPU does, and how to run one. No background needed.
0102030405060708091011121314151617181920212223242526
What an LLM is, and how it produces words
A jargon-free explanation of large language models: what they are, why they're basically a very good autocomplete, and how they write one word at a time.Start hereWhen running AI on your own machine makes sense
Cloud chatbots are easy to use and hard to beat. The narrower case for running a model yourself, and what you give up to do it.What a GPU is, and why AI needs one
Why running AI means buying a graphics card, what makes a GPU different from a CPU, and why the amount of memory on the card is the most important number.How a 30-billion-parameter model fits on one card
Quantisation in plain terms: how storing each number in a model with fewer bits lets a large model fit on a desktop graphics card, and what it costs.How to read a model's name and specs
Model names like Qwen3-30B-A3B-Q4_K_M look cryptic at first. How to decode them, and the handful of specs that matter.Your first local model, step by step
From nothing to a model answering on your own computer: which size to pick, four commands, how to see what it's using, and how to remove it again.Open weights, open source, and model licenses
A model you can download for free is not automatically free to use for anything. What "open" means for a model, the license families you'll meet, and five questions to ask before a model goes to work.Mixture of Experts: how a 30B model runs like a 3B one
The design behind Qwen3-30B-A3B: split the model into many experts, run only a few per token. Why it suits one GPU, and the engineering costs it brings.How a model learns: training, in plain words
Every LLM starts as random noise, shaped by one loop: guess, measure the error, nudge billions of dials. How training works, and why it is expensive.Pretraining, fine-tuning, and RLHF
A raw trained model can continue text but won't answer you. The three stages that turn it into a helpful assistant, and which one you need.How a small model learns from a big one
Many of the small open models you can run at home were taught by a bigger model, not just by the internet. What distillation is, why it works so well, and what it can't hand down.AI that isn't an LLM
Language models are one family of AI among several. A tour of the other big families, what each is for, and when an LLM is the wrong tool.What an AI agent is
An agent is a language model put in a loop and given tools, so it can carry out actions instead of only describing them.How an agent uses tools and memory
The loop, one level down: how the model requests a tool, why its whole memory is just the growing transcript, and why long multi-step tasks fall apart.MCP: one plug for every tool an agent uses
The Model Context Protocol is how tools, files and business systems plug into an AI assistant. What the pieces are, what a call looks like on the wire, and what an IT team should allow before anyone installs a server.Why an LLM miscounts the r's in 'strawberry'
Ask a top model to count the letters in a word and it often gets it wrong. The cause is not a bug: the model never sees letters at all. A tour of tokens.Why you get a different answer every time
Ask a model the same thing twice and you can get two different replies. That is deliberate weighted sampling, not a fault; one setting controls how much the answers vary.Why models make things up
A model hands you a wrong fact, a fake citation or an invented function with total confidence. Where 'hallucinations' come from, and how to work around them.Why a model doesn't know what happened yesterday
A model can explain quantum physics and still get today's date wrong. What a knowledge cutoff is, why a model is out of date on the day it ships, and how to work around it.What the model remembers: the context window
An LLM has no memory between messages: it re-reads your whole conversation every turn, and only so much fits. Meet the context window.Embeddings: how text becomes a list of numbers
An embedding turns text into a list of numbers so that similar meaning lands close together. How that powers search and RAG, where it fails, and what the vectors cost to store.How a model sees a picture
You can hand a modern AI a photo and ask about it. A language model only understands tokens; this is how vision is added to a model that only knew words.How an image generator creates a picture from noise
An image generator neither paints nor assembles a collage: the model starts from random noise and removes it step by step, steered by your words. How that works, and why it explains the distorted hands.How a model hears and speaks
Dictation, meeting transcripts, voice assistants and cloned voices all rest on one idea: turn sound into a picture, then into tokens. How speech recognition and speech synthesis work, where they fail, and what to watch for at work.Why a model thinks before it answers
Modern models write pages of working-out before answering. That 'thinking' is computation bought with tokens: what it buys, what it costs, when it's wasted.How to write a prompt: clear instructions instead of special phrases
Good prompting means clear instructions to a capable, literal-minded assistant with no memory, derived from how the model works.Using AI in practiceOps & infra, 13 posts
Experience from twenty years of running infrastructure, applied to using AI in practice.
27282930313233343536373839