Back to the lesson libraryMECHANISM · 17 MIN
M13.4 CONNECT THE MECHANISM

Map one sequence into another

"The iced coffee" becomes "le café glacé": three words in, three out, in a different order. See how an encoder, a decoder, and attention pull that off, and why decoding needs a search.

LESSON OVERVIEW17 min lesson

Lesson overview

"The iced coffee" becomes "le café glacé": three words in, three out, in a different order. See how an encoder, a decoder, and attention pull that off, and why decoding needs a search.

What you’ll explore

  • Sequence-to-sequence models encode an input and generate an output sequence; alignment, attention, and teacher forcing address different parts of that task.
Suggest a correction

A precise note can make an explanation better.

Choose the scene and describe what needs attention. Download a feedback file to share through a channel you already use. This page does not send feedback or connect you with a reviewer.

The file includes this note, the scene title, and lesson metadata. Your saved progress and quiz responses are excluded. Download before leaving or reloading to keep your note.