code: def bart_base_architecture(args):
      args.encoder_embed_dim = getattr(args, "encoder_embed_dim", 768)
      args.encoder_ffn_embed_dim = getattr(
          args, "encoder_ffn_embed_dim", 4 * 768
      )
      args.encoder_layers = getattr(args, "encoder_layers", 6)
      args.encoder_attention_heads = getattr(
          args, "encoder_attention_heads", 12
      )
      args.decoder_layers = getattr(args, "decoder_layers", 6)
      args.decoder_attention_heads = getattr(
          args, "decoder_attention_heads", 12
      )
      bart_large_architecture(args)
  
imports: import logging
  from typing import Optional
  import torch
  import torch.nn
  from fairseq import utils
  from fairseq.models import register_model, register_model_architecture
  from fairseq.models.transformer import TransformerModel
  from fairseq.models.bart import BARTHubInterface, BARTModel
  from .ls_transformer import LSTransformerModel
label_desc: Use image node_id 2 for calling a global function with example usage: bart_base_architecture(args) without return types