Skip to content

Commit cd07b6b

Browse files
committed
CI format checks
1 parent aa59475 commit cd07b6b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

transformer_lens/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,9 @@ def tokenize_and_concatenate(
340340
_deprecation_warnings_saved = None
341341
if hasattr(tokenizer, "deprecation_warnings"):
342342
_deprecation_warnings_saved = tokenizer.deprecation_warnings.copy()
343-
tokenizer.deprecation_warnings["sequence-length-is-longer-than-the-specified-maximum"] = (
344-
False
345-
)
343+
tokenizer.deprecation_warnings[
344+
"sequence-length-is-longer-than-the-specified-maximum"
345+
] = False
346346
try:
347347
# Define the length to chop things up into - leaving space for a bos_token if required
348348
if add_bos_token:

0 commit comments

Comments
 (0)