🚨 Generation config defaults are now `None` (#42702)
* this way betetr maybe?
* delete legacy from bart and mvp
* import not found
* fix some tests
* fix more tests
* revert smth to run tests again
* i though I fixed it already, but there were more models
* commit and check tests, clean-up later
* assisted deocding shoudl work now
* docs and whisper
* fix a few more tests
* no circular import errors pls
* wording
* add a test for defaults following TRL example
* nit
* Update src/transformers/configuration_utils.py
Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com>
* Update src/transformers/generation/candidate_generator.py
Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com>
* Update src/transformers/generation/utils.py
Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com>
* comments
* final fix tests
* more comments
---------
Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com>