add doctests for bart like seq2seq models (#15987)
* boom boom
* enable doctest for few seq2seq models
* add seq2seq models in documentation_tests.txt
* fix docstring blenderbot
* Apply suggestions from code review
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* fix seq classif doc sample
* don't check loss for seq classif examples
* +IGNORE_OUTPUT => +IGNORE_RESULT
* fix _SEQ_CLASS_EXPECTED_OUTPUT_SHAPE
* fix some docs
* more fixes
* last fix (hopefully)
* fix big bird gen example
* fix mbart gen example
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>