Amr Keleg commited on
Commit ·
2235669
1
Parent(s): 17680bc
Split the method name
Browse files
app.py
CHANGED
|
@@ -85,14 +85,12 @@ with tab1:
|
|
| 85 |
|
| 86 |
evaluation_metrics.append(
|
| 87 |
{
|
| 88 |
-
"Model Name": row["model_name"]
|
| 89 |
-
+ "\n("
|
| 90 |
-
+ row["inference_function"]
|
| 91 |
-
+ ")",
|
| 92 |
"Accuracy": macro_avg_accuracy,
|
| 93 |
"Recall": macro_avg_recall,
|
| 94 |
"Precision": macro_avg_precision,
|
| 95 |
"F1 score": macro_avg_f1,
|
|
|
|
| 96 |
"URL": f"https://huggingface.co/{row['model_name']}"
|
| 97 |
if ("shared task team" not in row["model_name"])
|
| 98 |
else SHARED_TASK_TEAMS[row["model_name"].split(" (")[0]],
|
|
@@ -116,6 +114,7 @@ with tab1:
|
|
| 116 |
"Precision",
|
| 117 |
"Recall",
|
| 118 |
"Accuracy",
|
|
|
|
| 119 |
"URL",
|
| 120 |
"Commit ID",
|
| 121 |
]
|
|
|
|
| 85 |
|
| 86 |
evaluation_metrics.append(
|
| 87 |
{
|
| 88 |
+
"Model Name": row["model_name"],
|
|
|
|
|
|
|
|
|
|
| 89 |
"Accuracy": macro_avg_accuracy,
|
| 90 |
"Recall": macro_avg_recall,
|
| 91 |
"Precision": macro_avg_precision,
|
| 92 |
"F1 score": macro_avg_f1,
|
| 93 |
+
"Inference Method": "row["inference_function"],
|
| 94 |
"URL": f"https://huggingface.co/{row['model_name']}"
|
| 95 |
if ("shared task team" not in row["model_name"])
|
| 96 |
else SHARED_TASK_TEAMS[row["model_name"].split(" (")[0]],
|
|
|
|
| 114 |
"Precision",
|
| 115 |
"Recall",
|
| 116 |
"Accuracy",
|
| 117 |
+
"Inference Method",
|
| 118 |
"URL",
|
| 119 |
"Commit ID",
|
| 120 |
]
|