Skip to content

Commit 9dde7ce

Browse files
authored
fix doc (#556)
1 parent d72c46a commit 9dde7ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddlenlp/data/vocab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def to_tokens(self, indices):
173173
174174
Args:
175175
indices (int|list[int]|tuple[int]|numpy.ndarray): The input indice(s) for mapping.
176-
Must be an `int` or 1D `list[int]`|`tuple[int]`|`numpy.ndarray`.
176+
Must be an `int` or 1D `list[int]`|`tuple[int]`|`numpy.ndarray`.
177177
178178
Returns:
179179
str|list[str]: Obtained token(s). If `indices` is an integer, it

0 commit comments

Comments
 (0)