transformers
Handle padding warning in generation when using `inputs_embeds`
#23131
Merged

Handle padding warning in generation when using `inputs_embeds` #23131

zrthxn
sgugger
HuggingFaceDocBuilderDev
gante
gante commented on 2023-05-03
zrthxn
zrthxn zrthxn marked this pull request as ready for review 2 years ago
gante
zrthxn
zrthxn zrthxn requested a review from gante gante 2 years ago
gante
gante approved these changes on 2023-05-10
gante gante requested a review from amyeroberts amyeroberts 2 years ago
amyeroberts
amyeroberts approved these changes on 2023-05-11
gante
Handle padding warning in generation when using `inputs_embeds`
7cf57f78
Simpler condition
8827281f
Black formatter
6e97d7fb
Changed warning logic
49f77c8f
zrthxn zrthxn force pushed to 49f77c8f 2 years ago
zrthxn
amyeroberts amyeroberts merged 291c5e9b into main 2 years ago
zrthxn zrthxn deleted the generation-warning branch 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone