Rémi Louf
3520be7824
create encoder attention mask from shape of hidden states
...
We currently create encoder attention masks (when they're not provided)
based on the shape of the inputs to the encoder. This is obviously
wrong; sequences can be of different lengths. We now create the encoder
attention mask based on the batch_size and sequence_length of the
encoder hidden states.
2019-12-09 11:19:45 +01:00
..
2019-12-04 18:40:52 -05:00
2019-11-27 11:07:22 -05:00
2019-12-07 07:46:14 -05:00
2019-12-06 12:12:22 +01:00
2019-09-26 10:15:53 +02:00
2019-11-26 13:08:12 -05:00
2019-11-29 11:25:37 -05:00
2019-10-11 10:20:33 +02:00
2019-11-16 00:11:07 -05:00
2019-10-09 11:07:43 +02:00
2019-11-27 18:11:49 +01:00
2019-11-05 13:31:58 -05:00
2019-09-26 12:02:54 +02:00
2019-11-06 16:26:31 -05:00
2019-09-26 10:15:53 +02:00
2019-11-27 17:10:36 +01:00
2019-09-26 10:15:53 +02:00
2019-09-26 10:15:53 +02:00
2019-11-26 13:08:12 -05:00
2019-09-26 10:15:53 +02:00
2019-09-26 10:15:53 +02:00
2019-09-26 10:15:53 +02:00
2019-09-26 10:15:53 +02:00
2019-11-26 13:08:12 -05:00
2019-10-14 01:38:57 -07:00
2019-09-26 10:15:53 +02:00
2019-09-26 10:15:53 +02:00
2019-09-26 10:15:53 +02:00
2019-10-31 18:25:34 +03:00
2019-12-06 11:56:23 -05:00
2019-12-02 18:00:19 -05:00
2019-11-29 11:25:37 -05:00
2019-10-29 17:10:20 +01:00
2019-12-09 11:19:45 +01:00
2019-11-18 14:14:19 +01:00
2019-12-06 01:24:22 +01:00
2019-11-27 18:11:49 +01:00
2019-10-30 16:27:51 +01:00
2019-12-06 01:24:22 +01:00
2019-12-06 13:57:38 -05:00
2019-11-06 16:26:31 -05:00
2019-12-02 18:00:19 -05:00
2019-10-31 18:25:34 +03:00
2019-11-29 09:40:50 -05:00
2019-12-06 01:24:22 +01:00
2019-12-06 12:12:22 +01:00
2019-12-06 01:24:22 +01:00
2019-11-29 09:40:50 -05:00
2019-11-09 16:46:19 +00:00
2019-11-29 09:40:50 -05:00
2019-11-29 09:40:50 -05:00
2019-11-29 09:40:50 -05:00
2019-12-05 11:56:48 +01:00
2019-11-12 11:29:21 -05:00
2019-12-05 09:54:09 +01:00
2019-09-26 10:15:53 +02:00
2019-11-05 00:39:18 +00:00
2019-12-04 13:28:39 +01:00
2019-11-05 00:39:18 +00:00
2019-12-05 12:32:39 +01:00
2019-12-04 09:43:15 +01:00
2019-11-26 13:08:12 -05:00
2019-12-06 13:57:38 -05:00
2019-11-29 11:25:37 -05:00
2019-11-11 10:15:14 -05:00
2019-12-05 13:27:58 +01:00
2019-12-06 13:57:38 -05:00
2019-11-27 18:11:49 +01:00
2019-12-06 13:57:38 -05:00
2019-12-06 13:57:38 -05:00
2019-11-11 10:15:14 -05:00
2019-09-26 10:15:53 +02:00
2019-12-06 16:15:53 -05:00
2019-12-06 13:57:38 -05:00
2019-12-06 13:57:38 -05:00