mirror of
https://github.com/velocitatem/PHANTOM.git
synced 2026-05-31 16:43:36 +00:00
refactoring training spc setup and benchmarking
This commit is contained in:
@@ -96,7 +96,11 @@ def _extract_metrics(output: str) -> dict:
|
||||
obj = json.loads(block)
|
||||
except Exception:
|
||||
continue
|
||||
if isinstance(obj, dict) and ("sweep/score" in obj or "eval/reward" in obj):
|
||||
if isinstance(obj, dict) and (
|
||||
"objective/score" in obj
|
||||
or "eval/reward_mean" in obj
|
||||
or "sweep/score" in obj
|
||||
):
|
||||
return obj
|
||||
return {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user