automatically update config file for models
### Feature request

automatically update config files for large number of models


### Motivation

For the ONNXConfig project https://github.com/huggingface/transformers/issues/16308 where onnxConfig need to be added to 90 models.  Currently it is done manually, mostly copy paste.  Can this be done automatically?  Does this kind of config updates happen often and could this be done in a more automatic way?

### Your contribution

I'm interested in helping with the implementation
cc @lewtun @michaelbenayoun <|||||>Hi @Ruihua-Fang, 
Due to the variety of models we support, I think it would be hard to have a very generic class that handles all cases. 
That being said we can still work on making the base classes the most generic possible so that adding model specific ONNX configs becomes easier.<|||||>Hi Michael, thanks for the clarification and I am closing this for now.