Encoder, decoder and hybrid model architectures
easy 6 minModel architecture determines which positions can interact and how information survives generation.
Where it shows up
The same pattern appears across everyday software.
Choose a backbone for search and summarization
Bidirectional source representations yield vectors that can be reused across many queries. Encode the query in the aligned representation space and select a bounded set of permitted documents. An encoder–decoder can compute source states once and expose them to its decoder’s cross-attention. Decode each output token conditioned on the source and prior output. Compare against a decoder-only alternative on actual latency and quality.