bert icon indicating copy to clipboard operation
bert copied to clipboard

Question about the used optimizer AdamWeightDecayOptimizer

Open bzhangGo opened this issue 8 years ago • 1 comments

Perhaps I missed something. But I read from the optimization where the author didnot use the bias-corrected momentum for parameter update. In other words, instead of use m_t = m_t / (1 - beta_1^t), the author used m_t directly.

My question is: Is there any reason to abandon this correction? Or this is better for training bert?

bzhangGo avatar Nov 20 '18 20:11 bzhangGo

This was mostly an oversight, but doesn't really matter when using a reasonable learning rate warmup.

jacobdevlin-google avatar Nov 23 '18 22:11 jacobdevlin-google