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
357db709
Commit
357db709
authored
Dec 21, 2019
by
Aymeric Augustin
Browse files
Fix E712 flake8 warning (x1).
parent
f9c5317d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/run_multiple_choice.py
examples/run_multiple_choice.py
+1
-1
No files found.
examples/run_multiple_choice.py
View file @
357db709
...
@@ -334,7 +334,7 @@ def load_and_cache_examples(args, task, tokenizer, evaluate=False, test=False):
...
@@ -334,7 +334,7 @@ def load_and_cache_examples(args, task, tokenizer, evaluate=False, test=False):
cached_mode
=
"test"
cached_mode
=
"test"
else
:
else
:
cached_mode
=
"train"
cached_mode
=
"train"
assert
(
evaluate
==
True
and
test
==
True
)
==
False
assert
not
(
evaluate
and
test
)
cached_features_file
=
os
.
path
.
join
(
cached_features_file
=
os
.
path
.
join
(
args
.
data_dir
,
args
.
data_dir
,
"cached_{}_{}_{}_{}"
.
format
(
"cached_{}_{}_{}_{}"
.
format
(
...
...
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