Raphael Friedmann

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.

01

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 here
Beginner19 Mar 2026, 5 min
02

When 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.
Beginner27 Mar 2026, 5 min
03

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.
Beginner3 Apr 2026, 2 min
04

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.
Beginner10 Apr 2026, 2 min
05

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.
Beginner17 Apr 2026, 2 min
06

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.
Beginner7 Nov 2026, 5 min
07

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.
Beginner8 Nov 2026, 6 min
08

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.
Advanced12 May 2026, 3 min
09

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.
Beginner13 Jun 2026, 4 min
10

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.
Advanced14 Jun 2026, 4 min
11

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.
Beginner10 Oct 2026, 7 min
12

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.
Beginner15 Jun 2026, 4 min
13

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.
Beginner16 Jun 2026, 4 min
14

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.
Advanced17 Jun 2026, 5 min
15

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.
Advanced8 Nov 2026, 7 min
16

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.
Beginner18 Jun 2026, 5 min
17

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.
Beginner19 Jun 2026, 4 min
18

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.
Beginner20 Jun 2026, 5 min
19

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.
Beginner6 Nov 2026, 6 min
20

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.
Beginner22 Jun 2026, 5 min
21

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.
Beginner18 Nov 2026, 7 min
22

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.
Beginner23 Jun 2026, 4 min
23

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.
Beginner8 Nov 2026, 7 min
24

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.
Beginner8 Nov 2026, 7 min
25

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.
Beginner14 Sep 2026, 6 min
26

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.
Beginner23 Jun 2026, 4 min

Using AI in practiceOps & infra, 13 posts

Experience from twenty years of running infrastructure, applied to using AI in practice.

27

What an LLM can and can't do in your infrastructure

Twenty years of running systems, a couple working with LLMs: where AI helps an ops team, and where it is a liability.
Ops8 Jun 2026, 5 min
28

LLMs in the terminal: a sysadmin's list

The concrete, everyday ways an LLM earns its place in a sysadmin's workflow, and the handful of rules that keep it from causing damage.
Ops10 Jun 2026, 4 min
29

Self-hosting an LLM for your team: usually not worth it

Why most teams shouldn't run their own model: a small model's error rate costs more working time than the API fees it saves. Plus where it still makes sense.
Ops12 Jun 2026, 4 min
30

How much electricity does an AI answer use?

Published figures put one chatbot answer at 0.24 to 0.34 Wh. What they include, why they spread so far, and my own RTX 5090: 0.115 Wh per answer alone, 0.024 Wh shared by 32.
Ops17 Nov 2026, 6 min
31

When not to use AI: an operations view

When reaching for an LLM is the wrong choice, and a simple heuristic for telling those cases apart.
Ops14 Jun 2026, 3 min
32

When to let an agent act on its own: an operations view

An agent that can act can also act wrongly. After twenty years of running systems: how much autonomy I give one, and which guardrails are worth it.
Ops17 Jun 2026, 4 min
33

Pointing an LLM at your own documents (RAG)

A common request is 'a ChatGPT that knows our internal docs'. That's RAG: simpler than often presented, and most of the work is in the retrieval half.
Ops21 Jun 2026, 5 min
34

Fine-tuning on your own data, with LoRA

Fine-tuning is the wrong tool for facts and the right one for style, format and narrow tasks. When it pays off, how LoRA makes it fit on one GPU, and what data and checks you need.
Ops8 Nov 2026, 6 min
35

AI and the law: what GDPR and the AI Act ask of your team

Before staff paste work into a chatbot, two EU laws apply: GDPR for the data in the prompt, the AI Act for what the system is used for. What each asks of an IT team, with the dates as they stand in November 2026.
Ops8 Nov 2026, 7 min
36

Copyright and AI output: who owns what the model writes

A generated text, image or function: who owns it, whether it can infringe someone else's work, and the status of the data the model learned from. The court cases that matter as of November 2026, and practical rules for a team.
Ops8 Nov 2026, 6 min
37

Prompt injection: the security risk in LLM applications

The moment your AI reads anything an attacker can influence, that content can hijack it. There is no complete fix, only containment: an operations briefing.
Ops24 Jun 2026, 5 min
38

When a downloaded model is safe to run

A model file looks like a set of numbers, and some formats are exactly that. Others run code the moment you load them. Which formats are which, what has already gone wrong, and the checks I'd make before a model touches a work machine.
Ops8 Nov 2026, 6 min
39

Testing a model on your own work

Leaderboards measure performance on public benchmarks. Forty real cases from your own backlog, graded consistently, show how a model performs on your work.
Ops15 Sep 2026, 6 min