Enforce target version for black.

This should stabilize formatting.
This commit is contained in:
Aymeric Augustin
2019-12-27 22:47:59 +01:00
committed by Julien Chaumond
parent f01b3e6680
commit 0ffc8eaf53
19 changed files with 21 additions and 21 deletions

View File

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