Skip to content

Commit c262709

Browse files
committed
fix save name
1 parent dc2f6c5 commit c262709

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

evals/sampler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ def update_results(dataset, generation_args: dict, results: dict):
7171
"prompts":[]
7272
}
7373
results = update_results(dataset, generation_args, results)
74-
print(results)
74+
model_name = model_name.split("/")[-1]
7575
save_json(f"results-{model_name}.json", results)

0 commit comments

Comments
 (0)