Spaces:
Runtime error
Runtime error
Update src/display_models/read_results.py
Browse files
src/display_models/read_results.py
CHANGED
@@ -50,7 +50,7 @@ class EvalResult:
|
|
50 |
data_dict[AutoEvalColumn.model.name] = make_clickable_model(base_model)
|
51 |
data_dict[AutoEvalColumn.dummy.name] = base_model
|
52 |
data_dict[AutoEvalColumn.revision.name] = self.revision
|
53 |
-
data_dict[AutoEvalColumn.average.name] = sum([v for k, v in self.results.items()]) /
|
54 |
data_dict[AutoEvalColumn.still_on_hub.name] = (
|
55 |
is_model_on_hub(base_model, self.revision)[0] or base_model == "baseline"
|
56 |
)
|
|
|
50 |
data_dict[AutoEvalColumn.model.name] = make_clickable_model(base_model)
|
51 |
data_dict[AutoEvalColumn.dummy.name] = base_model
|
52 |
data_dict[AutoEvalColumn.revision.name] = self.revision
|
53 |
+
data_dict[AutoEvalColumn.average.name] = sum([v for k, v in self.results.items()]) / 5.0
|
54 |
data_dict[AutoEvalColumn.still_on_hub.name] = (
|
55 |
is_model_on_hub(base_model, self.revision)[0] or base_model == "baseline"
|
56 |
)
|