course
course copied to clipboard
Stop using a deprecated AdamW implementation
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)
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.