code: def __init__(self, config: BartConfig, **kwargs):
      super().__init__(config, **kwargs)
      self.model = BartModel(config)
      init(self.model)
  
      self._init_head_modules()
  
      self.post_init()
  
imports: import torch
  from transformers.models.bart.modeling_bart import BART_INPUTS_DOCSTRING, BART_START_DOCSTRING, BartConfig, BartModel, BartPretrainedModel, shift_tokens_right
  from transformers.utils import add_start_docstrings, add_start_docstrings_to_model_forward
  from ...heads import ClassificationHead, ModelWithFlexibleHeadsAdaptersMixin, MultiLabelClassificationHead, QuestionAnsweringHead, Seq2SeqLMHead
  from ...model_mixin import EmbeddingAdaptersWrapperMixin
  from ...wrappers import init
label_desc: Use image node_id 1 to create a new BartAdapterModel object from inherited base classes: EmbeddingAdaptersWrapperMixin, ModelWithFlexibleHeadsAdaptersMixin, BartPretrainedModel with example: obj = BartAdapterModel(config)