code: def fairseq_bart_base():
      cfg = CN()
      # Config for the bart base model
      cfg.MODEL = CN()
      cfg.MODEL.vocab_size = 51201
      cfg.MODEL.max_src_length = 1024
      cfg.MODEL.max_tgt_length = 1024
      cfg.MODEL.scale_embed = False
      cfg.MODEL.pos_embed_type = "learned"
      cfg.MODEL.shared_embed = True
      cfg.MODEL.tie_weights = True
      cfg.MODEL.attention_dropout = 0.1
      cfg.MODEL.activation_dropout = 0.0
      cfg.MODEL.dropout = 0.1
      cfg.MODEL.layer_norm_eps = 1e-5
      cfg.MODEL.pooler_activation = "tanh"
      cfg.MODEL.data_norm = True
      cfg.MODEL.layout = "NT"
      cfg.MODEL.dtype = "float32"
  
      # Parameters for the encoder
      cfg.MODEL.ENCODER = CN()
      cfg.MODEL.ENCODER.num_layers = 6
      cfg.MODEL.ENCODER.units = 768
      cfg.MODEL.ENCODER.num_heads = 12
      cfg.MODEL.ENCODER.hidden_size = 3072
      cfg.MODEL.ENCODER.recurrent = False
      cfg.MODEL.ENCODER.pre_norm = False
      cfg.MODEL.ENCODER.activation = "gelu"
      cfg.MODEL.ENCODER.use_qkv_bias = True
  
      # Parameters for the decoder
      cfg.MODEL.DECODER = CN()
      cfg.MODEL.DECODER.num_layers = 6
      cfg.MODEL.DECODER.units = 768
      cfg.MODEL.DECODER.num_heads = 12
      cfg.MODEL.DECODER.hidden_size = 3072
      cfg.MODEL.DECODER.recurrent = False
      cfg.MODEL.DECODER.pre_norm = False
      cfg.MODEL.DECODER.activation = "gelu"
      cfg.MODEL.DECODER.use_qkv_bias = True
  
      # Parameters for the initializer
      cfg.INITIALIZER = CN()
      cfg.INITIALIZER.embed = ["xavier", "gaussian", "in", 1.0]
      cfg.INITIALIZER.weight = ["xavier", "uniform", "avg", 1.0]
      cfg.INITIALIZER.bias = ["zeros"]
      cfg.VERSION = 1
      cfg.freeze()
      return cfg
  
imports: import os
  from typing import Tuple, List
  import mxnet
  from mxnet import use_np
  from mxnet.gluon import nn
  from .base import BACKBONE_REGISTRY
  from .transformer import TransformerModel
  from ..base import get_model_zoo_home_dir, get_repo_model_zoo_url, get_model_zoo_checksum_dir
  from ..utils.misc import download, load_checksum_stats
  from ..utils.config import CfgNode
  from ..utils.registry import Registry
  from ..data.tokenizers import HuggingFaceByteBPETokenizer
label_desc: Use image node_id 1 for calling a global function with example usage: fairseq_bart_base() and returns: cfg