course icon indicating copy to clipboard operation
course copied to clipboard

Stop using a deprecated AdamW implementation

Open RedTachyon opened this issue 3 years ago • 1 comments

According to the transformers library, transformers.AdamW is deprecated, and instead users should use torch.optim.AdamW

This PR changes the import in this exact way, so that AdamW is still imported to the global namespace (so no other code changes are necessary)

RedTachyon avatar Jun 22 '22 20:06 RedTachyon

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.