Skip to content

Commit

Permalink
chore: Updated comment in tests/test_tokenization.py
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Stollenwerk <[email protected]>
  • Loading branch information
le1nux and flxst committed Jun 14, 2024
1 parent 1cffee8 commit 5303be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_tokenization.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def _assert_tokenization(tokenizer: TokenizerWrapper):
15,
0,
),
# If truncation=False and len(text)<model max length, we want a sequence to be truncated to the max_length, irrespective of the padding flag.
# If truncation=False and len(text)<model max length, we want a sequence to be unmodified, irrespective of the padding flag.
(
"AAAAAAAA" * 15,
PreTrainedHFTokenizerConfig(
Expand Down

0 comments on commit 5303be6

Please sign in to comment.