abhinav-joshi commited on
Commit
5107013
·
1 Parent(s): 998da49

fix model_type.value.name

Browse files
Files changed (1) hide show
  1. src/leaderboard/read_evals.py +10 -10
src/leaderboard/read_evals.py CHANGED
@@ -115,17 +115,17 @@ class EvalResult:
115
  data_dict = {
116
  "eval_name": self.eval_name, # not a column, just a save name,
117
  # AutoEvalColumn.precision.name: self.precision.value.name,
118
- AutoEvalColumn.model_type.name: self.model_type.value.name,
119
- AutoEvalColumn.model_type_symbol.name: self.model_type.value.symbol,
120
- AutoEvalColumn.weight_type.name: self.weight_type.value.name,
121
- AutoEvalColumn.architecture.name: self.architecture,
122
- AutoEvalColumn.model.name: make_clickable_model(self.full_model),
123
- AutoEvalColumn.revision.name: self.revision,
124
  AutoEvalColumn.average.name: average,
125
- AutoEvalColumn.license.name: self.license,
126
- AutoEvalColumn.likes.name: self.likes,
127
- AutoEvalColumn.params.name: self.num_params,
128
- AutoEvalColumn.still_on_hub.name: self.still_on_hub,
129
  }
130
 
131
  for task in Tasks:
 
115
  data_dict = {
116
  "eval_name": self.eval_name, # not a column, just a save name,
117
  # AutoEvalColumn.precision.name: self.precision.value.name,
118
+ # AutoEvalColumn.model_type.name: self.model_type.value.name,
119
+ # AutoEvalColumn.model_type_symbol.name: self.model_type.value.symbol,
120
+ # AutoEvalColumn.weight_type.name: self.weight_type.value.name,
121
+ # AutoEvalColumn.architecture.name: self.architecture,
122
+ # AutoEvalColumn.model.name: make_clickable_model(self.full_model),
123
+ # AutoEvalColumn.revision.name: self.revision,
124
  AutoEvalColumn.average.name: average,
125
+ # AutoEvalColumn.license.name: self.license,
126
+ # AutoEvalColumn.likes.name: self.likes,
127
+ # AutoEvalColumn.params.name: self.num_params,
128
+ # AutoEvalColumn.still_on_hub.name: self.still_on_hub,
129
  }
130
 
131
  for task in Tasks: