← 返回资源分享
Adaptive Attention Span in Transformers
论文
论文
发布时间2019-05-19
发表ACL 2019 7 · arXiv:1905.07799
作者:Edouard Grave,Piotr Bojanowski,Armand Joulin,Sainbayar Sukhbaatar
详细介绍
We propose a novel self-attention mechanism that can learn its optimal attention span. This allows us to extend significantly the maximum context size used in Transformer, while maintaining control over their memory footprint and computational time. We show the effectiveness of our approach on the task of character level language modeling, where we achieve state-of-the-art performances on text8 and enwiki8 by using a maximum context of 8k characters.
代码仓库 (7)
JoeRoussy/adaptive-attention-in-cv官方PyTorch
ofirpress/sandwich_transformerPyTorch
facebookresearch/adaptive-spanPyTorch
prajjwal1/adaptive_transformerPyTorch
lancopku/Explicit-Sparse-TransformerTensorFlow
prajjwal1/fluencePyTorch
jerrodparker20/adaptive-transformers-in-rlPyTorch
