Tristan Thrush commited on
Commit
00e4e51
1 Parent(s): 2bb8a06

added option to select config and split

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def parse_metrics_rows(meta, from_autoeval=False):
52
  if not isinstance(result, dict) or "dataset" not in result or "metrics" not in result or "type" not in result["dataset"]:
53
  continue
54
  dataset = result["dataset"]["type"]
55
- row = {"dataset": dataset, "split": "-any-", "config": "-any-", "verified": from_autoeval}
56
  if "split" in result["dataset"]:
57
  row["split"] = result["dataset"]["split"]
58
  if "config" in result["dataset"]:
 
52
  if not isinstance(result, dict) or "dataset" not in result or "metrics" not in result or "type" not in result["dataset"]:
53
  continue
54
  dataset = result["dataset"]["type"]
55
+ row = {"dataset": dataset, "split": "-unspecified-", "config": "-unspecified-", "verified": from_autoeval}
56
  if "split" in result["dataset"]:
57
  row["split"] = result["dataset"]["split"]
58
  if "config" in result["dataset"]: