Spaces:
Running
Running
XufengDuan
commited on
Commit
•
4592770
1
Parent(s):
4f96c51
update scripts
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -65,8 +65,9 @@ class EvalResult:
|
|
65 |
# Extract results available in this file (some results are split in several files)
|
66 |
results = {}
|
67 |
for task in utils.Tasks:
|
|
|
68 |
task = task.value
|
69 |
-
print(task.value)
|
70 |
if isinstance(task.metric, str):
|
71 |
accs = np.array([v.get(task.metric, None) for k, v in data["results"].items() if
|
72 |
task.benchmark == k and isinstance(v, dict)])
|
|
|
65 |
# Extract results available in this file (some results are split in several files)
|
66 |
results = {}
|
67 |
for task in utils.Tasks:
|
68 |
+
print(task)
|
69 |
task = task.value
|
70 |
+
#print(task.value)
|
71 |
if isinstance(task.metric, str):
|
72 |
accs = np.array([v.get(task.metric, None) for k, v in data["results"].items() if
|
73 |
task.benchmark == k and isinstance(v, dict)])
|