mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
fixed finename (#10939)
This commit is contained in:
parent
b0595d33c1
commit
4f21e1ddd6
@ -222,7 +222,7 @@ def postprocess_qa_predictions(
|
||||
)
|
||||
if version_2_with_negative:
|
||||
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}.")
|
||||
|
Loading…
Reference in New Issue
Block a user