Files
HuggingFace_transformer/tests
Daniel Stancl 0b93358447 Fix usage of head masks by TF encoder-decoder models' generate() function (#11775)
* Fix Bart

* Fix Blenderbot{,_small}

* Fix LED

* Fix Marian

* Fix MBart

* Fix Pegasus

* Fix T5

* Add test for generation with head_mask

* Add a common TF test

* Override a test for the LED model as head masking is not yet properly implemented

* Remove all head_masks from input preparation for LED

* Drop masking for T5 as it needs a bit of refactor
2021-05-26 14:02:44 +01:00
..
2021-05-12 11:46:02 -04:00
2021-04-23 09:17:37 -04:00
2020-12-07 18:36:34 -05:00
2020-12-07 18:36:34 -05:00
2020-12-07 18:36:34 -05:00
2020-12-07 18:36:34 -05:00
2020-12-07 18:36:34 -05:00
2021-05-12 13:48:15 +05:30
2021-04-23 09:17:37 -04:00
2021-01-27 21:25:11 +03:00
2020-12-07 18:36:34 -05:00
2021-05-12 13:48:15 +05:30
2021-05-18 22:50:51 +01:00
2021-05-18 22:50:51 +01:00
2021-04-26 13:50:34 +02:00
2021-05-03 09:07:29 -04:00
2021-04-26 13:50:34 +02:00
2020-12-09 10:32:43 -05:00
2020-12-07 18:36:34 -05:00
2020-12-07 18:36:34 -05:00
2021-04-26 13:50:34 +02:00
2021-01-27 21:25:11 +03:00
2021-05-05 12:38:01 +02:00
2020-12-07 18:36:34 -05:00
2020-12-07 18:36:34 -05:00
2021-05-12 13:48:15 +05:30
2020-12-07 18:36:34 -05:00
2021-05-12 13:48:15 +05:30
2021-04-26 13:50:34 +02:00
2021-05-03 09:07:29 -04:00
2020-12-07 18:36:34 -05:00
2020-12-07 18:36:34 -05:00
2021-04-26 13:50:34 +02:00
2021-04-21 11:11:20 -04:00