Fix BaseTokenizer enable_truncation docstring

This commit is contained in:
Nick
2020-11-21 10:47:12 -05:00
committed by Anthony MOI
parent 2fbd6779f6
commit dc60d4fc0c

View File

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