Pergunta de entrevista da empresa IBM

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