Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
eduagarcia
commited on
Commit
•
03f7287
1
Parent(s):
5fe4ee6
add datasources links on the about page
Browse files- src/display/about.py +9 -2
src/display/about.py
CHANGED
@@ -22,7 +22,7 @@ INTRODUCTION_TEXT = f"""
|
|
22 |
This is a fork of the <a href="https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard" target="_blank">🤗 Open LLM Leaderboard</a> with different benchmarks.
|
23 |
|
24 |
Submit a model for automated evaluation on our GPU cluster on the "Submit" page!
|
25 |
-
The leaderboard's backend runs the great [Eleuther AI Language Model Evaluation Harness](https://github.com/EleutherAI/lm-evaluation-harness) - read more details in the "About" page!
|
26 |
|
27 |
{SUPPORT_DESCRIPTION}
|
28 |
"""
|
@@ -30,7 +30,14 @@ task_count = 0
|
|
30 |
TASKS_LIST= ""
|
31 |
for task in Tasks:
|
32 |
task = task.value
|
33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
task_count += 1
|
35 |
|
36 |
TASKS_PARAMETERS = ""
|
|
|
22 |
This is a fork of the <a href="https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard" target="_blank">🤗 Open LLM Leaderboard</a> with different benchmarks.
|
23 |
|
24 |
Submit a model for automated evaluation on our GPU cluster on the "Submit" page!
|
25 |
+
The leaderboard's backend runs on a [fork](https://github.com/eduagarcia/lm-evaluation-harness-pt) of the great [Eleuther AI Language Model Evaluation Harness](https://github.com/EleutherAI/lm-evaluation-harness) - read more details in the "About" page!
|
26 |
|
27 |
{SUPPORT_DESCRIPTION}
|
28 |
"""
|
|
|
30 |
TASKS_LIST= ""
|
31 |
for task in Tasks:
|
32 |
task = task.value
|
33 |
+
data_sources = ""
|
34 |
+
for i, source in enumerate(task.sources):
|
35 |
+
if i == 0:
|
36 |
+
data_sources += " - Data sources: "
|
37 |
+
else:
|
38 |
+
data_sources += ", "
|
39 |
+
data_sources += f"[\\[{i+1}\\]]({source})"
|
40 |
+
TASKS_LIST += f'- <a href="{task.link}" target="_blank"> {task.col_name} </a> ({task.few_shot}-shot) - {task.description}{data_sources}\n'
|
41 |
task_count += 1
|
42 |
|
43 |
TASKS_PARAMETERS = ""
|