Remove redundant line in run_pl_glue.py (#6305)

This commit is contained in:
xujiaze13
2020-08-06 12:43:45 -07:00
committed by GitHub
parent 118ecfd427
commit eb2bd8d6eb

View File

@@ -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 = (