Converting Transformers model to Tensorflow

I am trying to convert dbmdz/bert-base-turkish-uncased to tensorflow model (.pb). It contains tf_model.h5 file. While conversion goes on, I get a following error:

Must pass either config (PretrainedConfig) or config (dict)

I could not solve this issue. Could you please help me to handle this? Thanks.

You should not have to do anythin using from_pretrained except using from_pt=True.

Anything was used related to from_pretrained

I tried to convert from tf_model.h5 to tensorflow model. Is .h5 file keras model, isn’t it?

Is there any instruction to convert pytorch model (.bin) or given tf_model.h5 to tensorflow model(.pb)?

Relevant model is: