Skip to content

Commit

Permalink
Fixed spelling error in T5 tokenizer warning message (s/thouroughly/t… (
Browse files Browse the repository at this point in the history
#28014)

Fixed spelling error in T5 tokenizer warning message (s/thouroughly/thoroughly)
  • Loading branch information
jeddobson authored Dec 14, 2023
1 parent bb1d0d0 commit 0ede762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/models/t5/tokenization_t5.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def __init__(
f"You are using the default legacy behaviour of the {self.__class__}. This is"
" expected, and simply means that the `legacy` (previous) behavior will be used so nothing changes for you."
" If you want to use the new behaviour, set `legacy=False`. This should only be set if you understand what it"
" means, and thouroughly read the reason why this was added as explained in"
" means, and thoroughly read the reason why this was added as explained in"
" https://github.com/huggingface/transformers/pull/24565"
)
legacy = True
Expand Down

0 comments on commit 0ede762

Please sign in to comment.