Glossary term
Glossary term
Architecture
A task that converts an input sequence of tokens to an output sequence of tokens. For example, two popular kinds of sequence-to-sequence tasks are:
Translators:
Sample input sequence: "I love you."
Sample output sequence: "Je t'aime."
Question answering:
Sample input sequence: "Do I need my car in New York City?"
Sample output sequence: "No. Keep your car at home."
Created for this library
A translation vendor frames translation as a sequence-to-sequence task with an encoder-decoder architecture.
A summarization team frames text summarization as a sequence-to-sequence task with a transformer model.
A code-completion vendor frames code generation as a sequence-to-sequence task conditioned on natural-language descriptions.
Definition source: Google for Developers Machine Learning Glossary | Creative Commons Attribution 4.0 License