Enforce target version for black.
This should stabilize formatting.
This commit is contained in:
committed by
Julien Chaumond
parent
f01b3e6680
commit
0ffc8eaf53
@@ -115,7 +115,7 @@ class XxxTokenizer(PreTrainedTokenizer):
|
||||
pad_token=pad_token,
|
||||
cls_token=cls_token,
|
||||
mask_token=mask_token,
|
||||
**kwargs
|
||||
**kwargs,
|
||||
)
|
||||
self.max_len_single_sentence = self.max_len - 2 # take into account special tokens
|
||||
self.max_len_sentences_pair = self.max_len - 3 # take into account special tokens
|
||||
|
||||
Reference in New Issue
Block a user