Training Tips for the Transformer Model
Citations Over TimeTop 1% of 2018 papers
Abstract
Abstract This article describes our experiments in neural machine translation using the recent Tensor2Tensor framework and the Transformer sequence-to-sequence model (Vaswani et al., 2017). We examine some of the critical parameters that affect the final translation quality, memory usage, training stability and training time, concluding each experiment with a set of recommendations for fellow researchers. In addition to confirming the general mantra “more data and larger models”, we address scaling to multiple GPUs and provide practical tips for improved training regarding batch size, learning rate, warmup steps, maximum sentence length and checkpoint averaging. We hope that our observations will allow others to get better results given their particular hardware and data constraints.
Related Papers
- → Living Mantra: Mantra, Deity, and Visionary Experience Today(2018)8 cited
- Mantras: Words of Power(1980)
- → Is this a mantra? mantra of(2009)
- The Cult of Gāyatrī: A Study(2021)
- → New Technologies(2009)