Remove redundant line in run_pl_glue.py (#6305)
This commit is contained in:
Родитель
118ecfd427
Коммит
eb2bd8d6eb
|
@ -54,7 +54,6 @@ class GLUETransformer(BaseTransformer):
|
||||||
cached_features_file = self._feature_file(mode)
|
cached_features_file = self._feature_file(mode)
|
||||||
if os.path.exists(cached_features_file) and not args.overwrite_cache:
|
if os.path.exists(cached_features_file) and not args.overwrite_cache:
|
||||||
logger.info("Loading features from cached file %s", cached_features_file)
|
logger.info("Loading features from cached file %s", cached_features_file)
|
||||||
features = torch.load(cached_features_file)
|
|
||||||
else:
|
else:
|
||||||
logger.info("Creating features from dataset file at %s", args.data_dir)
|
logger.info("Creating features from dataset file at %s", args.data_dir)
|
||||||
examples = (
|
examples = (
|
||||||
|
|
Загрузка…
Ссылка в новой задаче