Transformers
Field note · 17 Sept 2026FP64, FP32, and INT8 in Transformers
How floating-point precision and integer quantization change storage, arithmetic, accuracy, and deployment choices.
Read the DiscoverySai AI Knowledge Hub
Visual explanations for the concepts that last, plus concise field notes on what is changing now.
Latest signal
Dated observations stay brief and current; durable explanations live in Notes.
Transformers
Field note · 17 Sept 2026How floating-point precision and integer quantization change storage, arithmetic, accuracy, and deployment choices.
Read the DiscoveryDurable understanding
Follow intentionally ordered paths instead of piecing together isolated posts.
A structured path through attention, multi-head composition, positional information, and encoder-decoder architecture.
A clear first path
Begin with the map, then add the mechanism. Each step is ordered so the next idea has somewhere to land.
A step-by-step account of queries, keys, values, masking, scaling, softmax, and the final weighted sum.
How parallel attention projections create complementary views and recombine them into one representation.
Where position, masks, residual paths, encoder blocks, and decoder blocks fit in a complete Transformer.
From the field
A small, chronological feed of ideas worth carrying into deeper study.
How repeatedly applying a shared Transformer block differs from stacking separately parameterized layers.
3 min readHow next-token factorization, causal masking, training, and decoding turn a prefix into a generated sequence.
2 min read