diff --git a/benchmarks/P3L.py b/benchmarks/P3L.py index 1fe0405212e7..c0b279bbb742 100755 --- a/benchmarks/P3L.py +++ b/benchmarks/P3L.py @@ -183,7 +183,7 @@ def main(args: argparse.Namespace): print(MESSAGE) MESSAGE = (f"Iterations {c+1} through {c+len(CONTEXT)}" \ - " of {my_n_patches} Intermediate" \ + f" of {my_n_patches} Intermediate " \ "Estimates:\n" \ f"\tCross-entropy_intermediate={my_ppl/num_tokens_generated}\n" \ f"\tPerplexity_intermediate=" \ diff --git a/benchmarks/P3L_mling.py b/benchmarks/P3L_mling.py index 740f08681638..227a36dd75b2 100755 --- a/benchmarks/P3L_mling.py +++ b/benchmarks/P3L_mling.py @@ -214,7 +214,7 @@ def main(args: argparse.Namespace): print(MESSAGE) MESSAGE = (f"Iterations {c+1} through {c+len(CONTEXT)}" \ - " of {my_n_patches} Intermediate" \ + f" of {my_n_patches} Intermediate " \ "Estimates:\n" \ f"\tCross-entropy_intermediate={my_ppl/num_tokens_generated}\n" \ f"\tPerplexity_intermediate=" \