Bert config changes 
# What does this PR do?

Fixes # (issue)
Fixed done in accordance with below issue
![image](https://user-images.githubusercontent.com/49692939/195178992-fe4f6bd2-8af5-42f0-a6a5-fcc74b0a85f1.png)

Tests passed
![image](https://user-images.githubusercontent.com/49692939/195178754-a9161007-b198-4b20-a3bd-5dd97273de66.png)

The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_19495). All of your documentation changes will be reflected on that endpoint.