Properly indent return block (#14887)
This commit is contained in:
@@ -102,7 +102,7 @@ ENCODE_PLUS_ADDITIONAL_KWARGS_DOCSTRING = r"""
|
|||||||
Whether or not to print more information and warnings.
|
Whether or not to print more information and warnings.
|
||||||
**kwargs: passed to the `self.tokenize()` method
|
**kwargs: passed to the `self.tokenize()` method
|
||||||
|
|
||||||
Return:
|
Return:
|
||||||
[`BatchEncoding`]: A [`BatchEncoding`] with the following fields:
|
[`BatchEncoding`]: A [`BatchEncoding`] with the following fields:
|
||||||
|
|
||||||
- **input_ids** -- List of token ids to be fed to a model.
|
- **input_ids** -- List of token ids to be fed to a model.
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ ENCODE_PLUS_ADDITIONAL_KWARGS_DOCSTRING = r"""
|
|||||||
Whether or not to print more information and warnings.
|
Whether or not to print more information and warnings.
|
||||||
**kwargs: passed to the `self.tokenize()` method
|
**kwargs: passed to the `self.tokenize()` method
|
||||||
|
|
||||||
Return:
|
Return:
|
||||||
[`BatchEncoding`]: A [`BatchEncoding`] with the following fields:
|
[`BatchEncoding`]: A [`BatchEncoding`] with the following fields:
|
||||||
|
|
||||||
- **input_ids** -- List of token ids to be fed to a model.
|
- **input_ids** -- List of token ids to be fed to a model.
|
||||||
|
|||||||
@@ -1343,7 +1343,7 @@ ENCODE_PLUS_ADDITIONAL_KWARGS_DOCSTRING = r"""
|
|||||||
Whether or not to print more information and warnings.
|
Whether or not to print more information and warnings.
|
||||||
**kwargs: passed to the `self.tokenize()` method
|
**kwargs: passed to the `self.tokenize()` method
|
||||||
|
|
||||||
Return:
|
Return:
|
||||||
[`BatchEncoding`]: A [`BatchEncoding`] with the following fields:
|
[`BatchEncoding`]: A [`BatchEncoding`] with the following fields:
|
||||||
|
|
||||||
- **input_ids** -- List of token ids to be fed to a model.
|
- **input_ids** -- List of token ids to be fed to a model.
|
||||||
|
|||||||
Reference in New Issue
Block a user