Pregunta de entrevista de IBM

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