Imported from https://github.com/jannenev/ulmfit-language-model