A neural network that transforms input data into a compressed representation, rather than generating new text or making predictions.