"tests/modeling_tf_roberta_test.py" did not exist on "35401fe50fa3e460b2a4422630b017f106c79e03"
Fix EncoderDecoderModel classes to be more like BART and T5 (#14139)
* First draft * Make tuple output more readable * Replace assertions by value errors * Make it possible to predict_with_generate for vision and speech models * Adapt Seq2SeqTrainer to work with VisionEncoderDecoder/SpeechEncoderDecoder * Add deprecation warning * Add copied from statements to vision and speech encoder decoders * Fix failing test * Apply @patrickvonplaten's suggestion * Use reshape instead of view for consistency
Showing
Please register or sign in to comment