Typo in warning message (#3219)

`T5Tokenizer` instead of `XLNetTokenizer`
This commit is contained in:
Mohamed El-Geish
2020-03-19 06:49:25 -07:00
committed by GitHub
parent 8d3e218ea6
commit cd21d8bc00

View File

@@ -141,7 +141,7 @@ class T5Tokenizer(PreTrainedTokenizer):
import sentencepiece as spm
except ImportError:
logger.warning(
"You need to install SentencePiece to use XLNetTokenizer: https://github.com/google/sentencepiece"
"You need to install SentencePiece to use T5Tokenizer: https://github.com/google/sentencepiece"
"pip install sentencepiece"
)
raise