BertrandCabotIDRIS commited on
Commit
7e4447e
·
verified ·
1 Parent(s): 9dbed6f

Update src/leaderboard/read_evals.py

Browse files
Files changed (1) hide show
  1. src/leaderboard/read_evals.py +2 -2
src/leaderboard/read_evals.py CHANGED
@@ -32,7 +32,7 @@ class EvalResult:
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):
@@ -46,7 +46,7 @@ class EvalResult:
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
 
32
  date: str = "" # submission date of request file
33
  still_on_hub: bool = False
34
  rank: int = 0
35
+ time: float = 0. # total evaluation time in minute
36
 
37
  @classmethod
38
  def init_from_json_file(self, json_filepath):
 
46
  precision = Precision.from_str(config.get("model_dtype"))
47
 
48
  # Evaluation Time in minutes
49
+ time = float(config.get("total_evaluation_time_secondes", None)) / 60
50
 
51
 
52
  # Get model and org