alozowski HF staff commited on
Commit
0f8c9a6
1 Parent(s): 711437e

add-model-generation (#906)

Browse files

- Add base_model and generation columns (d6cba973f09281f2739e2bfcaf0e01025fa6eb75)

Files changed (1) hide show
  1. src/display/utils.py +3 -0
src/display/utils.py CHANGED
@@ -125,6 +125,9 @@ auto_eval_column_dict.append(["maintainers_highlight", ColumnContent, ColumnCont
125
  # fullname structure: <user>/<model_name>
126
  auto_eval_column_dict.append(["fullname", ColumnContent, ColumnContent("fullname", "str", False, dummy=True)])
127
 
 
 
 
128
  # We use make dataclass to dynamically fill the scores from Tasks
129
  AutoEvalColumn = make_dataclass("AutoEvalColumn", auto_eval_column_dict, frozen=True)
130
 
 
125
  # fullname structure: <user>/<model_name>
126
  auto_eval_column_dict.append(["fullname", ColumnContent, ColumnContent("fullname", "str", False, dummy=True)])
127
 
128
+ auto_eval_column_dict.append(["generation", ColumnContent, ColumnContent("Generation", "number", False)])
129
+ auto_eval_column_dict.append(["base_model", ColumnContent, ColumnContent("Base Model", "str", False)])
130
+
131
  # We use make dataclass to dynamically fill the scores from Tasks
132
  AutoEvalColumn = make_dataclass("AutoEvalColumn", auto_eval_column_dict, frozen=True)
133