Skip to content

Commit 29499bb

Browse files
authored
Fixing the output formatting (#414)
1 parent 3f610f0 commit 29499bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

benchmarks/P3L.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def main(args: argparse.Namespace):
183183
print(MESSAGE)
184184

185185
MESSAGE = (f"Iterations {c+1} through {c+len(CONTEXT)}" \
186-
" of {my_n_patches} Intermediate" \
186+
f" of {my_n_patches} Intermediate " \
187187
"Estimates:\n" \
188188
f"\tCross-entropy_intermediate={my_ppl/num_tokens_generated}\n" \
189189
f"\tPerplexity_intermediate=" \

benchmarks/P3L_mling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def main(args: argparse.Namespace):
214214
print(MESSAGE)
215215

216216
MESSAGE = (f"Iterations {c+1} through {c+len(CONTEXT)}" \
217-
" of {my_n_patches} Intermediate" \
217+
f" of {my_n_patches} Intermediate " \
218218
"Estimates:\n" \
219219
f"\tCross-entropy_intermediate={my_ppl/num_tokens_generated}\n" \
220220
f"\tPerplexity_intermediate=" \

0 commit comments

Comments
 (0)