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
4c12860f
Commit
4c12860f
authored
Dec 11, 2019
by
LysandreJik
Browse files
Remove misleading documentation
parent
51ae2032
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
transformers/tokenization_utils.py
transformers/tokenization_utils.py
+0
-1
No files found.
transformers/tokenization_utils.py
View file @
4c12860f
...
@@ -628,7 +628,6 @@ class PreTrainedTokenizer(object):
...
@@ -628,7 +628,6 @@ class PreTrainedTokenizer(object):
Take care of added tokens.
Take care of added tokens.
text: The sequence to be encoded.
text: The sequence to be encoded.
return_tokens_mapped_to_origin: (optional) Set to True to return the index of each token in the initial whitespace tokenization. (default False).
**kwargs: passed to the child `self.tokenize()` method
**kwargs: passed to the child `self.tokenize()` method
"""
"""
def
lowercase_text
(
t
):
def
lowercase_text
(
t
):
...
...
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