2021
Explore Better Relative Position Embeddings from Encoding Perspective for Transformer Models
EMNLP 2021main
Relative position embedding (RPE) is a successful method to explicitly and efficaciously encode position information into Transformer models. In this paper, we investigate the potential problems in Shaw-RPE and XL-RPE, which are the most representative and prevalent RPEs, and propose two novel RPEs…