Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update src/leaderboard/read_evals.py
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -31,6 +31,7 @@ class EvalResult:
|
|
31 |
num_params: int = 0
|
32 |
date: str = "" # submission date of request file
|
33 |
still_on_hub: bool = False
|
|
|
34 |
|
35 |
@classmethod
|
36 |
def init_from_json_file(self, json_filepath):
|
@@ -133,7 +134,7 @@ class EvalResult:
|
|
133 |
AutoEvalColumn.likes.name: self.likes,
|
134 |
AutoEvalColumn.params.name: self.num_params,
|
135 |
AutoEvalColumn.still_on_hub.name: self.still_on_hub,
|
136 |
-
|
137 |
}
|
138 |
|
139 |
# for task in Tasks:
|
|
|
31 |
num_params: int = 0
|
32 |
date: str = "" # submission date of request file
|
33 |
still_on_hub: bool = False
|
34 |
+
num_few_shots: int = 0
|
35 |
|
36 |
@classmethod
|
37 |
def init_from_json_file(self, json_filepath):
|
|
|
134 |
AutoEvalColumn.likes.name: self.likes,
|
135 |
AutoEvalColumn.params.name: self.num_params,
|
136 |
AutoEvalColumn.still_on_hub.name: self.still_on_hub,
|
137 |
+
AutoEvalColumn.num_few_shots.name: self.num_few_shots,
|
138 |
}
|
139 |
|
140 |
# for task in Tasks:
|