https://github.com/huggingface/transformers/issues/6124
from transformers import TFBertModel
model = TFBertModel.from_pretrained("./rubert-base-cased-pt", from_pt=True)
model.save("./rubert-base-cased") # this adds a TF model file (tf_model.h5) to your directory