src/transformers/models/prophetnet/modeling_prophetnet.py/ProphetNetForConditionalGeneration/get_encoder
class ProphetNetForConditionalGeneration:    def get_encoder(self):
        return self.prophetnet.encoder