Skip to content

Commit dc0dea3

Browse files
Fraser-GreenleeLysandreJik
authored andcommitted
Correct docstring. (#8845)
Related issue: #8837
1 parent 4d8f5d1 commit dc0dea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transformers/tokenization_utils_base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2586,7 +2586,7 @@ def pad(
25862586
25872587
Instead of :obj:`List[int]` you can have tensors (numpy arrays, PyTorch tensors or TensorFlow tensors),
25882588
see the note above for the return type.
2589-
padding (:obj:`bool`, :obj:`str` or :class:`~transformers.tokenization_utils_base.PaddingStrategy`, `optional`, defaults to :obj:`False`):
2589+
padding (:obj:`bool`, :obj:`str` or :class:`~transformers.tokenization_utils_base.PaddingStrategy`, `optional`, defaults to :obj:`True`):
25902590
Select a strategy to pad the returned sequences (according to the model's padding side and padding
25912591
index) among:
25922592

0 commit comments

Comments
 (0)