djstrong commited on
Commit
bc4548b
1 Parent(s): 522fdb5

move params column

Browse files
src/display/utils.py CHANGED
@@ -28,6 +28,7 @@ auto_eval_column_dict.append(["model_type_symbol", ColumnContent, ColumnContent(
28
  auto_eval_column_dict.append(["model", ColumnContent, ColumnContent("Model", "markdown", True, never_hidden=True)])
29
  auto_eval_column_dict.append(["lang", ColumnContent, ColumnContent("Lang", "str", True)])
30
  auto_eval_column_dict.append(["n_shot", ColumnContent, ColumnContent("n_shot", "str", True)])
 
31
  #Scores
32
  auto_eval_column_dict.append(["average", ColumnContent, ColumnContent("Average ⬆️", "number", True)])
33
  auto_eval_column_dict.append(["average_old", ColumnContent, ColumnContent("Average old", "number", False)])
@@ -41,7 +42,7 @@ auto_eval_column_dict.append(["architecture", ColumnContent, ColumnContent("Arch
41
  auto_eval_column_dict.append(["weight_type", ColumnContent, ColumnContent("Weight type", "str", False, True)])
42
  auto_eval_column_dict.append(["precision", ColumnContent, ColumnContent("Precision", "str", False)])
43
  auto_eval_column_dict.append(["license", ColumnContent, ColumnContent("Hub License", "str", False)])
44
- auto_eval_column_dict.append(["params", ColumnContent, ColumnContent("#Params (B)", "number", True)])
45
  auto_eval_column_dict.append(["likes", ColumnContent, ColumnContent("Hub ❤️", "number", False)])
46
  auto_eval_column_dict.append(["still_on_hub", ColumnContent, ColumnContent("Available on the hub", "bool", False)])
47
  auto_eval_column_dict.append(["revision", ColumnContent, ColumnContent("Model sha", "str", False, False)])
 
28
  auto_eval_column_dict.append(["model", ColumnContent, ColumnContent("Model", "markdown", True, never_hidden=True)])
29
  auto_eval_column_dict.append(["lang", ColumnContent, ColumnContent("Lang", "str", True)])
30
  auto_eval_column_dict.append(["n_shot", ColumnContent, ColumnContent("n_shot", "str", True)])
31
+ auto_eval_column_dict.append(["params", ColumnContent, ColumnContent("#Params (B)", "number", True)])
32
  #Scores
33
  auto_eval_column_dict.append(["average", ColumnContent, ColumnContent("Average ⬆️", "number", True)])
34
  auto_eval_column_dict.append(["average_old", ColumnContent, ColumnContent("Average old", "number", False)])
 
42
  auto_eval_column_dict.append(["weight_type", ColumnContent, ColumnContent("Weight type", "str", False, True)])
43
  auto_eval_column_dict.append(["precision", ColumnContent, ColumnContent("Precision", "str", False)])
44
  auto_eval_column_dict.append(["license", ColumnContent, ColumnContent("Hub License", "str", False)])
45
+
46
  auto_eval_column_dict.append(["likes", ColumnContent, ColumnContent("Hub ❤️", "number", False)])
47
  auto_eval_column_dict.append(["still_on_hub", ColumnContent, ColumnContent("Available on the hub", "bool", False)])
48
  auto_eval_column_dict.append(["revision", ColumnContent, ColumnContent("Model sha", "str", False, False)])
src/leaderboard/read_evals.py CHANGED
@@ -66,6 +66,7 @@ class EvalResult:
66
 
67
  org_and_model = re.sub(r"^pretrained=", "", org_and_model)
68
  org_and_model = org_and_model.replace(",trust_remote_code=True", "")
 
69
  org_and_model = re.sub(",prefix_token_id=\d+", "", org_and_model)
70
  org_and_model = re.sub("/$", "", org_and_model)
71
 
 
66
 
67
  org_and_model = re.sub(r"^pretrained=", "", org_and_model)
68
  org_and_model = org_and_model.replace(",trust_remote_code=True", "")
69
+ org_and_model = org_and_model.replace(",parallelize=True", "")
70
  org_and_model = re.sub(",prefix_token_id=\d+", "", org_and_model)
71
  org_and_model = re.sub("/$", "", org_and_model)
72