Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
cd21d8bc
Unverified
Commit
cd21d8bc
authored
Mar 19, 2020
by
Mohamed El-Geish
Committed by
GitHub
Mar 19, 2020
Browse files
Typo in warning message (#3219)
`T5Tokenizer` instead of `XLNetTokenizer`
parent
8d3e218e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/tokenization_t5.py
src/transformers/tokenization_t5.py
+1
-1
No files found.
src/transformers/tokenization_t5.py
View file @
cd21d8bc
...
...
@@ -141,7 +141,7 @@ class T5Tokenizer(PreTrainedTokenizer):
import
sentencepiece
as
spm
except
ImportError
:
logger
.
warning
(
"You need to install SentencePiece to use
XLNet
Tokenizer: https://github.com/google/sentencepiece"
"You need to install SentencePiece to use
T5
Tokenizer: https://github.com/google/sentencepiece"
"pip install sentencepiece"
)
raise
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment