Spaces:
Runtime error
Runtime error
trying fix 2
Browse files
app.py
CHANGED
@@ -122,7 +122,7 @@ def get_eval_results(repo):
|
|
122 |
task_summary = get_task_summary(results)
|
123 |
md_writer = MarkdownTableWriter()
|
124 |
md_writer.headers = ["Metric", "Value"]
|
125 |
-
md_writer.value_matrix = [["Avg.", results['Average ⬆️']]] + [[v["
|
126 |
|
127 |
text = f"""
|
128 |
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
|
|
|
122 |
task_summary = get_task_summary(results)
|
123 |
md_writer = MarkdownTableWriter()
|
124 |
md_writer.headers = ["Metric", "Value"]
|
125 |
+
md_writer.value_matrix = [["Avg.", results['Average ⬆️']]] + [[v["dataset_name"], v["metric_value"]] for v in task_summary.values()]
|
126 |
|
127 |
text = f"""
|
128 |
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
|