sh1gechan commited on
Commit
230d385
1 Parent(s): 05ff4b6

Update src/leaderboard/read_evals.py

Browse files
Files changed (1) hide show
  1. src/leaderboard/read_evals.py +7 -0
src/leaderboard/read_evals.py CHANGED
@@ -65,6 +65,13 @@ class EvalResult:
65
  org_and_model = config.get("model_name", config.get("offline_inference").get("model_name", None))
66
  org_and_model = org_and_model.split("/", 1)
67
 
 
 
 
 
 
 
 
68
  if len(org_and_model) == 1:
69
  org = None
70
  model = org_and_model[0]
 
65
  org_and_model = config.get("model_name", config.get("offline_inference").get("model_name", None))
66
  org_and_model = org_and_model.split("/", 1)
67
 
68
+ model_name = model_config.get("model_name") or data.get("offline_inference", {}).get("model_name", "Unknown")
69
+ precision = model_config.get("dtype", "Unknown")
70
+
71
+ print(f"Final Model name: {model_name}")
72
+ print(f"Final Precision: {precision}")
73
+
74
+
75
  if len(org_and_model) == 1:
76
  org = None
77
  model = org_and_model[0]