The encoder–decoder model