transformers
063d8d27 - Refactor `prepare_seq2seq_batch` (#9524)

Commit
4 years ago
Refactor `prepare_seq2seq_batch` (#9524) * Add target contextmanager and rework prepare_seq2seq_batch * Fix tests, treat BART and Barthez * Add last tokenizers * Fix test * Set src token before calling the superclass * Remove special behavior for T5 * Remove needless imports * Remove needless asserts
Author
Parents
Loading