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

How to solve this? #86

Closed
ShuvamChatterjee28 opened this issue Sep 25, 2019 · 6 comments
Closed

How to solve this? #86

ShuvamChatterjee28 opened this issue Sep 25, 2019 · 6 comments

Comments

@ShuvamChatterjee28
Copy link

ShuvamChatterjee28 commented Sep 25, 2019

I just run this in cmd and I got this result, File "train.py", line 14, in <module> from pytorch_pretrained_bert import BertModel ModuleNotFoundError: No module named 'pytorch_pretrained_bert'
can any of you please me solve this issue?

@ShuvamChatterjee28 ShuvamChatterjee28 changed the title How to run this code in Google Colab? How to solve this? Sep 26, 2019
@songyouwei
Copy link
Owner

Do you have pytorch-pretrained-BERT installed?

@cyzLoveDream
Copy link

now it have been changed pytorch-transformer. you can modify your code

@songyouwei
Copy link
Owner

@cyzLoveDream could you please make a pull request to fix this?

@SaiThejeshwar
Copy link

@songyouwei I made a pull request to fix this issue. Hope we can close the issue soon.

@songyouwei
Copy link
Owner

@SaiThejeshwar This repo has migrated to pytorch-transformers.
Thank u for your contribution, but simply changes pytorch-transformers to transformers may have serious performance issues.
FYI: #27 (comment)

@SaiThejeshwar
Copy link

@songyouwei Thank you for letting me know. I didn't think it had performance issues. #27

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

4 participants