src/transformers/models/xlm_prophetnet/modeling_xlm_prophetnet.py/XLMProphetNetForConditionalGeneration/__init__
class XLMProphetNetForConditionalGeneration:    def __init__(self, config: XLMProphetNetConfig):
        super().__init__(config)
        self.prophetnet = XLMProphetNetModel(config)
        self.padding_idx = config.pad_token_id
        self.disable_ngram_loss = config.disable_ngram_loss

        self.lm_head = nn.Linear(config.hidden_size, config.vocab_size, bias=False)

        # Initialize weights and apply final processing
        self.post_init()