Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
add-co2-column
#1014
by
alozowski
HF staff
- opened
- 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 |
|