Teknosys learning library

Encoder-decoder models: transforming text

Models such as T5 and BART combine an encoder that reads input with a decoder that generates output. This sequence-to-sequence setup is well suited to translation, summarization, and rewriting. T5 represents tasks in a text-to-text format; BART learns by reconstructing corrupted text. Choose a model based on its task training, supported languages, input length, latency, and evaluation results rather than architecture alone.

Educational material. Verify examples against current documentation and applicable licenses. Report a correction.