Different doc with BertForPretraining and TFBertForPretraining
there are some different betwweenBERT — transformers 4.3.0 documentationandBERT — transformers 4.3.0 documentationThere arelabelsandnext_sentence_labelin BertForPretraining, but nothing in TFBertForPretraining.Does it means there are some different between BertForPretraining and TFBertForPretaining?Or there is a wrong in TF doc.
2021-03-05T17:05:27Z
There is indeed something wrong in the TF doc: thenext_sentence_labelis there but not documented. If you want to open a PR to fix this that would be awesome!
2021-03-07T02:54:25Z
Thank you for your reply,I have create a PR atfix tf doc bug by Sniper970119 · Pull Request #10570 · huggingface/transformers · GitHub