From 195449c939085c739cb1ab6a13e6638086250e85 Mon Sep 17 00:00:00 2001 From: amyeroberts <22614925+amyeroberts@users.noreply.github.com> Date: Wed, 13 Sep 2023 11:12:27 +0100 Subject: [PATCH] Fix AutoTokenizer docstring typo (#26117) Fix docstring typo --- src/transformers/models/auto/tokenization_auto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/models/auto/tokenization_auto.py b/src/transformers/models/auto/tokenization_auto.py index 49093b3fd61..9a7eda2e032 100644 --- a/src/transformers/models/auto/tokenization_auto.py +++ b/src/transformers/models/auto/tokenization_auto.py @@ -783,7 +783,7 @@ def register(config_class, slow_tokenizer_class=None, fast_tokenizer_class=None, The configuration corresponding to the model to register. slow_tokenizer_class ([`PretrainedTokenizer`], *optional*): The slow tokenizer to register. - slow_tokenizer_class ([`PretrainedTokenizerFast`], *optional*): + fast_tokenizer_class ([`PretrainedTokenizerFast`], *optional*): The fast tokenizer to register. """ if slow_tokenizer_class is None and fast_tokenizer_class is None: