Skip to content

Conversation

@jeffra
Copy link
Collaborator

@jeffra jeffra commented Jul 18, 2022

No description provided.

Comment on lines 118 to 124
embedding_weight = None
for n,p in r_module.named_parameters():
if "word_embeddings." in n:
print(f"FOUND embedding weight {n}")
embedding_weight = p

r_module.lm_head.weight = embedding_weight
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RezaYazdaniAminabadi let's chat about this part offline

@jeffra jeffra merged commit aa5e01f into ds-inference/bloom-support Jul 18, 2022
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

Successfully merging this pull request may close these issues.

2 participants