src/transformers/models/data2vec/modeling_data2vec_text.py/Data2VecTextModel/__init__
class Data2VecTextModel:    def __init__(self, config, add_pooling_layer=True):
        super().__init__(config)
        self.config = config

        self.embeddings = Data2VecTextForTextEmbeddings(config)
        self.encoder = Data2VecTextEncoder(config)

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

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