-
Notifications
You must be signed in to change notification settings - Fork 34k
Add T5 Encoder for Feature Extraction #8717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 33 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
35f502b
Add T5 Encoder class for feature extraction
agemagician b211acd
fix T5 encoder add_start_docstrings indent
agemagician b21313d
update init with T5 encoder
agemagician 6b744d0
update init with TFT5ModelEncoder
agemagician b1c0127
remove TFT5ModelEncoder
agemagician 67d25b7
change T5ModelEncoder order in init
agemagician 3519db6
add T5ModelEncoder to transformers init
agemagician 5d4db69
clean T5ModelEncoder
agemagician ceb83f2
update init with TFT5ModelEncoder
agemagician adcfb55
add TFModelEncoder for Tensorflow
agemagician 725b225
update init with TFT5ModelEncoder
agemagician b846556
Update src/transformers/models/t5/modeling_t5.py
agemagician 493a91c
remove encoder_outputs
agemagician d3ef598
Authorize missing decoder keys
agemagician 9922f51
remove unnecessary input parameters
agemagician aefed96
remove use_cache
agemagician 81754a5
add doctoring for T5 encoder
agemagician d527699
change return_dict to dot access
agemagician 0f7fc54
add T5_ENCODER_INPUTS_DOCSTRING for TF T5
agemagician 134dd64
change TFT5Encoder output type to BaseModelOutput
agemagician bf26228
remove unnecessary parameters for TFT5Encoder
agemagician 6f66a35
remove unnecessary if statement
agemagician 0629549
add import BaseModelOutput
agemagician 2d53021
fix BaseModelOutput typo to TFBaseModelOutput
agemagician 36efefb
update T5 doc with T5ModelEncoder
agemagician 831fef6
add T5ModelEncoder to tests
agemagician e356b6a
finish pytorch
patrickvonplaten f74bb85
merge
patrickvonplaten d15ade6
finish docs and mt5
patrickvonplaten 4299356
add mtf to init
patrickvonplaten 1b257ac
fix init
patrickvonplaten fbf8a5a
remove n_positions
patrickvonplaten e43ae9f
finish PR
patrickvonplaten 815a76a
Update src/transformers/models/mt5/modeling_mt5.py
patrickvonplaten 606b93e
Update src/transformers/models/t5/modeling_t5.py
patrickvonplaten 36e0d23
Update src/transformers/models/t5/modeling_tf_t5.py
patrickvonplaten 486283b
Update src/transformers/models/mt5/modeling_tf_mt5.py
patrickvonplaten a6a84d9
make style
patrickvonplaten File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.