src/transformers/models/xlm_prophetnet/modeling_xlm_prophetnet.py/XLMProphetNetPositionalEmbeddings/__init__
class XLMProphetNetPositionalEmbeddings:    def __init__(self, config: XLMProphetNetConfig) -> None:
        self.max_length = config.max_position_embeddings
        super().__init__(config.max_position_embeddings, config.hidden_size, config.pad_token_id)