Clalit interview question

Is GPT a encoder-decoder model or decoder only?