Skip to content

Commit

Permalink
Use eval_features from inference repo
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh committed Nov 28, 2023
1 parent 20ad9e9 commit 657cb42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cm-mlops/script/process-mlperf-accuracy/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def preprocess(i):
"' --log_file '" + os.path.join(result_dir, "mlperf_log_accuracy.json") + \
"' --vocab_file '" + env['CM_ML_MODEL_BERT_VOCAB_FILE_WITH_PATH'] + \
"' --out_file '" + os.path.join(result_dir, 'predictions.json') + \
"' --features_cache_file '" + os.path.expanduser('~/.cache/eval_features.pickle') + \
"' --features_cache_file '" + os.path.join(env['CM_MLPERF_INFERENCE_BERT_PATH'], 'eval_features.pickle') + \
"' --output_dtype " + env['CM_ACCURACY_DTYPE'] + env.get('CM_OUTPUT_TRANSPOSED','') + max_examples_string + " > '" + os.path.join(result_dir, "accuracy.txt") + "'"

elif dataset == "cnndm":
Expand Down

0 comments on commit 657cb42

Please sign in to comment.