transformers
Generate: throw warning when `return_dict_in_generate` is False but should be True
#33146
Merged

Generate: throw warning when `return_dict_in_generate` is False but should be True #33146

gante
gante gante requested a review from LysandreJik LysandreJik 2 years ago
gante
gante commented on 2024-08-27
ArthurZucker
ArthurZucker approved these changes on 2024-08-27
HuggingFaceDocBuilderDev
LysandreJik
LysandreJik approved these changes on 2024-08-28
gante add warning
a5fee60d
gante more precise docstring
fce676b7
gante gante force pushed to fce676b7 2 years ago
gante from_model_config sets return_dict_in_generate if any output flag is …
14eacd49
gante wording
f077ac0a
gante gante merged eb5b968c into main 2 years ago
gante gante deleted the deprecate_return_dict branch 2 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone