fixed finename (#10939)

This commit is contained in:
Bhadresh Savani
2021-03-28 22:18:12 +05:30
committed by GitHub
parent b0595d33c1
commit 4f21e1ddd6

View File

@@ -222,7 +222,7 @@ def postprocess_qa_predictions(
) )
if version_2_with_negative: if version_2_with_negative:
null_odds_file = os.path.join( null_odds_file = os.path.join(
output_dir, "null_odds.json" if prefix is None else f"{prefix}_null_odds_{prefix}.json" output_dir, "null_odds.json" if prefix is None else f"{prefix}_null_odds.json"
) )
logger.info(f"Saving predictions to {prediction_file}.") logger.info(f"Saving predictions to {prediction_file}.")