-
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.
Allow MPT models to return attention weights (#599)
* Allow MPT models to return attention weights * Update llmfoundry/models/mpt/modeling_mpt.py Co-authored-by: Daniel King <[email protected]> * Add unit test * Update tests/test_model.py Co-authored-by: Daniel King <[email protected]> * Update tests/test_model.py --------- Co-authored-by: Daniel King <[email protected]>
- Loading branch information
1 parent
299e737
commit 0be2ca8
Showing
3 changed files
with
5 additions
and
0 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