Partially Shuffling the Training Data to Improve Language Models

03/11/2019
by   Ofir Press, et al.
0

Although SGD requires shuffling the training data between epochs, currently none of the word-level language modeling systems do this. Naively shuffling all sentences in the training data would not permit the model to learn inter-sentence dependencies. Here we present a method that partially shuffles the training data between epochs. This method makes each batch random, while keeping most sentence ordering intact. It achieves new state of the art results on word-level language modeling on both the Penn Treebank and WikiText-2 datasets.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset