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

importing checkpoints to transformer library #494

Closed
eghbalhosseini opened this issue Jan 26, 2022 · 1 comment
Closed

importing checkpoints to transformer library #494

eghbalhosseini opened this issue Jan 26, 2022 · 1 comment

Comments

@eghbalhosseini
Copy link

I am trying to import the weights from one of the models I pre-trained using gpt2-neox in to transformer library for some downstream tests. I used AutoModel.from_pretrained(path to checkpoint,model_config) However it cannot load the model weights appropriately. is there a solution to this, or what I am doing wrong here?

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