Frage im Vorstellungsgespräch bei IBM

What is the difference between a decoder only model and an encoder only model.