code: def __init__(self, config):
      super().__init__(config)
  
      self.bert = BertGenerationEncoder(config)
      init(self.bert)
  
      self._init_head_modules()
  
      self.init_weights()
  
file_path: adapters/src/adapters/models/bert_generation/adapter_model.py
imports: from transformers.models.bert_generation.modeling_bert_generation import BERT_GENERATION_INPUTS_DOCSTRING, BERT_GENERATION_START_DOCSTRING, BertGenerationEncoder, BertGenerationPreTrainedModel
  from transformers.utils import add_start_docstrings, add_start_docstrings_to_model_forward
  from ...context import AdapterSetup
  from ...heads import BertStyleMaskedLMHead, CausalLMHead, ModelWithFlexibleHeadsAdaptersMixin
  from ...model_mixin import EmbeddingAdaptersWrapperMixin
  from ...wrappers import init
label_desc: Use image node_id 1 to create a new BertGenerationAdapterModel object from inherited base classes: EmbeddingAdaptersWrapperMixin, ModelWithFlexibleHeadsAdaptersMixin, BertGenerationPreTrainedModel with example: obj = BertGenerationAdapterModel(config)