Files
HuggingFace_transformer/tests
Nik 6645eb61fa fix #14524 (IndexError when mask prob is too low) (#14525)
* fix #14524 (IndexError when mask prob is too low)

* fix formatting

* correct documentation, add option for setting min_num_masks

* change the semantic meaning of `mask_prob` in _compute_mask_indices

With this commit the meaing of `mask_prob` actually adhered to the probability for each
vector to be the start of a masked span of length.

* fix check_copies test

* fix documentation to semantic meaning of `upper bound of overall masking percentage`, revert changes to _compute_mask_indices

* fix typo
2021-12-02 17:05:31 +03:00
..
2021-11-22 12:17:38 -05:00
2020-12-07 18:36:34 -05:00
2021-05-12 13:48:15 +05:30
2021-10-20 14:15:47 +02:00
2021-01-27 21:25:11 +03:00
2020-12-07 18:36:34 -05:00
2021-09-25 21:20:21 +02:00
2021-12-01 10:57:39 +05:30
2021-09-20 13:24:30 +02:00
2021-12-01 10:57:39 +05:30
2020-12-07 18:36:34 -05:00
2021-08-30 06:02:08 -04:00
2021-11-06 10:08:58 -04:00
2021-11-30 11:07:55 +01:00
2021-01-27 21:25:11 +03:00
2021-05-05 12:38:01 +02:00
2021-11-30 11:07:55 +01:00
2020-12-07 18:36:34 -05:00
2021-11-22 12:17:38 -05:00
2021-05-12 13:48:15 +05:30
2021-10-14 10:54:20 +02: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