Spaces:
Runtime error
Runtime error
Aaron Mueller
commited on
Commit
·
89fa80a
1
Parent(s):
de60bd6
bugfixes
Browse files- .app.py.swp +0 -0
- app.py +0 -3
- src/display/utils.py +0 -7
.app.py.swp
ADDED
Binary file (20.5 kB). View file
|
|
app.py
CHANGED
@@ -20,10 +20,7 @@ from src.display.utils import (
|
|
20 |
EVAL_COLS,
|
21 |
EVAL_TYPES,
|
22 |
AutoEvalColumn,
|
23 |
-
ModelType,
|
24 |
fields,
|
25 |
-
WeightType,
|
26 |
-
Precision
|
27 |
)
|
28 |
from src.envs import API, EVAL_REQUESTS_PATH, EVAL_RESULTS_PATH, QUEUE_REPO, REPO_ID, RESULTS_REPO, TOKEN
|
29 |
from src.populate import get_evaluation_queue_df, get_leaderboard_df
|
|
|
20 |
EVAL_COLS,
|
21 |
EVAL_TYPES,
|
22 |
AutoEvalColumn,
|
|
|
23 |
fields,
|
|
|
|
|
24 |
)
|
25 |
from src.envs import API, EVAL_REQUESTS_PATH, EVAL_RESULTS_PATH, QUEUE_REPO, REPO_ID, RESULTS_REPO, TOKEN
|
26 |
from src.populate import get_evaluation_queue_df, get_leaderboard_df
|
src/display/utils.py
CHANGED
@@ -30,13 +30,6 @@ auto_eval_column_dict.append(["average", ColumnContent, ColumnContent("Average
|
|
30 |
for task in Tasks:
|
31 |
auto_eval_column_dict.append([task.name, ColumnContent, ColumnContent(task.value.col_name, "number", True)])
|
32 |
# Model information
|
33 |
-
auto_eval_column_dict.append(["model_type", ColumnContent, ColumnContent("Type", "str", False)])
|
34 |
-
auto_eval_column_dict.append(["architecture", ColumnContent, ColumnContent("Architecture", "str", False)])
|
35 |
-
auto_eval_column_dict.append(["weight_type", ColumnContent, ColumnContent("Weight type", "str", False, True)])
|
36 |
-
auto_eval_column_dict.append(["precision", ColumnContent, ColumnContent("Precision", "str", False)])
|
37 |
-
auto_eval_column_dict.append(["license", ColumnContent, ColumnContent("Hub License", "str", False)])
|
38 |
-
auto_eval_column_dict.append(["params", ColumnContent, ColumnContent("#Params (B)", "number", False)])
|
39 |
-
auto_eval_column_dict.append(["likes", ColumnContent, ColumnContent("Hub ❤️", "number", False)])
|
40 |
auto_eval_column_dict.append(["still_on_hub", ColumnContent, ColumnContent("Available on the hub", "bool", False)])
|
41 |
auto_eval_column_dict.append(["revision", ColumnContent, ColumnContent("Model sha", "str", False, False)])
|
42 |
|
|
|
30 |
for task in Tasks:
|
31 |
auto_eval_column_dict.append([task.name, ColumnContent, ColumnContent(task.value.col_name, "number", True)])
|
32 |
# Model information
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
auto_eval_column_dict.append(["still_on_hub", ColumnContent, ColumnContent("Available on the hub", "bool", False)])
|
34 |
auto_eval_column_dict.append(["revision", ColumnContent, ColumnContent("Model sha", "str", False, False)])
|
35 |
|