Roland Berger Interview Question

When ChatGPT does a translation, is it using a decoder-only architecture or does it employ an encoder?