TFMLab

Model architecture

Transformer foundations

Softmax, masks, normalization: the parts every transformer shares.

0:55

Where should the fraud line go?

TFM LabBeginner · 9 Oct 2026

1:09

What is a Transformer? Tokens, attention and where it pays

Inside the TransformerEp 1 · Beginner · 9 Oct 2026

2:09

Inside the feed-forward: activation functions from Sigmoid to SwiGLU

Inside the TransformerEp 4 · Intermediate · 8 Oct 2026

1:56

How the Transformer block changed: 12 milestones, 2017–2026

Inside the TransformerEp 2 · Intermediate · 8 Oct 2026

11:09

62 Transformer upgrades, and how a TFM uses them

Inside the TransformerEp 3 · Intermediate · 8 Oct 2026

1:24

Encoding time: positions as rotations

Transaction foundation models from scratchEp 6 · Advanced · 5 Oct 2026

1:42

Layer normalization: one embedding, any scale

TFM LabIntermediate · 5 Oct 2026

1:21

Sliding window: how far back can it see?

Transaction foundation models from scratchEp 5 · Intermediate · 5 Oct 2026

SNAP

Softmax: from scores to attention weights

TFM LabBeginner · 5 Oct 2026

SNAP

The causal mask in 20 seconds

TFM LabBeginner · 4 Oct 2026

1:06

Which past events does the model look at?

Transaction foundation models from scratchEp 4 · Intermediate · 3 Oct 2026