-
Notifications
You must be signed in to change notification settings - Fork 13
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
"Need to turn the model to a MoE first" error #2
Comments
And the loaded model is the already trained model. |
And When I Use bert_base_mnli_example.sh , add a --preprocess_importance argument, remove the --do_train argument to compute the importance scores, "FileNotFoundError: [Errno 2] No such file or directory: 'importance_files/importance_mnli.pkl'" error happens. where can I get that file? Thanks a lot |
Hi @shadymcy, have you solve this problems? I have encountered the same! Many thanks! |
@CaffreyR I am not....Sorry |
commenting out importance_processer in transformers/models/bert/modeling_bert_moe.py will work:
|
I just remove "--do_train" and "--do_eval" lines in bert_base_mnli_example.sh, an add a line that"--do_predict". But when I run it, "Need to turn the model to a MoE first" error happens. I wonder why it happens, thanks a lot.
The text was updated successfully, but these errors were encountered: