How to create a config.json after saving a model

hi i just try this way, it might be work and the config file you get
go to your hugging face model yourusername/yourmodelname
then click on the “Training metrics” tab > Then click on the TensorBoard “TEXT” tab

here you will see model_config , just copy that json and add into you model derectory

2 Likes