Hi,
I’m using huggingface to train my own bert model. I have checkpoints which are in TensorFlow2 and I have converted them successfully in PyTorch. The checkpoint conversion script has created .bin file which is having following subdirectories and pkl file.
I wanted to gain some more information on the following points:
-
Am’I doing the conversation of TensorFlow checkpoint to PyTorch checkpoint correct? I can see the pre-trained bert-base-uncased model which is hosted on hugging face model repository is just having single pytorch_model.bin file.
-
How I can load this custom BERT-PyTorch model’s checkpoint using modeling_bert.py script?
Any help or suggestions will be helpful.
Thanks