Skip to content

Commit

Permalink
update #445
Browse files Browse the repository at this point in the history
  • Loading branch information
shibing624 committed Nov 28, 2023
1 parent a4c2a89 commit 130ce27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycorrector/gpt/gpt_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ def __init__(self, tokenizer, args, data, mode):

if os.path.exists(cached_features_file) and (
(not args.reprocess_input_data and not args.no_cache)
or (mode == "dev" and args.use_cached_eval_features and not args.no_cache)
or (mode == "dev" and not args.no_cache)
):
logger.info(" Loading features from cached file %s" % cached_features_file)
with open(cached_features_file, "rb") as handle:
Expand Down

0 comments on commit 130ce27

Please sign in to comment.