the example in chapter 3 has an error:
the AdamW function needs to imported as following:
from torch.optim import AdamW
and not from the transformers library
2 Likes
the example in chapter 3 has an error:
the AdamW function needs to imported as following:
from torch.optim import AdamW
and not from the transformers library