QUESTION 3 OF 10

When would you use an encoder-decoder transformer?

Reveal the answer and explore the explanation.

03
MediumCore

When would you use an encoder-decoder transformer?

Answer
Answer

An encoder represents source input and a decoder generates target output using cross-attention to those representations.

Practical example

Translate a source sentence to another language.

Reference: Further reading ↗

Last 30 min revisionHigh-yield interview Q&As