-
Notifications
You must be signed in to change notification settings - Fork 373
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
ValueError: Assignment map with scope only name bert/position_embeddings should map to scope only bert/embeddings/position_embeddings. Should be 'scope/': 'other_scope/'. #127
Comments
Hi, we've just updated the Please either use the previous Texar version (v0.2.0) to use your BERT code, or use the (slightly) updated bert example with the lastest Texar. |
For now I would want to use the previous version as I am in the middle of something very urgent . |
Here is the older version (v0.2):https:/asyml/texar/releases/tag/v0.2.0 |
Is v0.2.0 the latest one or v0.1.0? |
I used the https:/asyml/texar/releases/tag/v0.1.0 However I am still facing the following issue : |
Pls use v0.2.0, which is an older version than the one in the master branch now. |
Thankyou ! It works now:) |
Hi! I uses the previous Texar version (v0.2.0) but it still appears to have this problem. Could any other solutions provided? Thank you! |
Can you post the error msg? |
when i try to do
model_utils.init_bert_checkpoint(init_checkpoint)
I get
ValueError:Assignment map with scope only name bert/position_embeddings should map to scope only bert/embeddings/position_embeddings. Should be 'scope/': 'other_scope/'.
This was working fine earlier ,could this be due to the new changes introduced in texar ,as I have not changed my code .
The text was updated successfully, but these errors were encountered: