Fixed spelling error in T5 tokenizer warning message (s/thouroughly/t… (#28014)

Fixed spelling error in T5 tokenizer warning message (s/thouroughly/thoroughly)
This commit is contained in:
James E. Dobson 2023-12-14 09:52:03 -05:00 committed by GitHub
parent bb1d0d0d9e
commit 0ede762636
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ class T5Tokenizer(PreTrainedTokenizer):
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