src/transformers/models/qdqbert/modeling_qdqbert.py/QDQBertModel/__init__
class QDQBertModel:    def __init__(self, config, add_pooling_layer: bool = True):
        requires_backends(self, "pytorch_quantization")
        super().__init__(config)
        self.config = config

        self.embeddings = QDQBertEmbeddings(config)
        self.encoder = QDQBertEncoder(config)

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

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