SESK: Stuff Everyone Should Know · sesk.info/ai-encoder-maps-input-sequence
What does a Transformer encoder produce from an input sequence?
It produces a sequence of continuous representations.
- One random class
- A finished output sentence
- Continuous input representations ✔
Why: The encoder transforms every input position into a contextual representation. A decoder can then use that encoded sequence while generating outputs.
Huh, didn't know that: The original encoder layer paired multi-head self-attention with a position-wise feedforward network.
The encoder packed the sequence without losing its train of thought.
Like this card?
References
Answer: Continuous input representations. The encoder transforms every input position into a contextual representation. A decoder can then use that encoded sequence while generating outputs.
- Attention Is All You Need arxiv.org/html/1706.03762
to a sequence of continuous representations
Checked 2026-10-10.
Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.
More stuff everyone should know
That's stuff everyone should know.