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

Always download #3

Open
carry-xz opened this issue Sep 29, 2020 · 1 comment
Open

Always download #3

carry-xz opened this issue Sep 29, 2020 · 1 comment

Comments

@carry-xz
Copy link

hi ,nice work
When i use this package, BertModel.from_pretrained('bert-base-uncased'), it's always download when program restart, Can I just download it once?

@lioninline
Copy link

@carry-xz may be you could replace bert-base-uncased with the download path ~/.pytorch_pretrained_bert/

You could refer https://github.com/Meelfy/pytorch_pretrained_BERT#loading-google-ais-pre-trained-weigths-and-pytorch-dump.

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

2 participants