From 5a699bd440bd028fc53de1415386c57e2ab90574 Mon Sep 17 00:00:00 2001 From: Gregory Shtrasberg Date: Mon, 10 Feb 2025 21:18:00 +0000 Subject: [PATCH] Fixing the output formatting --- benchmarks/P3L.py | 2 +- benchmarks/P3L_mling.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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=" \