mirror of
https://github.com/mii443/tokenizers.git
synced 2025-12-08 05:38:23 +00:00
Fix BaseTokenizer enable_truncation docstring
This commit is contained in:
@@ -117,7 +117,7 @@ class BaseTokenizer:
|
||||
The length of the previous first sequence to be included
|
||||
in the overflowing sequence
|
||||
|
||||
strategy: (`optional) str:
|
||||
strategy: (`optional`) str:
|
||||
Can be one of `longest_first`, `only_first` or `only_second`
|
||||
"""
|
||||
return self._tokenizer.enable_truncation(max_length, stride=stride, strategy=strategy)
|
||||
|
||||
Reference in New Issue
Block a user