-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Failing draft of T5 * Fix all tests with new transformer options * Apply position bias at each layer * Do not scale query * Fix some minor implementation bugs: * Pass tests * Add conditional generation head * Fix gated act * Apply suggestions from code review Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com> * Fix tests * Update test * Account for attention projection size in the cache * Fix relative attention bias in autoregression with cache * Remove :output_norm * Add tokenizer tests * Pass :scale_query? to attention weights layer * Simplify * Refactor gated activation * attention_projection_size -> attention_head_size * Refactor relative attention bias * Make layer norm option optional * Fix albert tests * Remove usage of deprecated power --------- Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
- Loading branch information
1 parent
18936ab
commit a2df872
Showing
24 changed files
with
1,199 additions
and
70 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
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.