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
8bd91182
Commit
8bd91182
authored
Jun 18, 2019
by
thomwolf
Browse files
quick fix
parent
3e847449
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/run_classifier.py
examples/run_classifier.py
+1
-1
No files found.
examples/run_classifier.py
View file @
8bd91182
...
...
@@ -386,7 +386,7 @@ def main():
str
(
task_name
)))
try
:
with
open
(
cached_eval_features_file
,
"rb"
)
as
reader
:
train
_features
=
pickle
.
load
(
reader
)
eval
_features
=
pickle
.
load
(
reader
)
except
:
eval_features
=
convert_examples_to_features
(
eval_examples
,
label_list
,
args
.
max_seq_length
,
tokenizer
,
output_mode
)
...
...
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