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
87a033d9
"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "789ea72037219332e20e66e626b6c4c32851f0dc"
Unverified
Commit
87a033d9
authored
Dec 22, 2021
by
Sylvain Gugger
Committed by
GitHub
Dec 22, 2021
Browse files
Properly indent return block (#14887)
parent
13504dcb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
src/transformers/models/luke/tokenization_luke.py
src/transformers/models/luke/tokenization_luke.py
+1
-1
src/transformers/models/mluke/tokenization_mluke.py
src/transformers/models/mluke/tokenization_mluke.py
+1
-1
src/transformers/tokenization_utils_base.py
src/transformers/tokenization_utils_base.py
+1
-1
No files found.
src/transformers/models/luke/tokenization_luke.py
View file @
87a033d9
...
...
@@ -102,7 +102,7 @@ ENCODE_PLUS_ADDITIONAL_KWARGS_DOCSTRING = r"""
Whether or not to print more information and warnings.
**kwargs: passed to the `self.tokenize()` method
Return:
Return:
[`BatchEncoding`]: A [`BatchEncoding`] with the following fields:
- **input_ids** -- List of token ids to be fed to a model.
...
...
src/transformers/models/mluke/tokenization_mluke.py
View file @
87a033d9
...
...
@@ -100,7 +100,7 @@ ENCODE_PLUS_ADDITIONAL_KWARGS_DOCSTRING = r"""
Whether or not to print more information and warnings.
**kwargs: passed to the `self.tokenize()` method
Return:
Return:
[`BatchEncoding`]: A [`BatchEncoding`] with the following fields:
- **input_ids** -- List of token ids to be fed to a model.
...
...
src/transformers/tokenization_utils_base.py
View file @
87a033d9
...
...
@@ -1343,7 +1343,7 @@ ENCODE_PLUS_ADDITIONAL_KWARGS_DOCSTRING = r"""
Whether or not to print more information and warnings.
**kwargs: passed to the `self.tokenize()` method
Return:
Return:
[`BatchEncoding`]: A [`BatchEncoding`] with the following fields:
- **input_ids** -- List of token ids to be fed to a model.
...
...
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