asyml / texar-pytorch

Integrating the Best of TF into PyTorch, for Machine Learning, Natural Language Processing, and Text Generation. This is part of the CASL project: http://casl-project.ai/
https://asyml.io
Apache License 2.0
745 stars 117 forks source link

Incorrect Optimizer Configuration for the `transformer` example. #335

Closed HanGuo97 closed 3 years ago

HanGuo97 commented 3 years ago

In this file, the kwargs of the optimizer does not match that of the PyTorch API. This part seems to be copied from the TF version.