Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
7db1ad63
"tests/vscode:/vscode.git/clone" did not exist on "a1a34657d41627b21dddf2bf9cc55941329a60b6"
Unverified
Commit
7db1ad63
authored
Sep 13, 2023
by
amyeroberts
Committed by
GitHub
Sep 13, 2023
Browse files
Fix AutoTokenizer docstring typo (#26117)
Fix docstring typo
parent
b4773273
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/models/auto/tokenization_auto.py
src/transformers/models/auto/tokenization_auto.py
+1
-1
No files found.
src/transformers/models/auto/tokenization_auto.py
View file @
7db1ad63
...
...
@@ -783,7 +783,7 @@ class AutoTokenizer:
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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment