-
Notifications
You must be signed in to change notification settings - Fork 3k
add inputs_embeds to Bart/MBart/Unified_Transformer/Unimo/CodeGen #3769
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 18 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
8a99eb4
fix bug for t5 which will occured when encoder_output is not None
Yam0214 460f3a3
Merge branch 'develop' of github.com:PaddlePaddle/PaddleNLP into inpu…
Yam0214 6174326
add inputs_embeds to bart and force use_cache=False when labels is pr…
Yam0214 64b23f2
add inputs_embeds to mbart and force use_cache=False when labels is p…
Yam0214 53096e1
fix conflicts
Yam0214 7ff588e
add inputs_embeds to codegen
Yam0214 ed51fba
add inputs_embeds to unimo
Yam0214 89e1922
add inputs_embeds to unified
Yam0214 4ae2205
Merge branch 'develop' of github.com:PaddlePaddle/PaddleNLP into inpu…
Yam0214 3ffba1b
change assertion to warning with default position_ids
Yam0214 0569bd2
Merge branch 'develop' of github.com:PaddlePaddle/PaddleNLP into inpu…
Yam0214 2ce2f74
Merge branch 'codestyle_before' into inputs_embed
Yam0214 32148d1
merge and fix conflicts
Yam0214 15112d8
check code style
Yam0214 005761f
merge and fix conflicts
Yam0214 2cd6639
Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleNLP i…
Yam0214 8b5766f
change tensor.shape to paddle.shape(tensor)
Yam0214 cbb5fc9
merge and fix conflicts
Yam0214 48c1db1
Merge branch 'develop' into inputs_embed
FrostML 7ed06df
fix documntes and change expand_as to expand
Yam0214 0f884f8
Merge branch 'develop' into inputs_embed
wj-Mcat eb27b2a
Merge branch 'develop' into inputs_embed
FrostML 556b751
Merge branch 'develop' into inputs_embed
FrostML 791dfce
Merge branch 'develop' into inputs_embed
FrostML d0aded0
Merge branch 'develop' into inputs_embed
FrostML 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
Large diffs are not rendered by default.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
首字母大写,其次说明下将会使用默认值 None 作为 attention mask,表示不进行 mask 操作。后面的也一样。