From 0ede7626368ba883848d267efe558fb7a9177f04 Mon Sep 17 00:00:00 2001 From: "James E. Dobson" Date: Thu, 14 Dec 2023 09:52:03 -0500 Subject: [PATCH] =?UTF-8?q?Fixed=20spelling=20error=20in=20T5=20tokenizer?= =?UTF-8?q?=20warning=20message=20(s/thouroughly/t=E2=80=A6=20(#28014)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed spelling error in T5 tokenizer warning message (s/thouroughly/thoroughly) --- src/transformers/models/t5/tokenization_t5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/models/t5/tokenization_t5.py b/src/transformers/models/t5/tokenization_t5.py index 4ff1cf29c039..af2d8ef6e04a 100644 --- a/src/transformers/models/t5/tokenization_t5.py +++ b/src/transformers/models/t5/tokenization_t5.py @@ -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