WikiText 103
Related Papers
Transformer-XL: Attentive Language Models beyond a Fixed-Length Context
AbstractTransformers have a potential of learning longer-term dependency, but are limited by a fixed-length context in the setting of language modeling. We propose a novel neural architecture Transformer-XL that enables …...
Cascaded Head-colliding Attention
AbstractTransformers have advanced the field of natural language processing (NLP) on a variety of important tasks. At the cornerstone of the Transformer architecture is the multi-head attention (MHA) mechanism which …...
Efficient Content-Based Sparse Attention with Routing Transformers
AbstractSelf-attention has recently been adopted for a wide range of sequence modeling problems. Despite its effectiveness, self-attention suffers from quadratic computation and memory requirements with respect to sequence length. Successful …...
ERNIE-Doc: A Retrospective Long-Document Modeling Transformer
AbstractTransformers are not suited for processing long documents, due to their quadratically increasing memory and time consumption. Simply truncating a long document or applying the sparse attention mechanism will incur …...
PermuteFormer: Efficient Relative Position Encoding for Long Sequences
AbstractA recent variation of Transformer, Performer, scales Transformer to longer sequences with a linear attention mechanism. However, it is not compatible with relative position encoding, which has advantages over absolute …...
Shortformer: Better Language Modeling using Shorter Inputs
AbstractIncreasing the input length has been a driver of progress in language modeling with transformers. We identify conditions where shorter inputs are not harmful, and achieve perplexity and efficiency improvements …...
Better Language Model with Hypernym Class Prediction
AbstractClass-based language models (LMs) have been long devised to address context sparsity in n-gram LMs. In this study, we revisit this approach in the context of neural LMs. We hypothesize …...
Training Language Models with Memory Augmentation
AbstractRecent work has improved language models (LMs) remarkably by equipping them with a non-parametric memory component. However, most existing approaches only introduce mem-ories at testing time or represent them using …...