No silent error when d_head already in the configuration (#4747)
No silent error when d_head already in the configuration (#4747)

* No silent error when d_head already in the configuration

* Update src/transformers/configuration_xlnet.py

Co-authored-by: Julien Chaumond <a2e75dc0f7a441a5f83dcee1a3f7492a8c3d1d78@gmail.com>

Co-authored-by: Julien Chaumond <a2e75dc0f7a441a5f83dcee1a3f7492a8c3d1d78@gmail.com>
huggingface/transformers,huggingface/transformers,huggingface/transformers,huggingface/pytorch-transformers,huggingface/transformers