Closed arnov closed 4 years ago
I wouldn't say that the readme is outdated because BertModel
is still a regularly supported method. However, this only works if you have installed PyTorch. I updated the readme.
I do see the import now doesn't match the code in the README, is that correct?
That was correct. Fixed it.
I am not too familiar with the intricacies of Transformers, but it seems the example in the README is outdated.
I did manage to load the model using this:
Where I believe the TFAutoModel, is specific to the Tensorflow backend.