Seems a resolved bug of Transformers. Try upgrade pip install -U transformers
pip install -U transformers