when run run_pretraining.py, i meet the error. And when I set the max_predictions_per_seq=5, no error; but when set the max_predictions_per_seq=10, the error happens.
Make sure max_predictions_per_seq matches with the number you set when running create_pretraining_data.py. I had set them differently and I was getting the same issue. When I matched them, the issue was gone.
Tensorflow:1.12 python3.6
when run run_pretraining.py, i meet the error. And when I set the max_predictions_per_seq=5, no error; but when set the max_predictions_per_seq=10, the error happens.