-
Notifications
You must be signed in to change notification settings - Fork 14
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
Not able to prune the BERT model #2
Comments
Hi, did you make sure to
|
Yes, I cloned your fork and checked out to paul branch |
Ok that is weird... Is it possible that you have another installation of the original pytorch-pretrained-BERT package that overrides this one? For instance python -c "import pytorch_pretrained_bert as ppb; print(ppb.__version__)" Should print |
Yes, it is indeed 0.4.0 |
OK this is weird... I just checked again and it's working on my end. Did you check that you don't have pre-existing version of pytorch-pretrained-bert? It might be the same version (
returns Another workaround would be to create a new virtual environment and reinstall pytorch and my fork of pytorch-pretrained-bert |
I had a similar issue, since I have Add the following to
|
Thanks @insop , I'll mark this issue as resolved and update the README with a link to your answer. |
Hi,
I am running the command
I am getting the following error
The text was updated successfully, but these errors were encountered: