Hi @Sniper, I’m not very familiar with the TensorFlow API of transformers
but I think the following should work:
config = BertConfig.from_pretrained("path/to/your/bert/directory")
model = TFBertModel.from_pretrained("path/to/your/bert/directory", config=config)
If that doesn’t work, can you share the error that you get?