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

tf version #4

Closed
Decalogue opened this issue Mar 4, 2019 · 2 comments
Closed

tf version #4

Decalogue opened this issue Mar 4, 2019 · 2 comments

Comments

@Decalogue
Copy link

Decalogue commented Mar 4, 2019

Hi!
I use tf 1.10.0 to transfer bert ckpt into pytorch_model.bin. Could you tell me the tf version?
When I run the source code, this error occurred:
TypeError: _load_from_state_dict() takes 7 positional arguments but 8 were given

Thank you!

@zcgzcgzcg1
Copy link
Contributor

Hope this can help: huggingface/transformers#122

@Decalogue
Copy link
Author

Thank you so much!

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