← Natural Language Processing learning pathNatural Language Processing · Module 6 of 10
Sequence-to-sequence tasks
Translate, summarise and answer questions.
📖 Key ideas
- Seq2seq models map input text to output text.
- Encoder-decoder Transformers (T5, BART) suit translation and summarisation.
- Machine translation powers Google Translate.
- Extractive summaries copy sentences; abstractive summaries rewrite.
- Metrics: BLEU (translation), ROUGE (summarisation).
💡 Real-life example: Seq2seq is an interpreter listening to a full sentence, then speaking it in another language.
Seq2seqSequence-to-sequence model
Encoder-decoderReads input, then generates output
BLEUTranslation quality metric
Abstractive summaryRewritten summary