QUESTION 11 OF 15

What does a transformer encoder do?

Reveal the answer and explore the explanation.

11
MediumHigh priority

What does a transformer encoder do?

Answer
Answer

Transforms an input sequence into contextual representations, commonly using bidirectional attention when appropriate.

Practical example

Encode a text document for classification.

Reference: Further reading ↗

Last 30 min revisionHigh-yield interview Q&As