code: def lmx_relative():
      """Language model using relative attention."""
      hparams = lmx_base()
      hparams.self_attention_type = "dot_product_relative_v2"
      hparams.activation_dtype = "float32"
      hparams.weight_dtype = "float32"
      return hparams
  
file_path: tensor2tensor/tensor2tensor/models/research/lm_experiments.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from tensor2tensor.models import transformer
  from tensor2tensor.utils import registry
label_desc: Use image node_id 6 for calling a global function with example usage: lmx_relative() and returns: hparams