Spaces:
Runtime error
Runtime error
Commit
Β·
3c49dce
1
Parent(s):
167137b
format header markdwon
Browse files
app.py
CHANGED
|
@@ -120,10 +120,29 @@ def build_plot(min_score, max_models_per_month, toggle_annotations):
|
|
| 120 |
return fig
|
| 121 |
|
| 122 |
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 127 |
with gr.Row():
|
| 128 |
min_score = gr.Slider(
|
| 129 |
minimum=min_elo_score,
|
|
|
|
| 120 |
return fig
|
| 121 |
|
| 122 |
|
| 123 |
+
with gr.Blocks(
|
| 124 |
+
theme=gr.themes.Soft(
|
| 125 |
+
primary_hue=gr.themes.colors.sky,
|
| 126 |
+
secondary_hue=gr.themes.colors.green,
|
| 127 |
+
font=[
|
| 128 |
+
gr.themes.GoogleFont("Open Sans"),
|
| 129 |
+
"ui-sans-serif",
|
| 130 |
+
"system-ui",
|
| 131 |
+
"sans-serif",
|
| 132 |
+
],
|
| 133 |
+
)
|
| 134 |
+
) as demo:
|
| 135 |
+
gr.Markdown(
|
| 136 |
+
"""
|
| 137 |
+
<div style="text-align: center; max-width: 650px; margin: auto;">
|
| 138 |
+
<h1 style="font-weight: 900; margin-top: 5px;">π¬ Progress Tracker: Proprietary vs Open LLMs
|
| 139 |
+
</h1>
|
| 140 |
+
<p style="text-align: left; margin-top: 10px; margin-bottom: 10px; line-height: 20px;">
|
| 141 |
+
This app visualizes the progress of proprietary and open-source LLMs in the LMSYS Arena ELO leaderboard. The idea is inspired by <a href="https://www.linkedin.com/posts/maxime-labonne_arena-elo-graph-updated-with-new-models-activity-7187062633735368705-u2jB?utm_source=share&utm_medium=member_desktop">this great work</a> from <a href="https://huggingface.co/mlabonne/">Maxime Labonne</a>.
|
| 142 |
+
</p>
|
| 143 |
+
</div>
|
| 144 |
+
"""
|
| 145 |
+
)
|
| 146 |
with gr.Row():
|
| 147 |
min_score = gr.Slider(
|
| 148 |
minimum=min_elo_score,
|