We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4289a55 commit 0c1b9b3Copy full SHA for 0c1b9b3
src/transformers/data/data_collator.py
@@ -725,7 +725,6 @@ def __post_init__(self):
725
warnings.warn(
726
"Random token replacement is not supported with whole word masking. "
727
"Setting mask_replace_prob to 1.",
728
- UserWarning,
729
)
730
self.mask_replace_prob = 1
731
self.random_replace_prob = 0
0 commit comments