Skip to content

Commit

Permalink
Fix AutoTokenizer docstring typo (huggingface#26117)
Browse files Browse the repository at this point in the history
Fix docstring typo
  • Loading branch information
amyeroberts authored and parambharat committed Sep 26, 2023
1 parent 26bad91 commit 195449c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/models/auto/tokenization_auto.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 195449c

Please sign in to comment.