Notes [#8]
Transformer block
A transformer block is the repeating unit of an LLM: an attention step followed by a small feed-forward network. Models stack dozens of these blocks.
%%{init: {'theme':'base','themeVariables':{'primaryColor':'#E8F0FA','primaryBorderColor':'#1E3A5F','primaryTextColor':'#1F2937','secondaryColor':'#E3F4F6','tertiaryColor':'#FFFFFF','lineColor':'#64748B','fontFamily':'Inter, Arial, sans-serif'}}}%%
flowchart LR
I[Input vectors] --> A[Attention]
A --> F[Feed-forward]
F --> O[Output vectors]
O -.->|Next block| I