-
Notifications
You must be signed in to change notification settings - Fork 811
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize T5 for sequence generation (#2054)
* Separate encoding/decoding logic for T5 model in preparation for generation * Implement incremental decoding capabilities for T5 * Remove T5Wrapper * TorchScript changes * Linting fixes * Define reusable types * Add docstring to reorder cache * Update licenses * Linting fixes (round 2) * Add license to t5_transform
- Loading branch information
1 parent
cbaabea
commit 19f8bc9
Showing
7 changed files
with
516 additions
and
587 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
Oops, something went wrong.