code: def transformer_relative():
    
    hparams = transformer_base()
    hparams.pos = None
    hparams.self_attention_type = "dot_product_relative"
    hparams.max_relative_position = 20
    return hparams
docs: Use relative position embeddings instead of absolute position encodings.