Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change PreTrainedBertModel to BertPreTrainedModel #1

Closed
tnlin opened this issue Feb 19, 2019 · 2 comments
Closed

Change PreTrainedBertModel to BertPreTrainedModel #1

tnlin opened this issue Feb 19, 2019 · 2 comments

Comments

@tnlin
Copy link

tnlin commented Feb 19, 2019

Hi, thanks for sharing this wonderful work
I recently try to re-run the code and cannot import the pytorch_pretrained_bert correctly
and I figure out the module in huggingface/pytorch-pretrained-BERT have changed from PreTrainedBertModel to BertPreTrainedModel, just a reminder for those who facing the same issue

@kaushaltrivedi
Copy link
Owner

Done :)

@omri374
Copy link

omri374 commented Jul 29, 2020

Hey @kaushaltrivedi great work! Worth mentioning this on the blog post too! I found myself looking for PreTrainedBertModel but couldn't find it anywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants