We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello authors, I would like to express my gratitude for thecontributions you've made. I read convert_opt_checkpoint.py, and I found the code as below.
item['lm_head.weight'] = model.state_dict()['model.decoder.embed_tokens.weight'] item['final_layer_norm.weight'] = model.state_dict()['model.decoder.final_layer_norm.weight'] item['final_layer_norm.bias'] = model.state_dict()['model.decoder.final_layer_norm.bias']
Since the key is 'lm_head.weight', shouldn't it be read as the key for 'lm_head.weight' in the model as well? Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello authors, I would like to express my gratitude for thecontributions you've made.
I read convert_opt_checkpoint.py, and I found the code as below.
Since the key is 'lm_head.weight', shouldn't it be read as the key for 'lm_head.weight' in the model as well?
Thanks!
The text was updated successfully, but these errors were encountered: