Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
bfec203d
Commit
bfec203d
authored
Jan 09, 2020
by
Yohei Tamura
Committed by
Lysandre Debut
Jan 09, 2020
Browse files
modified: src/transformers/tokenization_utils.py
parent
f599623a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/tokenization_utils.py
src/transformers/tokenization_utils.py
+1
-1
No files found.
src/transformers/tokenization_utils.py
View file @
bfec203d
...
...
@@ -460,7 +460,7 @@ class PreTrainedTokenizer(object):
try
:
tokenizer
=
cls
(
*
init_inputs
,
**
init_kwargs
)
except
OSError
:
OSError
(
raise
OSError
(
"Unable to load vocabulary from file. "
"Please check that the provided vocabulary is accessible and not corrupted."
)
...
...
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