LiveFR

Encoder-decoder

Definition: The encoder-decoder architecture separates understanding the input (the encoder) from generating the output (the decoder), a classic pattern for translation and summarization.

The encoder turns input text into an internal representation that the decoder uses to produce the output. Many generative LLMs use the decoder part only.

See also

← Full AI glossary · AI news