alozowski HF staff commited on
Commit
f4cb193
1 Parent(s): 62dbae1

add-co2-column (#1017)

Browse files

- Add C02 calculation button (2bb0d8de875eb5605d6e88d357785212287249e0)

Files changed (1) hide show
  1. src/display/utils.py +2 -0
src/display/utils.py CHANGED
@@ -128,6 +128,8 @@ auto_eval_column_dict.append(["fullname", ColumnContent, ColumnContent("fullname
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
 
 
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
+ auto_eval_column_dict.append(["co2_emissions_kg", ColumnContent, ColumnContent("CO₂ Emissions for Evaluation (kg)", "number", False)])
132
+
133
  # We use make dataclass to dynamically fill the scores from Tasks
134
  AutoEvalColumn = make_dataclass("AutoEvalColumn", auto_eval_column_dict, frozen=True)
135