Start learning →

The encoder of the original Transformer uses how many identical layers?

ATwo stacked layers
BSix stacked layers
CTwelve stacked layers
DTwenty-four stacked layers
Answer & Solution
Correct answer: B. Six stacked layers
Both encoder and decoder use N = 6 identical layers in the original paper. Each layer has multi-head self-attention plus a position-wise feed-forward sub-layer, with residual + layer norm.
Practise this question with Quill — Claude →

Keep practising Transformer Attention

Browse all Transformer Attention questions for Claude, or explore more Aifoundations topics.

Start a Transformer Attention lesson →
Related questions