Spaces:
Running
Running
Update src/leaderboard/read_evals.py
Browse files
src/leaderboard/read_evals.py
CHANGED
@@ -32,6 +32,7 @@ class EvalResult:
|
|
32 |
date: str = "" # submission date of request file
|
33 |
still_on_hub: bool = False
|
34 |
rank: int = 0
|
|
|
35 |
|
36 |
@classmethod
|
37 |
def init_from_json_file(self, json_filepath):
|
@@ -44,6 +45,10 @@ class EvalResult:
|
|
44 |
# Precision
|
45 |
precision = Precision.from_str(config.get("model_dtype"))
|
46 |
|
|
|
|
|
|
|
|
|
47 |
# Get model and org
|
48 |
org_and_model = config.get("model_name", config.get("model_args", None))
|
49 |
org_and_model = org_and_model.split("/", 1)
|
|
|
32 |
date: str = "" # submission date of request file
|
33 |
still_on_hub: bool = False
|
34 |
rank: int = 0
|
35 |
+
time: float # total evaluation time in minute
|
36 |
|
37 |
@classmethod
|
38 |
def init_from_json_file(self, json_filepath):
|
|
|
45 |
# Precision
|
46 |
precision = Precision.from_str(config.get("model_dtype"))
|
47 |
|
48 |
+
# Evaluation Time in minutes
|
49 |
+
time = config.get("total_evaluation_time_secondes", None)
|
50 |
+
|
51 |
+
|
52 |
# Get model and org
|
53 |
org_and_model = config.get("model_name", config.get("model_args", None))
|
54 |
org_and_model = org_and_model.split("/", 1)
|