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