Blogs / Why Language Generation Tasks Are Sequence-to-Sequence Problems

Why Language Generation Tasks Are Sequence-to-Sequence Problems

What a Hugging Face post says natural language generation tasks are best expressed as, how such a task is defined and which classic examples it names.

  • Learning
  • 1 min read

For: Learners new to NLP.

What generation tasks are best expressed as

Tasks in natural language generation (NLG), a subfield of NLP, are best expressed as sequence-to-sequence problems.[1]

How such a task is defined

Such tasks can be defined as finding a model that maps a sequence of input words to a sequence of target words.[1]

Natural languagegeneration tasksbest expressed assequence-to-sequenceproblemsMapping input wordsto target wordsa sequence of input wordsto a sequence of targetwordsClassic examplessummarization andtranslationdefined asfor example
What is a sequence-to-sequence problem?

Classic examples

Some classic examples are summarization and translation.[1]

Sources

  1. Transformer-based Encoder-Decoder Models (huggingface.co · checked )

More articles