What does a transformer encoder do?
Reveal the answer and explore the explanation.
11MediumHigh priorityWhat does a transformer encoder do?
Answer
MediumHigh priority
What does a transformer encoder do?
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 ↗