src/transformers/models/xlm_roberta_xl/modeling_xlm_roberta_xl.py/XLMRobertaXLModel/__init__
class XLMRobertaXLModel:    def __init__(self, config, add_pooling_layer=True):
        super().__init__(config)
        self.config = config

        self.embeddings = XLMRobertaXLEmbeddings(config)
        self.encoder = XLMRobertaXLEncoder(config)

        self.pooler = XLMRobertaXLPooler(config) if add_pooling_layer else None

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