/usr/local/lib/python3.7/dist-packages/transformers/optimization.py:309: FutureWarning: This implementation of AdamW is deprecated and will be removed in a future version. Use thePyTorch implementation torch.optim.AdamW instead, or set
no_deprecation_warning=True to disable this warning
I got the above error how to get this rectified
Yes its a warning that a depreciation will happen in the future not an error. It also gives you the right form to be used in the future.
Ok… but after me running trainer.train() it shows the above warning i posted and then the kernel is dead… when i try come back after restart the kernel is again dead… how to get over it
Try to use the suggestion then, im not sure the kernel is dying because of this warning though!