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
eb2bd8d6
Unverified
Commit
eb2bd8d6
authored
Aug 06, 2020
by
xujiaze13
Committed by
GitHub
Aug 06, 2020
Browse files
Remove redundant line in run_pl_glue.py (#6305)
parent
118ecfd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
examples/text-classification/run_pl_glue.py
examples/text-classification/run_pl_glue.py
+0
-1
No files found.
examples/text-classification/run_pl_glue.py
View file @
eb2bd8d6
...
...
@@ -54,7 +54,6 @@ class GLUETransformer(BaseTransformer):
cached_features_file
=
self
.
_feature_file
(
mode
)
if
os
.
path
.
exists
(
cached_features_file
)
and
not
args
.
overwrite_cache
:
logger
.
info
(
"Loading features from cached file %s"
,
cached_features_file
)
features
=
torch
.
load
(
cached_features_file
)
else
:
logger
.
info
(
"Creating features from dataset file at %s"
,
args
.
data_dir
)
examples
=
(
...
...
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