Which of the following best describes the difference between an encoder-only model (e.g., BERT) and a decoder-only model (e.g., GPT)?
Trap 1: Encoder-only is trained for text generation; decoder-only is…
Typical training objectives are reversed.
Trap 2: Both use the same attention pattern but differ in number of layers
They use fundamentally different attention patterns.
Trap 3: Encoder-only uses causal attention; decoder-only uses bidirectional…
That’s the opposite of the correct description.
- A
Encoder-only uses bidirectional attention and is suited for classification or NER; decoder-only uses causal attention and is suited for text generation
Correct distinction between the two architectures.
- B
Encoder-only is trained for text generation; decoder-only is trained for classification
Why wrong: Typical training objectives are reversed.
- C
Both use the same attention pattern but differ in number of layers
Why wrong: They use fundamentally different attention patterns.
- D
Encoder-only uses causal attention; decoder-only uses bidirectional attention
Why wrong: That’s the opposite of the correct description.