Bidirectional
Author: Mehdi Sadriu, independent educator. Last reviewed: 25 November 2026. How we check claims: methodology.
A model (or encoder stack) that can attend to both past and future tokens, as in BERT-style pretraining. Causal LLMs used for chat are not bidirectional at generation time.
In one paragraph. A model (or encoder stack) that can attend to both past and future tokens, as in BERT-style pretraining. Causal LLMs used for chat are not bidirectional at generation time.