I have download a standard bert ckpt file ,

,but how can I load this weights into model?
I have read the document:
图片829×265 15 KB
and  try some method like:
config = BertConfig.from_json_file('./bert_model/bert_config.json')
model =TFBertModel.from_pretrained('bert_model/bert_model.ckpt',config=config)
or
config = BertConfig.from_json_file('./bert_model/bert_config.json')
model = TFBertModel(config).load_weights('bert_model/bert_model.ckpt')
but it seem like doesn’t  work.