Encoder-Decoder Models (T5)
T5 is an encoder-decoder model. The encoder first understands the input, then the decoder generates the output.
Understand, then generate
Pick a task, then press Run T5. Watch the encoder understand the input and the decoder generate the output.
One model, two halves - the encoder understands, the decoder generates.
Two halves, working together
The encoder and decoder work together. One understands the input, the other creates the output - passing an internal understanding between them.
Tasks that read and write
Tap a card to watch the read → understand → generate flow.
Three models at a glance
- • T5 combines an encoder and a decoder.
- • The encoder understands the input.
- • The decoder generates the output.
- • T5 is useful when tasks require both understanding and generation.
- • Different architectures are designed for different kinds of problems.
Encoder-decoder models combine the strengths of understanding and generation. They are useful for tasks where the model must first understand information before creating a new response.