model_path should be ignored as the checkpoint path (#11157)
model_path should be ignored as the checkpoint path (#11157)

* model_path is refered as the path of the trainer, and should be ignored as the checkpoint path.

* Improved according to Sgugger's comment.
huggingface/pytorch-transformers,huggingface/transformers,huggingface/transformers,huggingface/transformers,huggingface/transformers