I had the same issue. I upgraded the transformers version from 4.3.0 to 4.3.2 with
pip install transformers==4.3.2
and that worked for me. Also, upgrade your PyTorch to its latest version 1.7 with
pip install torch==1.7
that avoids error while loading pre-trained weights in the next step.