Properly indent return block (#14887)

This commit is contained in:
Sylvain Gugger
2021-12-22 12:28:45 -05:00
committed by GitHub
parent 13504dcbea
commit 87a033d9fa
3 changed files with 3 additions and 3 deletions

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.