-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable
tie_word_embeddings
config setting to enable / disable weigh…
…t tied embeddings (#728) * enable disabling embed weight tying * fix bug * updt with descriptive var names * fix hf config * move comment with code * bug fix * add _tie_weights method * undo mcli yaml change * refactor * add tests * Update llmfoundry/models/mpt/modeling_mpt.py Co-authored-by: Sasha Doubov <[email protected]> * pr comments * updt tests to guard against numerical issues --------- Co-authored-by: Sasha Doubov <[email protected]>
- Loading branch information
1 parent
d11ba82
commit 7899178
Showing
6 changed files
with
169 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.