fix: print the full model tag in the longmemeval summary header too

The previous commit replaced llm_model.split('-')[1] on the diary pre-compute
line, but run_benchmark builds the same short name again 35 lines later for
the summary header. That one is dash-guarded so it does not crash, yet it
still guesses at a short name, so a single run printed the full tag on one
line and a mangled fragment on the next: "claude-sonnet-4-6" became "sonnet",
and "llama3.2-vision:11b" became "vision:11b".

No dash-split of a model tag is left anywhere under benchmarks/.
This commit is contained in:
ATKabli 2026-08-08 14:22:46 +03:00
parent 753ecd6855
commit d64ad8de8d
1 changed files with 2 additions and 3 deletions

View File

@ -3051,9 +3051,8 @@ def run_benchmark(
print(f" Data: {Path(data_file).name}")
print(f" Questions: {len(data)}")
print(f" Granularity: {granularity}")
model_short = llm_model.split("-")[1] if "-" in llm_model else llm_model
rerank_label = f" + LLM re-rank ({model_short})" if llm_rerank_enabled else ""
diary_label = f" [diary ingest: {model_short}]" if mode == "diary" else ""
rerank_label = f" + LLM re-rank ({llm_model})" if llm_rerank_enabled else ""
diary_label = f" [diary ingest: {llm_model}]" if mode == "diary" else ""
print(f" Mode: {mode}{diary_label}{rerank_label}")
print(f"{'' * 60}\n")