How to create a config.json after saving a model

Normally, if you save your model using the .save_pretrained() method, it will save both the model weights and a config.json file in the specified directory.

2 Likes