Spaces:
Running
Running
XufengDuan
commited on
Commit
•
d96a992
1
Parent(s):
4592770
update scripts
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -66,7 +66,13 @@ class EvalResult:
|
|
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
|
|
|
66 |
results = {}
|
67 |
for task in utils.Tasks:
|
68 |
print(task)
|
69 |
+
|
70 |
task = task.value
|
71 |
+
print(task.benchmark)
|
72 |
+
print(task.metric)
|
73 |
+
|
74 |
+
print(task.col_name)
|
75 |
+
|
76 |
#print(task.value)
|
77 |
if isinstance(task.metric, str):
|
78 |
accs = np.array([v.get(task.metric, None) for k, v in data["results"].items() if
|