Minseok Bae commited on
Commit
c3e9147
1 Parent(s): 156ef43

modified read_evals.py

Browse files
Files changed (1) hide show
  1. src/leaderboard/read_evals.py +1 -4
src/leaderboard/read_evals.py CHANGED
@@ -65,11 +65,8 @@ class EvalResult:
65
 
66
  # We average all scores of a given metric (not all metrics are present in all files)
67
  accs = np.array([v.get(task.metric, None) for k, v in data["results"].items() if task.benchmark == k])
68
- if accs.size == 0 or any([acc is None for acc in accs]):
69
- continue
70
 
71
- mean_acc = np.mean(accs) * 100.0
72
- results[task.benchmark] = mean_acc
73
 
74
  return self(
75
  eval_name=result_key,
 
65
 
66
  # We average all scores of a given metric (not all metrics are present in all files)
67
  accs = np.array([v.get(task.metric, None) for k, v in data["results"].items() if task.benchmark == k])
 
 
68
 
69
+ results[task.benchmark] = accs
 
70
 
71
  return self(
72
  eval_name=result_key,