"docs/source/ja/tasks/image_classification.md" did not exist on "ffc319e7b8e9988505d010f47a637088d102fff2"
[GenerationConfig] add additional kwargs handling (#21269)
* add additional kwargs handling * fix issue when serializing * correct order of kwargs removal for serialization in from dict * add `dict_torch_dtype_to_str` in case a dtype is needed for generation * add condition when adding the kwargs : not from config * Add comment based on review Co-authored-by:Joao Gante <joaofranciscocardosogante@gmail.com> * add test function * default None when poping arg Co-authored-by:
Joao Gante <joaofranciscocardosogante@gmail.com>
Showing
Please register or sign in to comment