"Converting Tensorflow Checkpoints" document has wrong link in v4.2.0+
See original GitHub issueEnvironment info
transformersversion: v4.2.0+
Who can help
documentation: @sgugger
Information
I’d like to convert BERT ckpt to PyTorch, and read Converting Tensorflow Checkpoints document.
It seems that the link to convert_bert_original_tf_checkpoint_to_pytorch.py is outdated.
It is linked to https://huggingface.co/transformers/converting_tensorflow_models.html, but convert_bert_original_tf_checkpoint_to_pytorch.py is now placed in https://github.com/huggingface/transformers/blob/master/src/transformers/models/bert/convert_bert_original_tf_checkpoint_to_pytorch.py (I found the information in https://github.com/huggingface/transformers/issues/9556).
It seems that in https://github.com/huggingface/transformers/pull/9217 the document is updated to use a prefix to get the release variable.
However, perhaps the document is not yet changed to match the folder structure in v4?
Sorry if I misunderstand something.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)

Top Related StackOverflow Question
Merged, thanks! No worries for the delay!
@LysandreJik Thank you for merging and giving me your kind words!