code: def xmoe2_v1_l4k_global_only():
      """With sequence length 4096."""
      hparams = xmoe2_v1_l4k()
      hparams.decoder_layers = [
          "att" if l == "local_att" else l
          for l in hparams.decoder_layers
      ]
      return hparams
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from tensor2tensor.models import mtf_transformer
  from tensor2tensor.models import mtf_transformer2
  from tensor2tensor.models.research import moe
  from tensor2tensor.utils import registry
label_desc: Use image node_id 24 for calling a global function with example usage: xmoe2_v1_l4k_global_only() and returns: hparams