mirror of
https://github.com/EleutherAI/lm-evaluation-harness.git
synced 2026-10-12 02:02:05 +00:00
Fixed bug that prevents '=' sign in checkpoint names (#3517)
This commit is contained in:
@@ -112,7 +112,7 @@ def key_val_to_dict(args: str) -> dict[str, Any]:
|
||||
if not args:
|
||||
return res
|
||||
|
||||
for k, v in (item.split("=") for item in args.split(",")):
|
||||
for k, v in (item.split("=",1) for item in args.split(",")):
|
||||
v = handle_cli_value_string(v)
|
||||
if k in res:
|
||||
eval_logger.warning(f"Overwriting key '{k}': {res[k]!r} -> {v!r}")
|
||||
|
||||
Reference in New Issue
Block a user