Fix typo
This commit is contained in:
@@ -3276,7 +3276,7 @@ class PreTrainedTokenizerBase(SpecialTokensMixin, PushToHubMixin):
|
|||||||
"""
|
"""
|
||||||
warnings.warn(
|
warnings.warn(
|
||||||
"`prepare_seq2seq_batch` is deprecated and will be removed in version 5 of 🤗 Transformers. Use the "
|
"`prepare_seq2seq_batch` is deprecated and will be removed in version 5 of 🤗 Transformers. Use the "
|
||||||
"regular `__call__` method to prepare your inputs and the tokenizer under the `with_target_tokenizer` "
|
"regular `__call__` method to prepare your inputs and the tokenizer under the `as_target_tokenizer` "
|
||||||
"context manager to prepare your targets. See the documentation of your specific tokenizer for more "
|
"context manager to prepare your targets. See the documentation of your specific tokenizer for more "
|
||||||
"details",
|
"details",
|
||||||
FutureWarning,
|
FutureWarning,
|
||||||
|
|||||||
Reference in New Issue
Block a user