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
c54a6f99
"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "e2a6445ebbc36121817c1f605d9a09a335f5fba5"
Unverified
Commit
c54a6f99
authored
Aug 07, 2024
by
Bill Zhou
Committed by
GitHub
Aug 07, 2024
Browse files
Fix typo in tokenization_utils_base.py (#32484)
parent
46d09af4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/tokenization_utils_base.py
src/transformers/tokenization_utils_base.py
+1
-1
No files found.
src/transformers/tokenization_utils_base.py
View file @
c54a6f99
...
...
@@ -1600,7 +1600,7 @@ class PreTrainedTokenizerBase(SpecialTokensMixin, PushToHubMixin):
if
"clean_up_tokenization_spaces"
not
in
kwargs
:
warnings
.
warn
(
"`clean_up_tokenization_spaces` was not set. It will be set to `True` by default. This "
"behavior will be depra
c
ted in transformers v4.45, and will be then set to `False` by default. "
"behavior will be depr
ec
ated in transformers v4.45, and will be then set to `False` by default. "
"For more details check this issue: https://github.com/huggingface/transformers/issues/31884"
,
FutureWarning
,
)
...
...
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