mirror of
https://github.com/saymrwulf/transformers.git
synced 2026-05-14 20:58:08 +00:00
Add a missing space in a deprecation message (#15651)
This commit is contained in:
parent
1ddf3c2b74
commit
e3d1a8dabc
1 changed files with 1 additions and 1 deletions
|
|
@ -305,7 +305,7 @@ class AdamW(Optimizer):
|
|||
if not no_deprecation_warning:
|
||||
warnings.warn(
|
||||
"This implementation of AdamW is deprecated and will be removed in a future version. Use the"
|
||||
"PyTorch implementation torch.optim.AdamW instead, or set `no_deprecation_warning=True` to disable this warning",
|
||||
" PyTorch implementation torch.optim.AdamW instead, or set `no_deprecation_warning=True` to disable this warning",
|
||||
FutureWarning,
|
||||
)
|
||||
require_version("torch>=1.5.0") # add_ with alpha
|
||||
|
|
|
|||
Loading…
Reference in a new issue